Re: preventing symlinks?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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).

--keith

-- 
kkeller@xxxxxxxxxxxxxxxxxxxxxxxxxx

Attachment: pgp7CmDo8JBOc.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux