Originally Posted by
matt_symes
Hi
Excellent explanation bab1.
As for umask though..
I was under the impression this was now handled by pam_umask in Ubuntu; i may be wrong though.
As for samba, i will be setting up my own samba server over the weekend so kudos to all of you who posted. It will help me out as well
Kind regards
I just set up another Samba server (10.04.3). I set the umask in /etc/profile. It was 022 (the ubuntu default). When I set it to 002 all the files created are now rw-rw-r--
... In looking at the man pages the first thing that jumps out at me is
Code:
PAM_UMASK(8) Linux-PAM Manual PAM_UMASK(8)
NAME
pam_umask - PAM module to set the file mode creation mask
SYNOPSIS
pam_umask.so [debug] [silent] [usergroups] [umask=mask]
DESCRIPTION
The PAM module tries to get the umask value from the following places
in the following order:
· umask= argument
· umask= entry of the users GECOS field
...
The umask argument here (in red) is, I believe, set via /etc/profile.
My umask argument isThis is not the default, but as I set it in /etc/profile.
Bookmarks