> the /tmp sometimes gets its sticky bit set...
>
> # ls -ld /tmp
>
> will tell you what permissions are set at
>
> /tmp should read:
>
> [root@pbv01 ~]# ls -ld /tmp
> drwxrwxrwx 7 root root 4096 Dec 26 08:13 /tmp
>
> it may read, which would not allow file/directory creation (notice the
> 't' in the other's permissions, I think it comes up in other anyway...):
>
> drwxrwxrw*t* 7 root root 4096 Dec 26 08:13 /tmp
Considering that this is root running the script, the permissions on the
directory really don't matter.
And that file is actually in a subdirectory (created with mktemp(1) )
under /tmp. That subdirectory is not world-writable and/or sticky.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com
iax:guest@local.xorcom.com/tzafrir
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
No comments:
Post a Comment