[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mounting a windows partition with full access



* Dmitriy (ace22b@yahoo.com) [010903 02:01]:
> On Mon, Sep 03, 2001 at 10:02:03AM +0200, Guy Geens wrote:
> > >>>>> "ace22b" == ace22b  <ace22b@yahoo.com> writes:
> > 
> > >>>>> "Eduard" == Eduard Bloch wrote:
> > 
> > Eduard> Put "umask=000" to the other options in /etc/fstab. "man
> > Eduard> mount" will tell you more about needed options, eg. gid or
> > Eduard> uid.
> > 
> > ace22b> I know it's '000', but why ?
> > 
> > ace22b> Why not 666? I was rather puzzled by this a couple of years
> > ace22b> ago...
> > 
> > Umask is the `reverse' of the permissions. If a bit is set in the
> > umask, it means `don't set this bit in the permissions of a new
> > file/directory'.
> > 
> > So, using umask=0 will give you all permissions bits set.
> Ah, I c.
> 
> That makes sense. Thanks alot.

The reason is that it can't be used to "add" any permissions. You can
only mask out permissions to increase restrictions, but if a bit was
never set in the first place, umask never turns it on.

-- 
Vineet                                   http://www.anti-dmca.org
Unauthorized use of this .sig may constitute violation of US law.
echo Qba\'g gernq ba zr\!             |tr 'a-zA-Z' 'n-za-mN-ZA-M'

Attachment: pgp1AcvQeCA3b.pgp
Description: PGP signature


Reply to: