wood burning stoves*
The moose likes Linux / UNIX and the fly likes Ubuntu, umask, SNAFU?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Ubuntu, umask, SNAFU??" Watch "Ubuntu, umask, SNAFU??" New topic
Author

Ubuntu, umask, SNAFU??

Guy Allard
Ranch Hand

Joined: Nov 24, 2000
Posts: 776
I need to change the default umask for users that login to this box (fresh install).

I cannot seem to do that.

None of the following work:

--change /etc/profile
--change /etc/login.defs
--change ~/.bash_profile (individual user)

I am a Red Hat/Fedora type, what am I missing on this box?

Thanks, Guy
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

Ubuntu isn't reading /etc/profile but /etc/bash.bashrc by default.


http://home.arcor.de/hirnstrom/bewerbung
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ubuntu, umask, SNAFU??
 
Similar Threads
Java code for giving write permission to group(775)
Filewriter File permission
UNIXhow to ensure files created in a directory automatically has group "w" permission
umask question
Control of file/directory chmod and chown when copying in a .war file