views:

28

answers:

1

I have a plesk panel and root dedicated server on 1and1. I'm using custom programed php script to upload the files and create the folders to server. I have the upload folder named upload_data_folder with the 777 permission.

The scenario is the following: I want to create folder in my upload_data_folder and than upload files in that newly crated folder. I'm doing this over php script so every file or folder that I create has apache user and the group as the owner.

  1. I'm successfully crate the folder in my upload_data_folder and that folder is owned by apache, has apache as a group and has 777 premission. Then When I try to upload some files to that newly created folder It can't.

I think the problem is with some owner permission but if anyone has some idea what this can be I would be very grateful

A: 

It was my custom made script. huuu I solved the problem. The php safe mode was turned on. After I turned it off everything works perfectly.

Danilo