Linux:
Most FTP programs can support the changing of permissions of files or folders on a linux hosting package.
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.
Comments
0 comments
Article is closed for comments.