Chào mừng bạn đến với Diễn Đàn Máy Chủ - Chia sẽ kiến thức máy chủ.
  • Đăng ký
    • Login:
    Server Dell email 247 Tên miền Hosting giá sốc Tang loa Frei Tang loa Frei Tên miền tiếng việt giá bèo cdn rẻ vô địch May Chu Khong Lo - Gia Xi Trum SSL 2 nam giam 15%
    + Trả lời bài viết
    Hiện kết quả từ 1 tới 2 của 2
    1. #1
      Advisors
      Tham gia ngày
      Aug 2009
      Đến từ
      Nha Trang
      Bài gửi
      1.287

      Mặc định [FIX] Custom permissions on subfolders in httpdocs get reset to default

      Resolution
      Custom permissions on a Plesk domain can be reset by Plesk to default in the following cases:

      1. When Plesk reconfigurator is used. It resets all the custom permission to defaults when one of the following conditions are carried out: a) Custom permissions set does not contain default Plesk permissions sub set.

      b) Custom permissions are set on top level folder (such as httpdocs, cgi-bin, statistics and etc.)

      2. When Microsoft FrontPage support is enabled on a domain. FrontPage can reset permissions in the following cases:

      a) When Plesk installs MS FrontPage on domain it calls standard MS FrontPage utility owsadm.exe. This utility resets permissions on all files and folders located in httpdocs .

      More information about this tool can be found in the following articles:

      http://support.microsoft.com/kb/272945/en-us
      http://support.microsoft.com/kb/825489/
      http://support.microsoft.com/kb/838684/en-us

      b) When "Check server health" is launched on Site Administration page for FrontPage Server Extensions. In this case owsadm.exe also resets permissions.
      Chấp Nhận Thua 1 Trận Chiến Nhưng Sẽ Thắng Cả Cuộc Chiến .

    2. #2
      Advisors
      Tham gia ngày
      Aug 2009
      Đến từ
      Nha Trang
      Bài gửi
      1.287

      Mặc định

      Write Permissions on Plesk Windows Servers Get Removed
      Posted by J.T. Smith on 19 November 2010 07:26 PM

      A problem with permissions being lost / reset on Plesk 9.x for Windows Servers have been noticed by customers with sites requiring special write permissions, such as DotNetNuke (DNN) and other CMS applications (ASP.NET / MS-SQL and PHP / MySQL). The problem is that the write permissions on the folder(s) get removed own its own without any changes being made by us or the client. Further investigation into this issue reveal the source of the problem to be Plesk itself, when the write permissions were originally set outside of Plesk.

      The issue is referenced in the Parallels KB article found on their site at: http://kb.parallels.com/en/1147.
      Therein Parallels has stated that custom permissions set on top level folders like httpdocs, statistics, cgi-bin, etc... may get reset by Plesk. The test for this is to manually give write permissions to httpdocs folder and run webservmng.exe to see if the manually set permissions are removed... they are! To resolve this issue permanently...

      ----------

      1. Backup the .Security file and delete it from C:/InetPub/vhosts/domain_name, this file saves all the permissions assigned to that domain from Plesk on Windows. Deleting it will remove all the records.

      2. After renaming or deleting the . Security file, run this command below:

      "%plesk_bin%/websrvmng.exe" --reconfigure-vhost --vhost-name=domain_name

      3. This command will create a new .Security file with all default permissions on that domain. This can also be done from within Plesk via the "Check Permissions" function... just make sure to disable the "Check Only" option.

      4. Now login into Plesk >> Click on Domains >> domain_name >> File Manager >> httpdocs >> golden padlock of folder_name to set perm on >> “Advance” Button >> Select users >> Assign permissions >> OK.

      These steps will save new permissions in the .Security file and even if you run websrvmng.exe or "Check Permissions" on that domain again, the new permissions that has been set from Plesk will not get removed. There is no need to add any special group or users like ASPNET or NETWORK SERVICE to any folder as those permissions are handled by IUSR_ & IWAM_/IWPD_ users.

      Any permissions that has been assigned directly to httpdocs folder outside of Plesk will get reset by Plesk and if you inherit them to sub-folders, permissions of the sub-folders will also get removed. So the means to avoid this issue is to always set your file and folder permissions within Plesk, and avoid doing so via Windows Explorer in an RDP session.
      Chấp Nhận Thua 1 Trận Chiến Nhưng Sẽ Thắng Cả Cuộc Chiến .

     

     
    + Trả lời bài viết

    Thread Information

    Users Browsing this Thread

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

    Quyền viết bài

    • Bạn không thể gửi chủ đề mới
    • Bạn không thể gửi trả lời
    • Bạn không thể gửi file đính kèm
    • Bạn không thể sửa bài viết của mình