Chmod Read-only File System Error
Contents |
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have
Chmod 777 Read Only File System
Meta Discuss the workings and policies of this site About Us Learn chmod changing permissions of read only file system more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask
Unable To Chmod Hosts Read Only File System
Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: chmod read only by owner Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Chmod error changing permission read only file system up vote 1 down vote favorite 1 I have three main partitions on my disc /dev/sda: /dev/sda1 2048 117186559 58592256 83 Linux /dev/sda2 117186560 128905215 chmod read only for others 5859328 82 Linux swap / Solaris /dev/sda3 * 128905216 324216831 97655808 7 HPFS/NTFS/exFAT /dev/sda4 324216832 1250263039 463023104 b W95 FAT32 /dev/sda3 is a Windows 7 partition and /dev/sda4 is a FAT32 partition where I keep my data. My problem is that yesterday I can't write on /dev/sda4 and when I tried to change the file permissions I get an error: $ sudo chmod 777 /media/fourat/74A7-A44E/ chmod: changing permissions of ‘74A7-A44E/’: Read-only file system mount output: /dev/sda1 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) none on /sys/fs/cgroup type tmpfs (rw) none on /sys/fs/fuse/connections type fusectl (rw) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) udev on /dev type devtmpfs (rw,mode=0755) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755) none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880) none on /run/shm type tmpfs (rw,nosuid,nodev) none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755) none on /sys/fs/pstore type pstore (rw) systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd) gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=fourat) /dev/sda4 on
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings
Chmod Read Only Root
and policies of this site About Us Learn more about Stack Overflow the chmod read only group company Business Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags Users
Chmod Read Only To Write
Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes http://askubuntu.com/questions/572579/chmod-error-changing-permission-read-only-file-system a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Can't apply chmod to a file up vote 14 down vote favorite 5 I have a file on my HDD, cd /media/celebisait/5AC69788C6976355 There is my file called myFile.tar.gz. I do als -l, -rw------- 2 celebisait celebisait http://unix.stackexchange.com/questions/110256/cant-apply-chmod-to-a-file 1387745311 Jun 6 2013 myFile.tar.gz Everything seems fine. However, when I do, $ sudo chmod 755 myFile.tar.gz I do not have any errors but nothing happens, i.e., when I do ls -l again, I get the same output, -rw------- 2 celebisait celebisait 1387745311 Jun 6 2013 myFile.tar.gz Chmod does not change.. Why? PS: I use Ubuntu 13.04. Edit: $ cd /media/celebisait/5AC69788C6976355 $ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 89873576 42976028 42325544 51% / none 4 0 4 0% /sys/fs/cgroup udev 16436736 4 16436732 1% /dev tmpfs 3289260 920 3288340 1% /run none 5120 0 5120 0% /run/lock none 16446280 764 16445516 1% /run/shm none 102400 52 102348 1% /run/user /dev/sda1 94759 2208 92551 3% /boot/efi /dev/sdb1 767999996 541212516 226787480 71% /media/celebisait/5AC69788C6976355 /dev/sdb2 767999996 1466472 766533524 1% /media/celebisait/54D09DBDD09DA5B0 Edit 2: $ cd /media/celebisait/5AC69788C6976355 $ mount /dev/sda2 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) none on /sys/fs/cgroup type tmpfs (rw) none on /sys/fs/fuse/connections type fusectl (rw) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) none on /sys/firmware/efi/efivars type efivarfs (rw)
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn http://unix.stackexchange.com/questions/79309/filesystem-suddenly-read-only more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges http://superuser.com/questions/782847/changing-permissions-of-read-only-file-system-in-linux Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Filesystem suddenly read-only? up vote read only 1 down vote favorite I've been storing some files on a MicroSD formatted to ext4 that I connect via USB. I tried to move a directory in it to an external hard drive, and I got mv: error reading ‘/mnt/sd/Directory/xyz.mp3’: Input/output error. I tried to chmod -R 777 the mount point of the sd (as root), and I got chmod: changing permissions of ‘sd/Directory/xyz.mp3’: Read-only file system. I never did anything to make the filesystem read-only, and I've had chmod read only no trouble with it before. The only thing that I can think of that's changed is the SD is usually /dev/sdb1, and it was /dev/sdc1 this time. Running Arch Linux in Virtualbox on a Windows 7 host. filesystems permissions ext4 readonly share|improve this question edited Oct 29 '15 at 7:16 SHW 5,47922145 asked Jun 13 '13 at 16:30 tkbx 1,53252133 1 This is probably the first sign that the SD card is dying. You can try to zero out the drive and try again. Keep an eye on the syslog. If the IO errors occur again, I wouldn't trust the card anymore and rather buy a new one. –Marco Jun 13 '13 at 17:12 @Marco - not necessarily. I've had problems before with USB storage devices becoming read-only for a variety of reasons. Often times a reboot would fix the issue, which seemed to be with either the software mounting it or an underlying driver. –slm♦ Jun 13 '13 at 17:41 can you share dmesg logs. –Raza Jun 13 '13 at 19:46 add a comment| 1 Answer 1 active oldest votes up vote 3 down vote The default action of any mounted device when getting a serious I/O error, unless changed at mount time, is to drop out from its normal R/W mode to Read ONLY mode. It does this to allow you to attempt to access what
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top changing permissions of Read-only file system in linux up vote 1 down vote favorite 1 i use this command to make a bootable flash disk of linux mint sudo dd if=~/Desktop/linuxmint.iso of=/dev/sdx oflag=direct bs=1048576 it's work, but now my flash disk is lock and i can't change file on it now this file is on flash disk dr-xr-xr-x 1 ahmad ahmad 2048 May 13 02:24 boot dr-xr-xr-x 1 ahmad ahmad 2048 May 13 02:24 casper dr-xr-xr-x 1 ahmad ahmad 2048 May 13 02:23 dists dr-xr-xr-x 1 ahmad ahmad 2048 May 13 02:24 EFI dr-xr-xr-x 1 ahmad ahmad 8192 May 13 02:24 isolinux -r--r--r-- 1 ahmad ahmad 21495 May 13 02:24 MD5SUMS dr-xr-xr-x 1 ahmad ahmad 2048 May 13 02:23 pool dr-xr-xr-x 1 ahmad ahmad 2048 May 13 02:24 preseed -r--r--r-- 1 ahmad ahmad 220 May 13 02:24 README.diskdefines i try sudo chmod 777 * on my disk but it don't work linux file-permissions dd share|improve this question asked Jul 14 '14 at 8:05 Ebrahimi 108114 migrated from stackoverflow.com Jul 14 '14 at 8:09 This question came from our site for professional and enthusiast programmers. 1 You can't change permissions on a ISO 9660 filesystem. –Ignacio Vazquez-Abrams Jul 14 '14 at 8:10 add a comment| 2 Answers 2 active oldest votes up vote 1 down vote accepted However you can write your resulting /dev/sdX device. After you are done with dd as you