Most FTP programs can support the changing of permissions of files or folders on a linux hosting package.
If you have a linux hosting plan on cp.blacknight.com you can change the permissions of any files or folders you created via FTP or the File Manager through the File Manager itself:
Websites > domainname > File Manager
In the file manager, navigate to the file folder you want to change permissions on, right click it and select 'get info'. A popup will appear where you can edit the permissions.
Notes on linux file permissions:
- Folders should typically have 755 or rwxr-xr-x permissions
- Files should typically have 644 or rw-r--r-- permisions
- This allows the file\folder creator (typically your FTP user) full access to the folder\file and everyone else to read\access the file\folders
- If you need apache (the webserver if running php in apache mode) to upload or make changes to a file or folder you need to give it 777 (or 666 for a file) permissions. Please note that this should only be applied to the specific folders or files that your php application needs write access to as it gives global read\write permission to that folder or file.
This is done through the "File Manager" - Websites >> Domain Name >> File Manager >> Right-Click on the file or folder in question >> Get Info >> You will want to give the "Anonymous Web user" and\or "Application pool identity account" write access to the file or folder.
The "Anonymous Web user" will allow a PHP application to write to the files\folders
The "Application pool identity account" allows an ASP.net application to write to the files\folders