configuration file permissions

Olivier Fourdan fourdan at xfce.org
Thu Jul 17 19:36:27 CEST 2003


Bernhard,

Hey, you're right! That's a bug.

Cheers,
Olivier.

On Thu, 2003-07-17 at 19:16, Bernhard Walle wrote:
> Hello,
> 
> following issue: the configuration (XML) files created by xfce have
> executable permissions:
> 
> [~/.xfce4/settings] $ ll
> insgesamt 52k
> -rwx------    1 bwalle   users         417 12. Jul 13:07 backdrop.xml
> -rwx------    1 bwalle   users         610 17. Jul 09:40 gtk.xml
> -rwx------    1 bwalle   users         278  4. Jul 10:57 keyboard.xml
> -rw-r--r--    1 bwalle   users           8  1. Jul 20:35 ls-iconbox.txt
> -rwx------    1 bwalle   users         920  1. Jul 20:36 ls-iconbox.xml
> -rwx------    1 bwalle   users         337 17. Jul 17:10 margins.xml
> -rwx------    1 bwalle   users         340 17. Jul 09:40 mouse.xml
> -rwx------    1 bwalle   users         424 14. Jul 21:47 session.xml
> -rwx------    1 bwalle   users         453 15. Jul 09:37 taskbar.xml
> -rwx------    1 bwalle   users         232 17. Jul 17:10 workspaces.xml
> -rw-r--r--    1 bwalle   users         135 17. Jul 17:10 xfce-settings.xml
> -rwx------    1 bwalle   users        1.0k 28. Jun 13:49 xffm.xml
> -rwx------    1 bwalle   users        1.2k  4. Jul 13:52 xfwm4.xml
> 
> Why? The problem is that some file managers (including xffm) try to
> execute this files instead of opening them in a text editor.
> 
> I think the permissions should be 666 & umask, i.e. 644 in a normal
> environment with umask 0022.
> 
> Regards,
> Bernhard
-- 
Olivier Fourdan - fourdan at xfce.org
   
   Interoperability is the keyword, uniformity is a dead end. 
   http://www.xfce.org






More information about the Xfce4-dev mailing list