SF.net SVN: morphix: [2181] trunk/scripts-main/init/init.d

[email protected]
Newsgroups gmane.linux.morphix.cvs
Message-ID <[email protected]>
Revision: 2181
Author:   alextreme
Date:     2006-03-29 11:31:06 -0800 (Wed, 29 Mar 2006)
ViewCVS:  http://svn.sourceforge.net/morphix/?rev=2181&view=rev

Log Message:
-----------
  * possible user-homedir permission fix

Modified Paths:
--------------
    trunk/scripts-main/init/debian/changelog
    trunk/scripts-main/init/init.d/X11-startx
Modified: trunk/scripts-main/init/debian/changelog
===================================================================
--- trunk/scripts-main/init/debian/changelog	2006-03-28 21:28:47 UTC (rev 2180)
+++ trunk/scripts-main/init/debian/changelog	2006-03-29 19:31:06 UTC (rev 2181)
@@ -1,3 +1,9 @@
+morphix-init (0.4-12) unstable; urgency=low
+
+  * added possible fix for homedir-not-being-writable
+
+ -- root <[email protected]>  Wed, 29 Mar 2006 21:30:19 +0200
+
 morphix-init (0.4-11) unstable; urgency=low
 
   * added possible fix for DISPLAY not found

Modified: trunk/scripts-main/init/init.d/X11-startx
===================================================================
--- trunk/scripts-main/init/init.d/X11-startx	2006-03-28 21:28:47 UTC (rev 2180)
+++ trunk/scripts-main/init/init.d/X11-startx	2006-03-29 19:31:06 UTC (rev 2181)
@@ -9,6 +9,8 @@
 export DISPLAY=:0.0
 su -c "export DISPLAY=:0.0" - $USER
 
+chown -R $USER /home/$USER
+
 if [ -n "$WINDOWMANAGER" ]; then
     su -c "exec /usr/bin/X11/startx" - $USER
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.