Permissions
Michael Havens
plug-discuss@lists.plug.phoenix.az.us
Sun, 15 Dec 2002 22:00:22 -0700
On Sunday 15 December 2002 08:41 pm, J.Francois wrote:
> a umask of 022, for example, means "take away access permisions" like s=
o:
>
> 7 7 7 111 111 111
> - 0 2 2 000 010 010 <--- Here is your umask
> =3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> 7 5 5 111 101 101
> rwx r-x r-x
I get it. If you have a user with full permission you take away some. So =
then=20
a umask is actually related to a user shell and not a file's permission. =
This=20
means that if a shell hits a file with a umask it understands that its=20
permission does not apply. Or does would it happen that a company would a=
pply=20
permissions or a umask (ie. one or the other)?
Looking at your example I know that must be the way it is: one or the oth=
er.
Thanks for your help.
--=20
:-)~Mike~(-: