l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
December 2: Social Gathering
Next Installfest:
TBA
Latest News:
Nov. 18: Officers elected
Page last updated:
2005 Aug 17 16:06
Events
 Meetings
 Installfests
 Demos
 Photos
Services
 Library
 LERT
 Jobs
 Documents
Interact
 Mailing Lists
 - Search
 - Archives
 Chat (IRC)
 Social Networks
About Us
 Members
 Projects
 Testimonials
 Call for Speakers
 Why Not MS?
 Finances
 Sponsors

^Home
?Search
?News & RSS
?Calendar
@Contact Us
$Buy Stuff
=Printable


The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] NFS mounting a VFAT filesystem - uid and gid issues?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] NFS mounting a VFAT filesystem - uid and gid issues?



Marc Elliot Hall wrote:

> #make /windows partition owned by user nobody and group webusers
> /dev/hda4 /windows vfat \
> rw,user,auto,gid=82,uid=501,umask=000 0 2

Okay, on "tiny", files on the partition should have UID 501, GID 82, and umask 000. Is that what actually happens?


However, although the data
appears to be properly available on "oracle" when I execute

$ mount tiny.hallmarc.net:/windows

the ownership of the directories and files remains slightly off (group
should be "webusers" based on *my* understanding of the mount options).

$ ls -la /var/www/

drwxrwx---    3 nobody   users       32768 Aug 16 18:30 tiny/
NFS communicates file ownership using UID and GID numbers, not names. On the host "oracle", what UID is "nobody"? What GID is "users"?

Your "mount" command there looks like it was done as a normal user. If you perform the mount as root, do the perms come out differently? FWIW, for ongoing use you're better off using an automounter such as amd, rather than putting it in fstab.
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
facebook
LUGOD Group on Facebook

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
1105 Kennedy Place, Suite 1, Davis, CA 95616
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
California Computer News
Who donated books and ad space.