[huskerlug] Re: Mount problems
- From: "John P. DiMartino" <john_dimartino@xxxxxxx>
- To: huskerlug@xxxxxxxxxxxxx
- Date: 14 Jun 2003 01:41:50 -0500
Actually, I ended up using umask as a mount option... here is a sample
of my fstab file.
/dev/hda1 /mnt/WindowsXP ntfs
iocharset=8859-1,sync,codepage=850,noauto,exec 0 0
/dev/hdb1 /mnt/FTP vfat auto,user,rw,umask=0000 0 0
(ignore the wrap around)
This seems to work fine - all my users have permissions that they need.
Thanks again for your help - you mentioning dmask made me think of umask
- but as you said, they are very similar so I could have used either I
suppose.
Later,
John
On Fri, 2003-06-13 at 14:32, Ben Chavet wrote:
> Well, I don't think that umask is a mount option, but if you're talking about
> the umask command, it works a lot like the fmask & dmask options. It forces
> any
> files or directories you create to have the permission mask given to the umask
> command.
>
> From the bash man page:
>
> umask [-p] [-S] [mode]
> The user file-creation mask is set to mode. If mode begins with
> a digit, it is interpreted as an octal number; otherwise it is
> interpreted as a symbolic mode mask similar to that accepted by
> chmod(1). If mode is omitted, the current value of the mask is
> printed. The -S option causes the mask to be printed in sym-
> bolic form; the default output is an octal number. If the -p
> option is supplied, and mode is omitted, the output is in a form
> that may be reused as input. The return status is 0 if the mode
> was successfully changed or if no mode argument was supplied,
> and false otherwise.
>
>
>
>
> Quoting "John P. DiMartino" <john_dimartino@xxxxxxx>:
>
> > Thanks for the help. I used to know that but forgot :).
> >
> > Anyway - is umask the same as dmask and fmask except that umask works
> > with the subtraction of permissions?
> >
> > Thanks,
> > John
> >
> >
> > On Thu, 2003-06-12 at 11:20, Ben Chavet wrote:
> > > use dmask and fmask. set them to 770 or 777 if you want all users to have
> > > read/write access.
> > >
> > > Quoting "John P. DiMartino" <john_dimartino@xxxxxxx>:
> > >
> > > > I have a computer that dual boots Mandrake 9.1 and WinXP. I also run FTP
> > > > servers on both (they have users with passwords, chrooted). I keep
> > > > running into a problem though. I can't seem to give access to my
> > > > windows mounts to all users. I know I can add the line uid=500 so that
> > > > one user can use the drive, but what is the fstab line to give EVERYBODY
> > > > access to that drive? This is what I had - and I thought it worked but
> > > > it doesn't.
> > > >
> > > > /dev/hda1 /mnt/FTP vfat auto,user,rw 0 0
> > > >
> > > > I also tried
> > > >
> > > > /dev/hda1 /mnt/FTP vfat defaults 0 0
> > > >
> > > > ... do you guys have any hints as to what I am doing wrong?
> > > >
> > > > Thanks
> > > > John
> > > >
> > > >
> > > >
> > > >
> > > > ----
> > > > Husker Linux Users Group mailing list
> > > > To unsubscribe, send a message to huskerlug-request@xxxxxxxxxxxxx
> > > > with a subject of UNSUBSCRIBE
> > > >
> > > >
> > >
> > >
> > >
> > > ----
> > > Husker Linux Users Group mailing list
> > > To unsubscribe, send a message to huskerlug-request@xxxxxxxxxxxxx
> > > with a subject of UNSUBSCRIBE
> > >
> > >
> >
> >
> > ----
> > Husker Linux Users Group mailing list
> > To unsubscribe, send a message to huskerlug-request@xxxxxxxxxxxxx
> > with a subject of UNSUBSCRIBE
> >
> >
>
>
>
> ----
> Husker Linux Users Group mailing list
> To unsubscribe, send a message to huskerlug-request@xxxxxxxxxxxxx
> with a subject of UNSUBSCRIBE
>
>
----
Husker Linux Users Group mailing list
To unsubscribe, send a message to huskerlug-request@xxxxxxxxxxxxx
with a subject of UNSUBSCRIBE
- Follow-Ups:
- [huskerlug] Re: Mount problems
- From: Ben Chavet
- References:
- [huskerlug] Mount problems
- From: John P. DiMartino
- [huskerlug] Re: Mount problems
- From: Ben Chavet
- [huskerlug] Re: Mount problems
- From: John P. DiMartino
- [huskerlug] Re: Mount problems
- From: Ben Chavet
Other related posts:
- » [huskerlug] Mount problems
- » [huskerlug] Re: Mount problems
- » [huskerlug] Re: Mount problems
- » [huskerlug] Re: Mount problems
- » [huskerlug] Re: Mount problems
- » [huskerlug] Re: Mount problems
- [huskerlug] Re: Mount problems
- From: Ben Chavet
- [huskerlug] Mount problems
- From: John P. DiMartino
- [huskerlug] Re: Mount problems
- From: Ben Chavet
- [huskerlug] Re: Mount problems
- From: John P. DiMartino
- [huskerlug] Re: Mount problems
- From: Ben Chavet