[huskerlug] Re: Mount problems
- From: Ben Chavet <ben@xxxxxxxxxx>
- To: huskerlug@xxxxxxxxxxxxx
- Date: Sat, 14 Jun 2003 01:32:43 +0600
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
- Follow-Ups:
- [huskerlug] Re: Mount problems
- From: John P. DiMartino
- References:
- [huskerlug] Mount problems
- From: John P. DiMartino
- [huskerlug] Re: Mount problems
- From: Ben Chavet
- [huskerlug] Re: Mount problems
- From: John P. DiMartino
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: John P. DiMartino
- [huskerlug] Mount problems
- From: John P. DiMartino
- [huskerlug] Re: Mount problems
- From: Ben Chavet
- [huskerlug] Re: Mount problems
- From: John P. DiMartino