LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   added 3rd HD, access rights problem (https://www.linuxquestions.org/questions/linux-hardware-18/added-3rd-hd-access-rights-problem-97110/)

Eradicator 09-26-2003 07:47 AM

added 3rd HD, access rights problem
 
Hello,

Here is my setup:

IDE 1 HD1 2.5 gb (Master)
IDE 1 HD2 3.5 GB (Slave)
IDE 2 CDROM (Master)
IDE 2 HD3 3GB (Slave)

I am using the latest version of JAMD (based on RedHat).

My issue is with HD3 which I named HDD. I added the drive via the salve connector on the IDE cable. I also did this as root:

mkdir /mnt/hdd1
mount /dev/hdd1 /mnt/hdd1

and then added the following line to the /etc/fstab file:

/dev/hdd1 /mnt/hdd1 vfat defaults,gid=100,umask=0007 0 0

I can now set up a desktop icon for the drive and it shows it is mounted when I reboot but when I click on it it say something to the effect of "you do not have access rights to this location" (loged in as a regular user). If I use the console and go to the directory as root I can see the contents.

What did I do wrong or forget to configure? I am brand new to Linux with Windows exp since 3.1 and I must say this stuff seems much more difficult than Windows (at least setting up the new drive).

You help would be appreciated.

michaelk 09-26-2003 08:00 AM

Change umask=0007 to umask=000. This will allow anyone to read / write. Its negative logic 0= true so 007 would prohibit users not allow.

Eradicator 09-26-2003 08:44 AM

Thanks for the advice! Quick as well :-)

I will make the change tonight and see what happens.:)


All times are GMT -5. The time now is 05:15 PM.