On Wed, Dec 26, 2007 at 06:12:13PM -0500, dave cantera wrote:
> the /tmp sometimes gets its sticky bit set...
> 
>     # ls -ld /tmp
> 
> will tell you what permissions are set at
> 
> /tmp should read:
> 
> [EMAIL PROTECTED] ~]# 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:[EMAIL PROTECTED]
+972-50-7952406           mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to