|
weird: directory permissions change inadvertently
Just recently I have a weird problem with some of my harddisk partitions, some are in vfat and others ext2 and ext3.
Usually I boot up and login as root to do some heavy file shifting, which of course means write permissions as I'm deleting some stuff.
In the beginning it's fine (I'm in as root after all). But then I go into midnight commander for something and all of a sudden I lose write (and therefore delete) permissions to one or two of the directories, some of which are rather full, I should add.
When I "ls -l" these directories they have chmod 755 and stuff though I set to chmod 777 to make sure but still no joy.
Now, I've never understood umask, but I feel that some sort of global variable is being changed. Or else it's that these directories are too full, because this unusual dynamic effect doesn't happen with the emptier directories.
Anybody any clues? Cheers.
Last edited by stabu; 12-01-2006 at 05:26 AM.
|