Re: Gnome 2.2 with normal user - More info



Maybe a note about umask should be in the FAQ. Just enough for newbies.

On Fri, 2003-02-14 at 14:16, Core wrote:
> Cheeze whiz!!
> 
> Do you really want to have all the normally non-executable files
> executable? NO YOU DONT!!!
> 
> If you umask is set accordingly the executables should already be
> executable by everyone.
> 
> Otherwise, I suggest something like
> 
> # chmod -R a+r /root/garnome
> # find /root/garnome | xargs ls -ld \
> | grep "^...x" | awk '{print $9}' | xargs chmod a+x
> 
> At least I think that's right. Don't do it untill you test it.
> 
> On Fri, 2003-02-14 at 12:31, Daniel Serodio wrote:
> > Move /root/garnome to /opt/garnome and chmod -R a+rx /opt/garnome.
> > 
> > []'s
> > Daniel
> > 
> > On Fri, 2003-02-14 at 16:15, Tiago Cruz wrote:
> > > Peaple, more info:
> > > 
> > > In /etc/opt/gnome2/gdm/Sessions directory I create "garnome":
> > > =======================================================================
> > > #!/bin/sh
> > > GARNOME=/root/garnome
> > > 
> > > PATH=$GARNOME/bin:$PATH
> > > LD_LIBRARY_PATH=$GARNOME/lib:$LD_LIBRARY_PATH
> > > PYTHONPATH=$GARNOME/lib/python2.2/site-packages
> > > PKG_CONFIG_PATH=$GARNOME/lib/pkgconfig:/usr/lib/pkgconfig
> > > GDK_USE_XFT=1
> > > 
> > > export PATH LD_LIBRARY_PATH PYTHONPATH PKG_CONFIG_PATH GDK_USE_XFT
> > > exec $GARNOME/bin/gnome-session
> > > =======================================================================
> > > 
> > > 
> > > But the message apear +-:
> > > 
> > > Do you not have permission to /root/garnome/bin/gnome-session
> > > 
> > > If I move /root/garnome to /opt/garnome and chmod 777 her work?
> > > 
> > > Thank's
> > > Tiago Cruz
> > -- 
> > Daniel Serodio <daniel checkforte com br>
> > CheckForte
> -- 
> Core <core enodev com>
-- 
Core <core enodev com>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]