Amiga.org
The "Not Quite Amiga but still computer related category" => Alternative Operating Systems => Topic started by: motorollin on July 31, 2007, 08:23:27 AM
-
I have just set up an Ubuntu 7.04 box as a file server, created a raid 5 array and got it mounted. Initially we were having problems getting access to the Samba share, but then realised that the user we were authenticating as didn't even have local access to the folder.
My entry in fstab was as follows:
/dev/md0 /mnt/raid ext3 defaults 1 2
I then tried changing it to:
/dev/md0 /mnt/raid ext3 rw,users 1 2
and also moving the mount point to /media/raid, but still get permission denied when cd-ing to the directory. The strange thing is that when the drive is mounted in /media/raid an icon appears on the user's desktop for the drive and is read-only, but not read-write (which it needs to be).
I then tried doing this:
# su
# cd /media/raid
# chown .
but still no joy. What am I missing?
TIA
--
moto
-
Ok all sorted - went in to the properties of the mount point folder and set the permissions in there. Blx to the command line I say :lol:
--
moto
-
In the context of a directory, the "x" permission means you can go to the directory (since an executable directory makes no sense hehe).
If you do chmod +rwx on the directory, you'll be able to enter it.
Some other permissions act different on directories than files. For example, +s on a file makes the file setuid, while +s on a directory means all files in the dir inherit the owner of the directory.