LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-26-2003, 07:47 AM   #1
Eradicator
Member
 
Registered: Sep 2003
Posts: 44

Rep: Reputation: 15
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.
 
Old 09-26-2003, 08:00 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,733

Rep: Reputation: 5596Reputation: 5596Reputation: 5596Reputation: 5596Reputation: 5596Reputation: 5596Reputation: 5596Reputation: 5596Reputation: 5596Reputation: 5596Reputation: 5596
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.
 
Old 09-26-2003, 08:44 AM   #3
Eradicator
Member
 
Registered: Sep 2003
Posts: 44

Original Poster
Rep: Reputation: 15
Thanks for the advice! Quick as well :-)

I will make the change tonight and see what happens.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Added users: Access denied freakin'me Linux - General 1 10-08-2005 04:19 AM
Will 3rd distro be added to grub? wargod2293 Linux - Newbie 2 09-25-2005 09:38 PM
added hdb - want to access old data joel b Fedora 1 02-21-2005 02:02 AM
no access to devices with group access rights flipper333 Debian 2 12-28-2004 09:25 AM
Access rights sore Linux - Newbie 6 01-02-2003 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration