File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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.
I agree. Here's the link:
subject: Ubuntu, umask, SNAFU??
It's not a secret anymore!