severity 315327 important retitle 315327 Don't die when .config is not a directory thanks
On Wed, Jun 22, 2005 at 02:57:49PM +0200, Cyril Mougel wrote: > Cyril Brulebois wrote: > >Cyril Mougel <[EMAIL PROTECTED]> (22/06/2005): > >> (xfce-mcs-manager:5371): libxfce4util-WARNING **: Invalid > >> XDG_CONFIG_HOME directory `/home/shingara/.config', program may > >> behave incorrectly. > >> ** (xfce-mcs-manager:5371): CRITICAL **: backdrop_settings.c: > >> Unable to migrate settings/backdrop.xml to new location (error > >> opening target file for writing) > >> zsh: segmentation fault xfce-mcs-manager It shouldn't segfault certainly but I don't agree that this is RC. > >since .config is a file in the present case, and not a directory, it > >causes different troubles as mentionned above. > > > >I then suggest that: > > * check the type of files with a `test`-like function: regular files, > > symlinks, directory... > > * be more explicit in the second message. Example: tell the (full) > > location of the target file, which could help finding out the > > problem. And indicate the error number/description could help too > > (then no more use playing with strace ;-)). > I found with Cyril Brulebois where the problem was. In fact my file > .config is my kernel config. This name is the default name of a kernel > config. Since it's a hidden file, it can easily be forgotten in the > home directory. I moved this file and my problem was then closed, a > directory .config/ made with the xfce file's configuration. > This problem can be frequent, and I agree with Cyril Brulebois's > proposition. I'll forward this upstream later today. Thanks for the report. Simon -- ... debian-legal "consensus" is worth approximately all of the lint currently residing in my belly button. -- Brian Nelson
signature.asc
Description: Digital signature