Trying to figure this out?
CageFS and symlinks
Collapse
X
-
Tags: None
-
Ok, so I have a bit of an unusual situation that Im trying to figure out, maybe someone can help me out here.
Basically, I have one site that houses a ton of multimedia (around 20-30 gig). Rather than have this backed up every day, I threw this onto the /backup/ partition, in a specific directory which the user has complete and full rights to, and created a symlink in public_html for forum attachments (which is how the media is handled).
Now, all worked grand UNTIL I setup CageFS. With CageFS enabled on this account, the user cant access the multimedia symlink, as its nonexistant, not available to them. Is there a way around this at all? Obviously, I COULD throw this into the user account directly, but then it would be rather impossible to back this up properly, so thats just not an option, realistically -
Tom, the only way we may propose is to open a /backup/ for all users, this could be done simply adding /backup/ to /etc/cagefs/cagefs.mp and cagefsctl --remount-all .
In the future there will be a possibility to open desired directories to selected users only.Comment
-
Perfect, thats just what I needed. I can actually add /backups/subdirectory which the user has rights to, and it works excellently.
Thank youComment
Comment