l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2005 Aug 18 08:48

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?

On Wed, Aug 17, 2005 at 04:06:40PM -0700, Jan W wrote:
> Hi Marc:
> I think the permissions on /var/www/tiny is your problem.
> Try chmod 775 (world read and execute) /var/www/tiny so that apache (or
> whatever user/group that apache runs as) can read from your mounted
> directory.

As you can see, that's not going to help: 

  marc@oracle $ sudo chmod -R ugo+r /var/www/tiny
  marc@oracle $ sudo chmod -R o+x /var/www/tiny
  marc@oracle $ ls -la /var/www/tiny/
  total 68
  drwxrwx---    3 nobody   users       32768 Aug 18  2005 ./
  drwxr-xr-x   13 root     root         4096 Aug 16 17:38 ../
  drwxrwx---    3 nobody   users       32768 Aug 16 08:15 data/

Changing ownership results in a similar problem (with a more explicit

  marc@oracle $ chown marc.webusers /var/www/tiny
  chown: changing ownership of `/var/www/tiny': Operation not permitted

  marc@oracle $ sudo chown marc.webusers /var/www/tiny
  chown: changing ownership of `/var/www/tiny': Operation not permitted
Because the NFS mounted partition is VFAT rather than EXT3 (like the 
rest of the non-swap filesystems mounted on oracle), Unix permissions
don't apply except as specified at mount time. And, since NFS doesn't
permit modification of uid, gid, and umask parameters, I have to accept
whatever host "tiny" has configured in /etc/fstab...

> Or, you could set apache to run as nobody:users, since that is the
> user/group owner of your mounted directory.

Changing Apache's uid and gid is not an option, as several virtual hosts
and a large number of mod_perl/cgi processes are tied into the current
> jan

Hey, those ideas were at least worth trying ;-) 

I'm starting to think, though, that what I really need to do is change
the filesystem type from VFAT to EXT3. I was hoping to avoid that :-( 

Marc Elliot Hall
621 River Moss Drive
St. Peters, MO 63376
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD 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
PO Box 2082, Davis, CA 95617
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:
Sunset Systems
Who graciously hosts our website & mailing lists!