Jump to content

permission issues with folders and files


scottybowl

Recommended Posts

I'm writing a piece of code which allows people to upload files to the server. I've written an additional piece of code which automatically creates folders if they don't exist.

Everything works as expected as far as creating folders and placing files on the server, but if I try to FTP in to the folders, I am unable to delete the files or the folders (or change permissions etc) as I do not have the permission to edit them.

It looks as though the permission has been set to root, and not the account that I am creating the folders/files on..

Any ideas?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.