Search found 2 matches

by pennywaffer
Sun Oct 26, 2003 12:46 pm
Forum: PHP - Code
Topic: ownership problems
Replies: 2
Views: 459

thanks for the reply! I kind of solved the problem already, it turned out it had something to with a safemode bug in php. I found info on it here: http://bugs.php.net/bug.php?id=24604 I fixed it this way: I added this line before every mkdir(); call in my script: $old_umask = umask(0); I'm not exact...
by pennywaffer
Sun Oct 26, 2003 11:13 am
Forum: PHP - Code
Topic: ownership problems
Replies: 2
Views: 459

ownership problems

This is more of a Unix-related problem, but maybe you guys now how to fix it. I have a php script that creates some directories and files on my server. The script then assigns itself as the sole owner of the files, prohibiting me from modifiying or removing them afterwards. So the only way I can rem...