Group permissions problem

Tim Jackson tim.jackson at ints.com
Thu Feb 16 01:28:29 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



David Mummery 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

The bash_profile is sourced when you login to a shell like in
non-graphical tty1 or ssh. It is not read by starting an X session.
In the graphical login the /etc/X11/Xsession.d/ scripts set the
environment.  I don't know if it the proper way to do it but creating a
file in Xsession.d and setting umask in it will work for giving X window
session users a umask different then what sets the default.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD89U9gLVM9zV5AaMRAp3/AJ4zZGHp0KJZ49C3DqA1GF8XoTNxDQCffgct
v5G5zz9fc9KBnZkr7xH3bPI=
=U7TK
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list