|
Sometimes it's useful to enable visitors to your site to upload
content, for example, photos, which can then be displayed on the site. Folders
on a website, for example, an images folder will typically have
permissions of 755, which means that normal visitors to the site will
be unable to upload content into the folder. They will receive an error
message when they try to do so. In order to allow the upload, one
solution is to temporarily change the permissions on the folder to 777
before the upload is made, and then to change them back to 755 after
the upload has been made.
|