[CS-FSLUG] Mounted filesystem permissions

David McGlone david at dmcentral.net
Thu Dec 3 06:32:31 CST 2009


On Thursday 03 December 2009 00:29:24 Robert Wohlfarth wrote:
> On Wed, Dec 2, 2009 at 11:25 PM, Dave & Ella McMullen 
<DavidM at hisfeet.net>wrote:
> > Do you need to have that partition as vfat? vfat partitions don't do well
> > with permissions.
> > .            Dave McMullen
> >
> > David McGlone wrote:
> > > I have an extra partition on my computer that I use for a personal web
> > > server
> > > to do PHP development and I am having a problem changing permissions on
> > > files
> > > on that partition.
> > >
> > > Here's how I have this partition set up:
> > > fstab entry:
> > >
> > > /dev/sda5  /home/david/www  vfat  user,auto  0  0
> 
> VFAT permissions are fixed when you mount the partition. See the man page
> for "mount". You will need the umask, dmask, and/or fmask options under
>  FAT. Add these to your fstab:
> 
> /dev/sda5  /home/david/www  vfat  user,auto,umask=777  0  0
> 

When I use umask=777 in my fstab line, I'm not able to use the server at all. 
It's weird. I get a 403 error and Apache says:

Forbidden
You do not have permission to access / on this server.

I'm wondering if there is something else I need to change in order to be able 
to use the umask line.

-- 
Blessings
David M.
I have been driven to my knees many times by the overwhelming conviction that 
I had nowhere else to go.




More information about the Christiansource mailing list