Hi all, I have a problem with loosing permission to delete or change permissions of self created files and folders. When i run a php script that uses fopen command to create files and folders, the user it is done under looses permission to delete that self created folder or file. e.g. the php script creates a few directories and files generated from the install script of the php application. e.g. /logs I then also get an error saying fopen cannot open stream failed to open such a file etc etc. So when i go to the files and folders using ftp i can see the folders but no files are generated as it says it needs permission "fopen" After trying this php application a few times i sacked it off and just wanted to delete the folders that had been "self generated" and it says in ispconfig web-ftp "The directory must be empty and you must own write permissions" so i tried deleting the folders and files within the directory and it says the same to the lowest directory level. I hope you can understand what i mean. Ive waffled around the houses a bit. Thanks for any help here. One other thing, would i be better of with a different distribution of Linux as im using Ubuntu Server 8?