LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 04-24-2008, 03:05 AM   #1
mystic_durle12
Member
 
Registered: Feb 2005
Location: Pakistan
Distribution: Red Hat 9
Posts: 109

Rep: Reputation: 15
Trouble giving write access to non root users to the hard disk (FC-5)


hi fellows i have FC 5 installed on my system along with windows XP. i am trying to give write access to non root users but it doesnt seems to work. i edited Fstab for that. here it is

/dev/hda6 /mnt/Ddrive vfat rw 0 0

can anyone tell me why its not working?
 
Old 04-24-2008, 03:21 AM   #2
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware 14.1
Posts: 467

Rep: Reputation: 89
Probably the mounting permissions are correct, but you need to check the folder permissions and ownership as well. Can you give us the results of:-

#ls -ld /mnt/Ddrive
#ls -l /mnt/Ddrive/

Naturally we would only be interested in the permissions and ownership, not your personal files.
 
Old 04-25-2008, 12:02 AM   #3
mystic_durle12
Member
 
Registered: Feb 2005
Location: Pakistan
Distribution: Red Hat 9
Posts: 109

Original Poster
Rep: Reputation: 15
here is the output of two commnads

[Sama@localhost ~]$ ls -ld /mnt/D1_D
drwxr-xr-x 5 root root 8192 Jan 1 1970 /mnt/D1_D
[Sama@localhost ~]$ ls -l /mnt/D1_D/
total 24
drwxr-xr-x 2 root root 8192 Mar 2 19:27 found.000
drwxr-xr-x 3 root root 8192 Aug 25 2007 Recycled
drwxr-xr-x 5 root root 8192 Dec 7 2006 System Volume Information


can u tell whats wrong?
 
Old 04-25-2008, 12:11 AM   #4
mystic_durle12
Member
 
Registered: Feb 2005
Location: Pakistan
Distribution: Red Hat 9
Posts: 109

Original Poster
Rep: Reputation: 15
i think its because i dont have write permission on the directories i mount my drives on.
is that right. actually i am not regular user of FC but i love using it. Its just that i do job on microsoft technologies and i dont get to work on linux much but its still a passion with me.
 
Old 04-25-2008, 06:10 AM   #5
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware 14.1
Posts: 467

Rep: Reputation: 89
Correct.

Yet I am not sure if you can change these "attributes" on a vfat partition. You might have to Google around for answers. Nevertheless I would first try the usual ways with chmod and chown. Remember however that vfat does not support them, so probably they will not work.

I worked on FC4 and FC6 for quite some time, and I agree that it is fun, until I tried SuSe. Being hard-headed, I then installed Slackware (because everyone says it is the distro not to use) for good.
 
Old 04-26-2008, 12:55 AM   #6
mystic_durle12
Member
 
Registered: Feb 2005
Location: Pakistan
Distribution: Red Hat 9
Posts: 109

Original Poster
Rep: Reputation: 15
i got ur point. i will try that one. but thanx for giving direction.
i came to linux because of its speed, property that its light on resources and its customizability and none of its features have disappointed me yet. i plan to use FC 8 but only thing thats bothers me sometimes is that they (Fedora) doesnt give the support for the later releases. like they finished support for FC3,4. and every time when there is a new verision up there u have to upgrade ur system.
 
Old 06-03-2008, 07:44 AM   #7
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware 14.1
Posts: 467

Rep: Reputation: 89
I found the following in a Linux Magazine called Linux Format Issue 106 P110... Frequently asked questions....

add the following line in /etc/fstab:

dev/hda6 /mnt/D1_D vfat umask=000,uid=SAMA,gid=SAMA 0 0

Naturally you might need to update some fields according to your settings.

I hope it works.
 
  


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
samba not giving me write access hedpe Linux - Networking 2 02-15-2007 05:13 AM
Permissions: giving specific groups write access to a directory kinetik Linux - General 3 07-06-2006 09:30 AM
Giving Specific users access to the reboot command shassouneh Linux - Security 15 03-24-2004 06:10 PM
Giving users access to the system... TCasp77 Slackware 5 02-28-2004 02:18 PM
Giving regular users access to certain root-only commands slickrcbd Linux - Newbie 4 12-24-2003 08:27 AM


All times are GMT -5. The time now is 02:39 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration