[plug] Unix file permission problem (I think)

Steve Boak sboak at westnet.com.au
Thu Jul 7 22:42:27 WST 2005


Hi all

I have a funny feeling that I will regret asking this, as it will become 
obvious to me as soon as I have pressed the send button...

I am trying to create a directory 'Linux' on a basically empty partition 
mounted on '/var/share/download', logged in as normal user 'steve'.

Here's the error message:

steve at min:/var/share/download$ mkdir Linux
mkdir: cannot create directory `Linux': Permission denied

I've checked the directory permissions:
steve at min:/var/share/download$ ls -ld /var/share/download
drwxrwxr-x  3 root share 4096 Jul  7 21:56 /var/share/download

I'm in the right group:

steve at min:/var/share/download$ groups steve
steve : steve audio dip share

There is plenty of room:

steve at min:/var/share/download$ df /var/share/download
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda8             20161172     32828  19104204   1% /var/share/download

Mount seems OK:

steve at min:/var/share/download$ mount
[...]
/dev/hda8 on /var/share/download type ext3 (rw)

I'm running debian stable (sarge), with a custom 2.6 kernel:
steve at min:/var/share/download$ uname -a
Linux min 2.6.12.2 #2 Tue Jul 5 11:53:33 WST 2005 i686 GNU/Linux

What have I missed?

Steve

P.S. if I chmod o+w the parent directory, (as root of course), I can create 
the new 'Linux' directory.



More information about the plug mailing list