configuration file permissions
Olivier Fourdan
fourdan at xfce.org
Thu Jul 17 20:52:31 CEST 2003
Edscott,
xfce-mcs-manager doesn't use libxml2.
Cheers,
Olivier.
On Thu, 2003-07-17 at 20:38, edscott wilson garcia wrote:
> El jue, 17-07-2003 a las 12:34, Olivier Fourdan escribió:
> > Bernhard,
> >
> > Hey, you're right! That's a bug.
>
> It seems a libxml2 bug. To work around I've simple added a
> chmod(rcfile,0644); after writing the configuration in xffm. The other
> modules could be fixed likewise.
>
> saludos
>
> Edscott
> >
> > 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
>
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://moongroup.com/mailman/listinfo/xfce4-dev
--
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