[CentOS] preventing symlinks?
Ljubomir Ljubojevic
office at plnet.rs
Thu Jun 30 08:38:36 UTC 2011
Keith Keller wrote:
> On Thu, Jun 30, 2011 at 11:56:07AM +1200, Smithies, Russell wrote:
>> This may be more of a general linux question but is there a simple way of preventing users from creating symlinks to or from certain directories?
>> I have a /scratch dir that's a single 27TB volume and I don't want users linking their home dirs as there's a chance it will screw up our external backups.
>
> Can't your backups simply ignore symlinks? Or (more sensibly) backup
> the symlinks as links, instead of dereferencing them?
>
> Perhaps SELinux can do what you want, but it seems like overkill
> compared to telling the backup program what to backup (and what not).
>
+10
More information about the CentOS
mailing list