httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Moor" <>
Subject [users@httpd] Re: How to create file which can be deleted by other
Date Sun, 11 Jan 2004 20:53:05 GMT
>Andrus, I write apps in Perl and PHP mainly but I don't think the language
>used is relevant. At the time you create the file change the permissions to
>777, or the least restrictive you can arrange; e.g. if the other user can
>be put in the same group as the creator of the file then 664 might be


this is exactly what I tried to do by calling


before fopen().
For some strange reason, umask(0) makes file readable and writeable by all
but does not allow its deletion like umode 0777 shell command.

I don'nt know how to correct my C code to allow deletion.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message