Quote:
Originally Posted by TBennettcc
Why I can't create a directory when I supposedly have read and write access to the filesystem?
|
In the case of your spoiler:
I do not see where you reformatted /var/local after zeroing its meta-information.
Note: a cold start (full re-boot) will detect the zero'd partition and format it for you.
Several common possibilities:
1) on a Kindle, the mntroot script only changes the / partition, not any other partitions (here, /var/local is on another partition).
That script is a very early lab126 screw-up, never been fixed.
The author did not know you can "mount -o remount,rw" a file system that is already rw (or conversely, "mount -o remount,ro" a file system that is already ro) without harm.
In general:
2) The file system or backing store does not support write operations (why you can't write to a cramfs (or other ro) file system; why you can't write to write protected media (flash in the case of the Kindle, for instance the u-boot part of flash is write protected and hardware locked)).
3) The file system is not mounted read-write.
Note: if mounted errors=ro, then a file system command that errors will switch it to ro.
4) No write permission for the current user to the parent directory.