chmod 666 ///

Jim Cornette fc-cornette at insight.rr.com
Sat Apr 5 03:14:27 UTC 2008


Tim wrote:
> On Fri, 2008-04-04 at 13:48 -0700, Bruce Hyatt wrote:
>> In that case, it seems odd to me that executing "chmod 777 ///"
>> didn't allow me to startx. 
> 
> If /tmp isn't "drwxrwxrwt" then it'll fail to start.  Using chmod 777
> doesn't set "t".
> 
> That one got me, ages ago, when I copied an installation to a new drive,
> and forgot to set the permissions properly for /tmp.
> 

Correction, /root, /lost+found and others have various permissions.

  ls -la
total 194
drwxr-xr-x  24 root root  4096 2008-04-04 20:29 .
drwxr-xr-x  24 root root  4096 2008-04-04 20:29 ..
-rw-r--r--   1 root root     0 2008-04-04 20:29 .autofsck
drwxr-xr-x   2 root root  4096 2008-04-04 22:08 bin
drwxr-xr-x   5 root root  1024 2008-04-04 22:45 boot
drwxr-xr-x  13 root root  3840 2008-04-04 20:31 dev
drwxr-xr-x 144 root root 12288 2008-04-04 22:54 etc
drwxr-xr-x   7 root root  4096 2008-03-27 12:34 home
drwxr-xr-x  14 root root 12288 2008-04-04 21:47 lib
drwx------   2 root root 16384 2007-06-02 19:22 lost+found
drwxr-xr-x   3 root root  4096 2008-03-02 10:38 .mc
drwxr-xr-x   2 root root  4096 2008-04-04 20:31 media
dr-xr-xr-x   2 root root  4096 2007-06-04 06:42 misc
drwxr-xr-x   3 root root  4096 2008-03-27 12:34 mnt
dr-xr-xr-x   2 root root  4096 2007-06-05 06:07 net
drwxr-xr-x   3 root root  4096 2008-03-27 12:34 opt
dr-xr-xr-x 138 root root     0 2008-04-04 20:28 proc
drwxr-x---  22 root root  4096 2008-04-04 20:35 root
drwxr-xr-x   2 root root 12288 2008-04-04 21:30 sbin
drwxr-xr-x   7 root root     0 2008-04-04 20:28 selinux
drwxr-xr-x   7 root root  4096 2008-03-27 12:34 srv
drwxr-xr-x  11 root root     0 2008-04-04 20:28 sys
drwxrwxrwt  36 root root  4096 2008-04-04 23:09 tmp
drwxr-xr-x  15 root root  4096 2008-03-29 08:31 usr
drwxr-xr-x  24 root root  4096 2008-03-29 08:31 var

Jim

-- 
A city is a large community where people are lonesome together
		-- Herbert Prochnow




More information about the users mailing list