• 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 Files With Bad Permission: User and Group is Root

psxeu

Basic Pleskian
Hi

I have installed SuiteCRM - now it is complaining that my files in the log folder have bad permissions. The Group and Owner is root.

How can it be that some of the files have root as group and owner? And how do I correct it?

I'm using PHP 7.2.2 FPM Application
 
You'll want to use chown to correct the group and owner. For everything in the httpdocs folder, The owner should be the customer's username, and the group should be psacln.

Another way to correct the issue would be to just run the Plesk repair utility on the domain;

# plesk repair fs domain.com
 
How did you upload / download this app? Was it via plesk, ftp, wget ... file manager?

Please give us feedback if you have made any progress on your issue.
 
Are you logged in using some "master" user with access to all your files (root maybe?) Or through the user of your account? Please provide us with more information about the problem so I can help you so that your problem does not happen again :)

As for solving your problem, it's very simple, come on.
1. Access the directory where your files are located.
cd path/to/directory
2. Run the command "ls -la" to verify the correct permissions.
Screenshot 2018 03 04 at 06 37 43.png
As you can see in the print the correct permissions would be user: "performance_feli" and group: "psacln".

3. Use the following command to change the permissions.
To change this is very easy, just run the following command:
Screenshot 2018-03-04 at 06.46.05.png

PS: "-R on command means recursively applying permissions"
PS2: Unfortunately for the information you gave in the post I do not know how the structure of your files is, however just follow the logic of my comment that you should be able to apply the correct permissions! ;-)
 
Thanks for your detailed explanation. The files now have the right permission.

I must admit that I'm new to Linux and the Plesk Interface. It is a private VPS. I have created a customer account for the domain (belonging to myself) - but in the Plesk Interface I'm accessing it through the admin account. The files is uploaded by FTP belonging to the account (not admin) - and a install.php script for SuiteCRM is run form the website.
 
Glad you could solve your problem :)

Please feel free to show a little gratitude by voting for "best response," given that I have solved your problem.

It is no problem to access the client account using your Plesk administrator interface, since this is not a gambiarra or something, Plesk itself offers this option.

Taking into consideration your comment I do not see anything much in the way you did it. Maybe you failed to pass some information ... have you done any steps using Shell?

Was it necessary to unzip the file? Did you unzip the file manager from Plesk or via Shell? (Using the unzip command, or similar)
 
I Unzipped the files using 7-zip at my local computer and when uploaded them using FIleZilla
 
You shouldn't be able to FTP as Root. You may of used SFTP as Root......
 
If you can not replicate the problem again it is virtually impossible to find out the source of the problem. Based on the reviews it seems everything is ok with its setup.

If you encounter this problem again, I suggest you create a new topic in the Plesk forum and explain in detail what your actions were that caused this problem.

Have a great day! :)
 
Back
Top