chattr command not found -alternatives

Discussion in 'OS X El Capitan (10.11)' started by basilt, Feb 26, 2017.

  1. basilt macrumors regular

    basilt

    Joined:
    Aug 15, 2016
    #1
    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
     
  2. chrfr macrumors 603

    Joined:
    Jul 11, 2009
    #2
    "chflags" is the command you're looking for.
     
  3. basilt thread starter macrumors regular

    basilt

    Joined:
    Aug 15, 2016
    #3
    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.
     
  4. chrfr macrumors 603

    Joined:
    Jul 11, 2009
    #4

Share This Page