Author Topic: /home/<user> permissions  (Read 3045 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
/home/<user> permissions
« on: May 03, 2021, 10:03:45 AM »
I recently moved my server from one region to another within my hosting provider and I noticed that I have one user  directory (/home/<user>) that has permissions set to 755 all of the others have permissions of 711, /home/jail is also set to 755.

Which should they be set at, 755 or 711?

Offline
*
Re: /home/<user> permissions
« Reply #1 on: May 03, 2021, 05:35:00 PM »
711, you have fix account permissions in cwp admin
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: /home/<user> permissions
« Reply #2 on: May 03, 2021, 10:41:26 PM »
Well that did not go well... I ran "Fix Permissions" from the Accounts menu and each account that was fixed was completely removed in /home/<user>
Luckily I have backups... Being restored now.

Offline
*
Re: /home/<user> permissions
« Reply #3 on: May 04, 2021, 07:41:43 AM »
So, I found that the reason the user folders were/are getting permissions change is that when jailkit is activated and a user is given shell access using jailkit, that users folder's permissions will be changed to 755 from 711.

Appears to be normal operation.