Re: SETEDIT: bugs
Brought to you by:
set
From: Thiago F.G. A. <tf...@za...> - 2001-10-13 19:51:47
|
I have something to add about this. It happened again after I send this report. But this time it had nothing to do with being root or at the home directory. I was logged as myself and I was in a "regular" directory (I mean, not home), with some files, a desktop and a project file. I was doing something at the shell, then I started the editor and a message box poped up saying "Wrong desktop file". Then I exited the editor and started to investigate to see what happened. I found out that the desktop and the project files in the current directory and the desktop file in my home directory were truncated to 0 bytes. I am absolutely clueless as to what may have caused this. It doesn't happen everytime, but it happens once in a while. It happened twice. Thiago On 11/10/01 17:38:41, salvador wrote: >Thiago wrote: >> >> When I run setedit as root, my options are overwriten (Don't make >backups, Don't save desktop >> >> files, ...) They go back to the defaults. >> > >> >Sorry but I don't understand it, please clarify. The user `root' have >their own settings. >> >> Ok. Here's exactly what I did. I was logged as 'thiago': >> >> su root >> e >> exit >> >> After this, the options of user 'thiago' go back to the defaults. > >I couldn't reproduce it, but I have an idea of what could happend. >I think your user have a central desktop file and it was stored in ~/ Yes, this is correct. >And I think your root isn't using a central desktop file so you used su >when you were in /home/thiago. Then the root loaded the default desktop >file for Thiago and at exit saved it as root. So then you tried to run >the editor as thiago, as the file was owned by root and was read-only the >editor said "Wrong desktop file", and then you needed to delete the desktop >file losing your configuration. >That's the only situation I could generate, and is fixed in 0.4.49 because >now the default desktop file is stored in ~/.setedit avoiding such a mess. |