1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

NTFS Permissions all wrong

Discussion in 'Plesk for Windows - 8.x and Older' started by DanielArkley, Jun 25, 2004.

  1. DanielArkley

    DanielArkley Guest

    0
     
    Hi all,

    I am assisting a friend in setting up a Plesk 6.5 installation on Windows 2003 server. Despite the problems we had getting the box set up correctly in the first place, Plesk is now installed, and working fine apart from one tiny little error...

    PHP doesn't work. It can just about execute scripts successfully. When it comes to writing anything to a file, we get Permission Denied, no matter where the file is located. Having looked at the NTFS permissions manually, it is quite obvious that the IUSR_MACHINENAME account is not being given permission to read/write to the folders and files it needs to. This seems a rather trivial thing to do to me, and something that Plesk ought to do itself. I am interested as to whether anyone else is experiencing these problems? So far, we have found a "work around" by adding in the missing permissions manually, but to be honest I don't think I, or my friend, could be bothered sitting there adding permissons manually to the files that need write access, especially as there are other control panels out there, especially Unix version of Plesk, that get's it right first time.

    If anyone has any ideas as to what we can do to fix this permanently, I am eager to hear from you!

    Best Regards,
    Daniel
     
  2. sebastian

    sebastian Guest

    0
     
    It's quite normal, that only the user has write access and not everyone else.

    What plesk should do is include a db folder in the skeleton, that has write access, so in case somebody had an access db or something else they could put it there.

    As long as windows servers doesn't support chmod from an ftp client there isn't that many options besides the web file manager that's included in plesk or the skeleton file or at last the manual way of doing it through remote desktop.
     
  3. DanielArkley

    DanielArkley Guest

    0
     
    Surely IIS should have write access though?!
     
  4. sebastian

    sebastian Guest

    0
     
    When browsing a page hosted on an IIS server the IUSR_MACHINENAME is the actual account, so giving this user write permissions to all files would mean, that everybody would get write access to everything. Not the smartest thing to do. ;)
     
  5. DanielArkley

    DanielArkley Guest

    0
     
    I'm fairly sure IIS can be configured to run as a different user per site, by editing the user anonymous visitors are treated as, in directory security?
     
Loading...