www.webdeveloper.com
Results 1 to 2 of 2

Thread: only allowing chmod 777 for file upload folder

Hybrid View

  1. #1
    Join Date
    Nov 2008
    Location
    Niagara Falls, Canada
    Posts
    350

    only allowing chmod 777 for file upload folder

    Hey everyone. I have 2 different linux servers (each one is through a different web hosting company). On both servers I have the exact same PHP file upload script that allows users to upload a file or image to the server (everything on both servers is identical).

    On server #1 the "attachments" directory (which is where the files are uploaded to), I have the permissions set to chmod 755 and the files are successfully uploaded to the server (into the attachments folder).

    HOWEVER, on server #2 for some reason, the files will not upload into the "attachments" directory unless I put the permissions to chmod 777 (chmod 755 will not work on server #2).

    Does anyone know any possible reasons as to why server #2 will not allow file uploads with chmod 755?

    Thanks.

  2. #2
    Join Date
    Oct 2010
    Posts
    7
    Probably that server #1 is using phpsu, server #2 is not.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles