LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-18-2003, 07:48 PM   #1
correro
Member
 
Registered: Oct 2002
Distribution: RedHat 8.0
Posts: 140

Rep: Reputation: 15
Access attributes & ownership on FAT filesystem


Change of access attributes (with "chmod") and ownership (with "chown") is not permitted for files/folders on a FAT filesystem. Is this correct? If so, is there anyway to get around it?
 
Old 03-18-2003, 07:55 PM   #2
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
That's probably because FAT has no concept of ownership. It does support some access attributes, but with FAT everything is "owned" by one user (since Win95/98/etc. are all basically single-user OSes).

You can change the owner of the entire filesystem when you mount it, however, by either passing options to mount, or modifying /etc/fstab. Check out the mount manpage for more info. (in particular, the user, owner, and umask options come to mind as being potentially useful here)
 
Old 03-18-2003, 08:04 PM   #3
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Add umask=000 to the options in /etc/fstab, this is how mine looks,
Code:
/dev/hda1    /mnt/win98    vfat    auto,users,rw,umask=000    0   0
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Use of FAT filesystem pwardy Linux - Software 5 01-31-2005 01:57 PM
Need help from a FileSystem Expert (for SDcard FAT) theYinYeti Linux - Hardware 4 10-04-2004 04:09 AM
grant user access to /fat-c & copying users' preferences to another user n0x Linux - Newbie 1 07-04-2004 12:04 AM
3 issues: Making swap, fixing partitions, changing ownership of mounted filesystem. Dunedain Linux - Newbie 2 01-27-2004 03:52 PM
Changing ownership of mounted filesystem jhansman Red Hat 4 09-11-2003 12:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:08 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
Open Source Consulting | Domain Registration