CloudLinux OS Blog - Sharing more directories with single user account over CageFS
CloudLinux OS Blog

Sharing more directories with single user account over CageFS

Sharing more directories with single user account over CageFS


CageFS has a mechanism to make any additional location with users content available from inside. This is a quite useful way to share needed backup directories for users if you are giving ftp/ssh access to them. Also you can use this feature to provide access to /homeabc/username when /home/username is a symlink to it.

To enable this feature the following line should be added to /etc/cagefs/cagefs.mp file:

%/homeabc

Then cagefsctl --remount-all should be launched.

After that a user can see both his /home/username and /homeabc/username from CageFS inside. Other directories in /homeabc as well as in /home will be still hidden for him.
New kernel for CloudLinux 7 released
Beta: MySQL Governor updated
 

Comments

No comments made yet. Be the first to submit a comment
Already Registered? Login Here
Guest
Friday, 22 November 2019

Captcha Image