Split by Username

Navigation:  CageFS > Configuration > Mount Points >

Split by Username

Previous pageReturn to chapter overviewNext page

[CageFS 5.3.1+]

 

Sometimes you might need to make sure that directory containing all users would show up as containing just that user inside CageFS. For example, if you have directory structure like:

 

/home/httpd/fcgi-bin/user1
/home/httpd/fcgi-bin/user2

 

Then we can add the following line to /etc/cagefs/cagefs.mp file:

 

%/home/httpd/fcgi-bin

 

and execute:

 

cagefsctl --remount-all

 

After that each subdirectory of /home/httpd/fcgi-bin will be mounted for appropriate user in CageFS: /home/httpd/fcgi-bin/user1 will be mounted for user1 and /home/httpd/fcgi-bin/user2 will be mounted for user2.