Hi all!
I did look for several posts before deciding to post this one.
This topic is important as is regarding to file system and data access security.
All I want to do is to be able to protect all my files, in my home at least, with something like 750 by default, meaning:
Owner: Read (Files and Directories), Write (Files and Directories) and Execute (Files and Directories)
Group: Read (Files and Directories) and Execute (Directories only)
Other: Go away!!!
I read about using the umask entry in ~/.login_conf so I added something like:
me:\
:umask=027:
and executed
$ cap_mkdb ~/.login_conf
Log off and login again and executed
$ touch test
and the file got like
-rw-r--r--
instead of
-rw-r-----
the created a test_dir and it got this
drwxr-xr-x
instead of
drwxr-x---
Seems the umask isn't working at all.
What's the best way to grant these privileges?
Thank you.
I did look for several posts before deciding to post this one.
This topic is important as is regarding to file system and data access security.
All I want to do is to be able to protect all my files, in my home at least, with something like 750 by default, meaning:
Owner: Read (Files and Directories), Write (Files and Directories) and Execute (Files and Directories)
Group: Read (Files and Directories) and Execute (Directories only)
Other: Go away!!!
I read about using the umask entry in ~/.login_conf so I added something like:
me:\
:umask=027:
and executed
$ cap_mkdb ~/.login_conf
Log off and login again and executed
$ touch test
and the file got like
-rw-r--r--
instead of
-rw-r-----
the created a test_dir and it got this
drwxr-xr-x
instead of
drwxr-x---
Seems the umask isn't working at all.
What's the best way to grant these privileges?
Thank you.