#1 07 Oct 2011 12:06

Aerrow
Member
Registered: 07 Oct 2011
Posts: 2

Mac commands to create/make UnDeletable and SuperHidden File/Directory

Hi,

I need to create an UN-deletable file/Directory in Mac OS using Terminal commands. I used chflags, sudo commands but it doesn't meet my requirement. For your information, in Windows we achieve this concept using attrib, cacls commands.

In Windows,

For Super Hidden concept: attrib (file or directory path) +S +H

For UN-deletable concept: cacls (file or directory path) /e /c /d %username%


Similar than i need Mac commands to achieve the Supper hidden and UN-deletable concept. if it possible kindly send me the details, thanks in advance..!:)

Offline

#2 09 Oct 2011 12:06

Simon Sheppard
Super Administrator
Registered: 27 Aug 2005
Posts: 1,038
Website

Re: Mac commands to create/make UnDeletable and SuperHidden File/Directory

Look at the chmod ACL options

http://ss64.com/osx/chmod.html

Offline

#3 10 Oct 2011 09:06

Aerrow
Member
Registered: 07 Oct 2011
Posts: 2

Re: Mac commands to create/make UnDeletable and SuperHidden File/Directory

Thanks for your reply Simon Sheppard. I'm new to Mac platform. I already reviewed this page, but i can't understand, in which of these commands i use to achieve my need.

Offline

Board footer

Powered by FluxBB