Public bug reported:

Binary package hint: gconf2

Ubuntu 9.10
gconf2 2.28.0-0ubuntu2

update-gconf-defaults relies on users umask when creating new files.
I think that the tool should know that the files must be readable by all users 
to set their policy.
I encountered this problem using cfengine that executes update-gconf-defaults 
with umask 700.
-----
umask 077

cat > /usr/share/gconf/mandatory/90_gnome-screensaver <<EOF
/apps/gnome-power-manager/lock/blank_screen true
/apps/gnome-power-manager/lock/use_screensaver_settings false
/apps/gnome-screensaver/idle_delay 20
/apps/gnome-screensaver/lock_enabled true
/apps/gnome-screensaver/logout_enabled true
/desktop/gnome/session/idle_delay 18
EOF
chmod 644 /usr/share/gconf/mandatory/90_gnome-screensaver

update-gconf-defaults --manatory

ls -s /var/lib/gconf/debian.mandatory/%gconf-tree.xml
-rw------- 1 root root 741 2010-04-28 16:37 
/var/lib/gconf/debian.mandatory/%gconf-tree.xml

-----

** Affects: gconf2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
update-gconf-defaults permissions on create 
https://bugs.launchpad.net/bugs/574354
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to