public folder file permissions
Gavin McCullagh
gmccullagh at gmail.com
Thu Apr 19 10:53:04 BST 2007
Hi,
On Thu, 19 Apr 2007, Gavin McCullagh wrote:
> http://wiki.debian.org/DebianDesktopHowTo
>
> So, open /etc/login.defs and find the line:
>
> #UMASK 022
>
> remove the # and change to 002. Again I haven't tested this, but it sounds
> like that should work.
Indeed, it goes on to say:
"There is currently a bug (Bug #336214) in gdm which will prevent the umask
settings above from working if you are using gdm (the Debian default) as
your login manager. To work around this bug, edit /etc/gdm/Xsession and add
the line
umask 002"
and now that I've tested that, the bug seems to remain in Ubuntu too.
The difficulty is to add the umask change in such a way that no matter what
type of session someone starts, the umask setting gets applied. Looking at
the way ldm works (it promises to run /etc/profile) I would've guessed
umask in /etc/profile would work on your thin clients, though possibly not
if you logged directly in on the server or an installed edubuntu desktop
(which doesn't get started in the same way).
Adding it near the top of /etc/gdm/Xsession will probably set the umask for
local logins. Thin client logins should hopefully be fixed by
/etc/profile, but if not, you might add a line near the top of
/etc/X11/Xsession.
Let us know how you get on. It might be nice to add something on this to
the edubuntu wiki.
Gavin
More information about the edubuntu-users
mailing list