LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   GDM changing permission of Garnome-script (https://www.linuxquestions.org/questions/linux-software-2/gdm-changing-permission-of-garnome-script-112567/)

lamekain 11-05-2003 03:43 AM

GDM changing permission of Garnome-script
 
Hey,

I have the following problem: I installed Gnome2.4 desktop via Garnome and got it up and running, but everytime I boot my machine something changes the Garnome exec-script I have in X11/gmd/Sessions into non-executable. So everytime I want to start Garnome after boot, I have to log in as root and change the file into an executable.. efficient, huh?
I can't figure what changes the file, but I got these from syslogs:

gdmgreeter[1743]: Wrong permissions on /etc/X11/gdm/Sessions//Garnome. Should be readable/executable for all.
gconfd (abuser-2048): Resolved address "xml:readonly:/usr/share/garnome/etc/gconf/gconf.xml.mandatory" to a read-only config source at position 0
gconfd (abuser-2048): Resolved address "xml:readonly:/usr/share/garnome/etc/gconf/gconf.xml.defaults" to a read-only config source at position 2 !

What do I have to do to make the script stay x for all?? Help wanted and needed..

BigNate 11-05-2003 06:26 AM

cd to the dir where the files are and type:

#chmod +xw file_name #for making things Writable and eXecutable or:

#chmos -xw file_name #for making things readonly. type:
#ls -l #thats LS -L (only lower case)

it will print to the screen a list of the files and (among other things the permissions of the files)

Is this what you are after?

lamekain 11-05-2003 10:32 AM

I've done that many times and it works. But everytime I boot the machine something changes the file from -wxr-xr-x into -rw-r--r-- . So everytime I want to start the Garnome-script after boot I first have to log in as root and change it into an executable, and then log out and log in with my standard user...


All times are GMT -5. The time now is 02:00 PM.