I am having truble with file permissions.
I am creating directories using 0775.
mkdir($path,0775);
This works fime and allows me to delete it fro my ftp program. The problem occurs when I copy files into that directory.
umask(002);
copy(old,new);
Even if I do not use umask I get the same error - 550 permission denied - and changing permissions is also not allowed.
What is going on here?
[bb]
I am creating directories using 0775.
mkdir($path,0775);
This works fime and allows me to delete it fro my ftp program. The problem occurs when I copy files into that directory.
umask(002);
copy(old,new);
Even if I do not use umask I get the same error - 550 permission denied - and changing permissions is also not allowed.
What is going on here?
[bb]