You are not logged in.

#1 2010-02-09 01:15:58

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Modifying UMASK on Arch

I use my /home/$USER directory as a basic dumping ground for all my files and utilities. I like all my files and folders to be owner by me and want to be private. I don't use Samba or NFS so I don't worry about share permissions. I was wondering if it's dangerous to change the system wide umask configuration to 077 from 022? I want the permissions on all directories to have the 700 permissions by default. Will this create any system wide problems? I know I could simply add this in ~/.bashrc file to avoid this being system wide but I am just curious. Any info?


./

Offline

#2 2010-02-09 01:34:23

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,410
Website

Re: Modifying UMASK on Arch

My guess is that you should be fine...

Offline

#3 2010-02-11 06:52:45

PirateJonno
Forum Fellow
From: New Zealand
Registered: 2009-04-13
Posts: 372

Re: Modifying UMASK on Arch

I think sudo will use your user-defined umask (check to be sure though), so be careful when creating/copying system files with it

Last edited by PirateJonno (2010-02-11 06:53:13)


"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page

Offline

#4 2010-02-11 17:26:32

sctincman
Member
From: CO (USA)
Registered: 2009-04-08
Posts: 85

Re: Modifying UMASK on Arch

I'm thinking that blocking group read access might fuddle somethings up. You could create a new group for yourself as your main group with no one else in it, and set the system wide umask to 027. That way, your files are owned by (username):(username) and only you'd have read/write access

Or, set system wide to 027, and set yours to 077 in .bashrc

Offline

Board footer

Powered by FluxBB