[plug] Unix file permission problem (I think)
Bernd Felsche
bernie at innovative.iinet.net.au
Fri Jul 8 07:42:27 WST 2005
Steve Boak <sboak at westnet.com.au> writes:
>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
Permissions on /var/share (and /var) have "execute" for the "share"
group?
>I'm in the right group:
>steve at min:/var/share/download$ groups steve
>steve : steve audio dip share
You're not "steve"? :-)
Did you su to that account?
>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?
The directory already exists?
>P.S. if I chmod o+w the parent directory, (as root of course), I
>can create the new 'Linux' directory.
--
/"\ Bernd Felsche - Innovative Reckoning, Perth, Western Australia
\ / ASCII ribbon campaign | I'm a .signature virus!
X against HTML mail | Copy me into your ~/.signature
/ \ and postings | to help me spread!
More information about the plug
mailing list