Re: umask - chmod - sticky bit

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

 



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 <chart@xxxxxxxxxxxxxxxxxx> 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 <cs@xxxxxxxxxx> 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
> Psyche-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/psyche-list

--
----
Corey Hart
Systems/Security Analyst
St. Edward's University
coreyh@xxxxxxxxxxxxxxxxxxx
512/428-1038 - voice
512/448-8492 - fax
512/470-8462 - cell



-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux