Re: [opensuse] umask



On Wed January 31 2007 13:52, David Mayr wrote:
Am Mittwoch, 31. Januar 2007 19:16 schrieb Charles philip Chan:
On 31 Jan 2007, evan.ingram@xxxxxxxxxxxx wrote:
Can someone tell me where i set a umask permanently. Websites ive
looked at point towards .profile or .login but i cant find anything
like this. I'm running 10.0.

(1) System wide: /etc/profile.local

(2) per user: ~/.bash_profile or ~/.profile

(3) per filesystem: set "umask=value" in /etc/fstab

from "man fstab":

# umask=value
# Set the umask (the bitmask of the permissions that are not
present). # The default is the umask of the current process. The
value is # given in octal.

These answers are great for local native *nix filesystems but the OP inquired
about providing local network clients equal u+g rw ("shared") access to an
nfs mounted "folder" without specifying what kind of filesystem that "folder"
is stored in, who does the mounting at either end, when that occurs or even
how... :-/ That's why I pointed him to Google with a tested search
phrase. :-)

Carl
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: [opensuse] umask
    ... looked at point towards .profile or .login but i cant find anything ... # Set the umask. ...
    (SuSE)
  • Re: systemwide umask definition?
    ... to me as i cant follow this list from ... > wide umask for my sarge system. ... What did you do to believe that the umask setting wasn't working? ...
    (Debian-User)
  • Re: systemwide umask definition?
    ... to me as i cant follow this list from ... > wide umask for my sarge system. ... What did you do to believe that the umask setting wasn't working? ...
    (Debian-User)
  • Re: emacs installs a lot of 777 directories
    ... Are you doing make install as a user and letting the port escalate ... Login via tty as root, check umask and install port ...
    (FreeBSD-Security)
  • Re: File Sharing (again - sorry, Pd)
    ... dempson@xxxxxxxxxxxxx (David Empson) wrote: ... when you login though the GUI? ... you can set the umask to 002. ...
    (uk.comp.sys.mac)