setting a umask
Karl
Karl.Vanwynsberghe at telenet.be
Sun May 7 08:03:16 UTC 2006
Karl schreef:
> Serg B. schreef:
>> Howdy all,
>> It could be that I have reset a default umask in the past but now I
>> noticed that user home directory (/home/<user>) has the following
>> permissions: 0755.
>>
>> How can make it so a default home directory permission (when account is
>> created) is set to something like 0700 without the need to change it
>> manually? What file do I need to edit etc?
>>
>> Also while on the topic, is there a setting that I need to edit to apply
>> default permissions to files and directories that are being created.
>>
>> I know that a umask can be set from $HOME/.bashrc but want to know if
>> there are any global files that do that.
>>
>> Thanks,
>> Serg
>>
>>
>>
> you can set the permissions by using the chmod and chown command...
> chmod: change mod ==> Read Write Execute
> chown: change owner ==> Owner.Group
>
> Of course, you need root rights, use sudo.
>
> Karl,
>
>
Concerning umask...
Umask settings for users are normally set in /etc/profile
umask 777 ==> new files are'nt getting Read Write or Excecute permissions
Set your rights by substracting the rights you need from 777.
Karl
More information about the kubuntu-users
mailing list