The easiest way is to use split approach. But it will work only if you add a username inside the directory you want to share:
$ mkdir /sharedir $ ln -s /share_dir /sharedir/username $ ln -s /sharedir/username /usr/share/cagefs-skeleton/share_dir $ echo "%/sharedir" >> /etc/cagefs/cagefs.mp $ cagefsctl --remount-all
Please note that first you create empty 'sharedir' directory, and the actual content is located in 'share_dir'
Comments
0 comments
Please sign in to leave a comment.