LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-20-2006, 03:39 AM   #1
keithdj
LQ Newbie
 
Registered: Aug 2005
Location: New Zealand
Distribution: Fedora 4.0
Posts: 27

Rep: Reputation: 15
problem with permissions on vfat drives


I have two hard drives that were installed in a win xp box, the win xp box died, so I moved the drives to my linux box. I have figured out how to mount them, and can access the drives from any user, and remotely over my home network BUT.....

The owner / group is root and it won't let me change them, and the permissions for the drive and its sub directories are full for root, and read / execute for group and others, and it wont let me changes these either.

I have tried changing these via the gui, and command line, but it doesn't work.

Any ideas ?
 
Old 04-20-2006, 03:51 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
You can only change them from root user. If you su to root, use "su -" (especially if SELinux is enabled). That may help.

You can also use the mount options for vfat in fstab, I seem to recall a similar issue I'd solved this way. I think umask=0000 gives 0777 permissions to everything. You can also use options uid= and gid= to change the owner and group for all files on the volume.

see manpages for mount(8) and fstab(5). Have fun.
 
  


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
Mounting vfat drives johannlo Linux - General 2 07-04-2005 11:09 PM
vfat permissions problem JBB Linux - Newbie 5 03-03-2005 01:38 PM
vfat drives and garnome tfdml37 Linux - Software 5 02-28-2004 02:11 PM
Permissions problem in mounted vfat partition SparceMatrix Linux - Security 3 04-04-2003 05:19 PM
Permissions problem in mounted vfat partition SparceMatrix Linux - General 2 02-17-2003 03:49 PM


All times are GMT -5. The time now is 09:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration