• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Read-only permissions to FTP user

rcerrote

New Pleskian
Hello, how can I give read only permissions to a specific folder for a user in plesk linux? In plesk windows there is a specific option to do it.

Please help to solve this
 
PLESK.PNG

Thanks for the reply.

how can I do it? In the file manager I see the general permissions of the folder, I cannot choose the permissions for a specific user. I need some users to be able to write to the folder and others not.
 
Unfortunately, your desire violates the safety concept of Plesk. You can, of course, at your own risk, do this at the Linux system level, but in the Plesk interface, this cannot be done due to security and stability reasons for the users' sites.
 
Hi,

Finally I have solved it by creating a .ftpaccess file in the directory:

HideFiles (\.ftpaccess)$ user !userowner
<Limit ALL>
IgnoreHidden on
</Limit>

<Directory /var/www/vhosts/domain/folder>
<Limit CWD PWD DIRS READ>
AllowUser user1
</Limit>
<Limit ALL>
DenyUser user1
</Limit>
</Directory>

The first few lines hide the .ftpaccess file for all users except the owner. The rest of the lines give read-only permissions to the user "user1" in that specific directory.
 
The solution looks simpler than I thought from the beginning, I was already rotating some codes in my head of how I could fix this problem.
 
Back
Top