version 1.209, 2002/11/23 18:29:21 |
version 1.210, 2002/12/13 10:20:25 |
|
|
|
|
# create Unix sockets directories for X if needed and make sure they have |
# create Unix sockets directories for X if needed and make sure they have |
# correct permissions |
# correct permissions |
if [ -d /usr/X11R6/lib ]; then |
if [ -d /usr/X11R6/lib ]; then |
for d in /tmp/.X11-unix /tmp/.ICE-unix ; do |
for d in /tmp/.X11-unix /tmp/.ICE-unix ; do |
if [ -d $d ]; then |
if [ -d $d ]; then |
if [ `ls -ld $d | cut -d' ' -f4` != root ]; then |
if [ `ls -ld $d | cut -d' ' -f4` != root ]; then |
chown root $d |
chown root $d |
fi |
fi |