Group permissions problem

Derek Broughton news at pointerstop.ca
Wed Feb 15 18:59:43 UTC 2006


Al Gordon wrote:

> On 2/15/06, David Mummery <dmummery at accessit.co.uk> wrote:
>> Hi all -
>>
>> I'm setting up a multi-user LTSP environment based on Ubuntu.
>>
>> I need to have shared folders where users can save files e.g. openoffice
>> documents -  that others can then modify.
>>
>> I have set umask = 0002 in /etc/login.defs and in .bash-profile file for
>> a user. Logged out and logged in again.
>>
>> Umask is still 0022 (!)
>>
>> Even if I type umask 0002 in a shell ,and umask does change to 0002, I
>> still do not create files in openoffice with group read/write
>> permissions.
>>
>> Any ideas?
>>
>> David
> 
> I'm seeing similar problems on a network that I do a bit of admin'ing
> on.  The problem existed when the users were running SuSE, and
> continues with Ubuntu.  I'd love to know what the answer ends up
> being.  I think it has something to do with umask being (re)set when
> starting X.
> 
> If you create files from the command line after setting umask 0002, by
> using 'touch,' or whatever, do they have the permissions that you
> expect?

Check the user's .bash_profile - mine contains the lines:

# the default umask is set in /etc/login.defs
#umask 022

which rather implies that somewhere, on this or a previous distro's
installation, umask 022 used to be set by default.
-- 
derek





More information about the ubuntu-users mailing list