Re: help setting umask corrently

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

 



Hi.
found the info I needed to get it correct

http://en.wikipedia.org/wiki/Umask

   0 – read, write and execute
   1 – read and write
   2 – read and execute
   3 – read only
   4 – write and execute
   5 – write only
   6 – execute only
   7 – no permissions

so I ended up with umask 003


Thanks

On Tue, Mar 15, 2011 at 4:09 PM, Chris Adams <cmadams@xxxxxxxxxx> wrote:
> Once upon a time, Gregory Machin <gdm@xxxxxxxxxxxxxx> said:
>> I have a hack that sets the usmak for users in /etc/bashrc
>>
>> umask -S u=rwx,g=rwx,o=r
>>
>> The problem with this is that at logon it echo's "u=rwx,g=rwx,o=r"
>> out.
>
> You are telling umask to print the value with the "-S".  Take it out.
>
> I will say that is a rather odd umask value.
>
> --
> Chris Adams <cmadams@xxxxxxxxxx>
> Systems and Network Administrator - HiWAAY Internet Services
> I don't speak for anybody but myself - that's enough trouble.
> --
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux