Re: /tmp permissions, I don't get this...

2007-11-03 Thread Woodchuck
On Sat, 3 Nov 2007, Daniel wrote: > Hi! > > Case 1: > $ id > uid=1000(leva) gid=1000(leva) groups=1000(leva) > $ ls -ld /tmp/ > drwxwt 4 root wheel 512 Nov 3 13:05:03 2007 /tmp// > $ touch /tmp/test && ls -l /tmp/test > -rw-r- 1 leva wheel 0 Nov 3 13:09:04 2007 /tmp/test > $ rm /t

Re: /tmp permissions, I don't get this...

2007-11-03 Thread Daniel
On 2007. November 3. 15:13.29 Marc Espie wrote: > On Sat, Nov 03, 2007 at 01:14:20PM +0100, Daniel wrote: > > ^^^ I can not create the file in /tmp, although I got world write > > permissions to it. It seems if I'm in the wheel group and the wheel > > group owns the directory, then only the group p

Re: /tmp permissions, I don't get this...

2007-11-03 Thread Marc Espie
On Sat, Nov 03, 2007 at 01:14:20PM +0100, Daniel wrote: > ^^^ I can not create the file in /tmp, although I got world write > permissions to it. It seems if I'm in the wheel group and the wheel > group owns the directory, then only the group permissions counts? Yes, that's the way Unix permissi

Re: /tmp permissions, I don't get this...

2007-11-03 Thread Daniel
On 2007. November 3. 14:12.14 Antoine Jacoutot wrote: > On Sat, 3 Nov 2007, Daniel wrote: > > $ ls -ld /tmp/ > > drwxwt 4 root wheel 512 Nov 3 13:05:03 2007 /tmp// > > Why is your /tmp chmod this way? > It should be 1777 I thought this question would arise :D but I (while being completely

Re: /tmp permissions, I don't get this...

2007-11-03 Thread Antoine Jacoutot
On Sat, 3 Nov 2007, Daniel wrote: $ ls -ld /tmp/ drwxwt 4 root wheel 512 Nov 3 13:05:03 2007 /tmp// Why is your /tmp chmod this way? It should be 1777 -- Antoine

/tmp permissions, I don't get this...

2007-11-03 Thread Daniel
Hi! Case 1: $ id uid=1000(leva) gid=1000(leva) groups=1000(leva) $ ls -ld /tmp/ drwxwt 4 root wheel 512 Nov 3 13:05:03 2007 /tmp// $ touch /tmp/test && ls -l /tmp/test -rw-r- 1 leva wheel 0 Nov 3 13:09:04 2007 /tmp/test $ rm /tmp/test && ls -l /tmp/test ls: /tmp/test: No such file