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

By accepting you will be accessing a service provided by a third-party external to https://www.cloudlinux.com/

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.
Alt-PHP updated
LVE Stats 2 & custom plugins
 

Comments

No comments made yet. Be the first to submit a comment
Already Registered? Login Here
Guest
Sunday, 12 July 2020

Captcha Image