Permissions on PHP file uploads are a little weird.

Discussion in 'PHP' started by brettdavidsonnz, Feb 25, 2008.

  1. brettdavidsonnz

    brettdavidsonnz New Member

    On the previous note, since we are running in suexec mode, suexec will not permit me to run the id command. Or any of it's variants. :(
  2. brettdavidsonnz

    brettdavidsonnz New Member

    For testing:

    The page index.html is the forms page for file uploads. Uploads go in docroot/uploads dir.
    The page index.php writes a file using fwrite.
  3. mistwang

    mistwang LiteSpeed Staff

    Maybe related to PHP safe mode, need to turn off safe mode from plesk. It is overridden in the vhost configuration.
  4. mistwang

    mistwang LiteSpeed Staff

    Seems someone execute command like
    Code:
    chown -R root /usr/local/lsws
    it breaks things.

Share This Page