Data ONTAP Discussions

How to prevent directory from accidental deletion

We are using FAS 2552

 

We want to prevent directory from accidental deletion. Please let us know how we can achive this on CentOS like chattr +a.

1 REPLY

Re: How to prevent directory from accidental deletion

Hi there,

 

The answer to this question depends on what storage protocol you are using. If you have an iSCSI LUN presented, then it would be exactly the same as a local disk. If you're using NFSv3 and you want to prevent local root from deleting a directory on the NetApp NFS server, using krb5+NFSv4 is probably a better choice, otherwise if you just want to prevent users from deleting directories, standard unix ACLs would work too.

 

Hope this helps!

Forums