Re: umask - chmod - sticky bit

Corey Hart <[email protected]>
Newsgroups gmane.linux.redhat.release.psyche
Message-ID <[email protected]>
I have my umask set correctly yes, but what I need is when users save a file in
/shared lets say that the file permissions on the file get set to 660, the user
default umask is 007.

Cameron Simpson wrote:

> On 11:59 06 Aug 2003, Corey Hart <[email protected]> wrote:
> | I have a shared directory where I would like every file underneath it to get
> | created with the following permissions
> |
> | chmod 660 (ug+rw) or umask 007
> |
> | but I can not figure out a way to do this short of having cron run everyone 5
> | minutes chmod -R the directory and everything underneath it.
> |
> | My users default umask is 077.
>
> All you can do is change your users' umask.
> If your groups are set up right (every user has their own group) a umask
> of 007 should be fine.
> --
> Cameron Simpson <[email protected]> DoD#743
> http://www.cskk.ezoshosting.com/cs/
>
> ...when my mood gets too hot and I find myself wandering beyond control I pull
> out my motor-bike and hurl it at top speed through these unfit roads for hour
> after hour. My nerves are jaded and gone near dead, so that nothing less than
> hours of voluntary danger will prick them into life... - T.E. Lawrence 1923
>
> --
> Psyche-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/psyche-list

--
----
Corey Hart
Systems/Security Analyst
St. Edward's University
[email protected]
512/428-1038 - voice
512/448-8492 - fax
512/470-8462 - cell



-- 
Psyche-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/psyche-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.