Jump to content

Directly Uploading Images via FTP Permissions Issue


Recommended Posts

Hi, I'm having an issue directly uploading images via FTP. Let me explain...

 

Firstly I'm trialling StoreManager using their Direct Connection option hence why I'm not uploading images through the PS back office. However, one of my colleagues is uploading via PS and that's where the issue arises.

 

So firstly I changed all the file permissions in the www folder so my ftp user group can create folders and delete files but using this command:

 

find . -type f -exec chmod 664 {} \; && find . -type d -exec chmod 775 {} \;

 

Works perfectly until PS back office creates any new files or folders that StoreManager wants access to because those then don't have group permissions so only user www-data has write access.

 

I assume that allowing user www-data to connect via FTP is a major security issue so how can I get PS to set new files and folders it creates to 664 and 775?

 

Would this be the best solution?

 

Thanks

 

Nick

Edited by n_s_simpson (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...