Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

basilt

macrumors regular
Original poster
Aug 15, 2016
105
8
hello,

i try to set a file access to immune (+i) with chattr and terminal responds cmd not found.

are there any terminal commands similar to chattr un ELcap that can do the exact job,
without altering any other attributes and how to type in in terminal

thanks
 

chrfr

macrumors G5
Jul 11, 2009
13,730
7,306
hello,

i try to set a file access to immune (+i) with chattr and terminal responds cmd not found.

are there any terminal commands similar to chattr un ELcap that can do the exact job,
without altering any other attributes and how to type in in terminal

thanks
"chflags" is the command you're looking for.
 

basilt

macrumors regular
Original poster
Aug 15, 2016
105
8
"chflags" is the command you're looking for.
thanks !

can you tell me what to type parameters to set flag to +/- i please. i am newbie and have not clue what to type.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.