[RHCE] umask
somnath123s
somnath123s at softhome.net
Tue Jun 29 14:16:51 EDT 2004
On Tue, 2004-06-29 at 19:58, Jon Carnes wrote:
> On Mon, 2004-06-28 at 22:22, somnath123s wrote:
> > hey everyone!!
> >
> > is there any way to give "umask" separately to files and directory?
> >
>
> That doesn't make sense to me. Umask sets the default rights mask for
> newly created files and directories. It doesn't make sense to apply it
> to already created files.
na..na...
i think once you set "umask" in any of your startup script, that will be
applied to files and directories both.b,coz that will affect the default
FAP value for files and directories, for priviledged users as well as
non-priviledged user.
now if i want to set "umask (user mask)" value for only and only files
OR only and only for directories, can i ? this my question.
>
> You want the file/directory rights to stay the same as they currently
> are set?
>
> If you are using Samba to access the files or directories you can use
> the "force" option to force various rights and ownerships.
>
> You can also use the chattr command to set some interesting rights. Use
> lsattr to view those rights.
>
>
>
> _______________________________________________
> RHCE at trilug.org Mailing list
> http://www.trilug.org/mailman/listinfo/rhce
> Archives for the RHCE list:
> http://www.trilug.org/pipermail/rhce
More information about the RHCE
mailing list