Un-deleteable file.

Discussion in 'macOS' started by thurstmw, May 30, 2011.

  1. thurstmw, May 30, 2011
    Last edited: May 31, 2011

    thurstmw macrumors newbie

    Joined:
    Sep 28, 2010
    #1
    I am trying to make a dmg file un-deleteable while keeping it R/W. Found that I should be able to do this with "chflags sunlnk 'file'.dmg" but I keep getting the error "chflags: invalid flag: sunlnk"

    I am rocking 10.6.7. Any suggestions?
     
  2. thurstmw, May 31, 2011
    Last edited: May 31, 2011

    thurstmw thread starter macrumors newbie

    Joined:
    Sep 28, 2010
    #2
    Incase anyone is interested the folks on hard helped me out. Here is how to do it

    chmod +a "<user/group> deny delete" <file>
     

Share This Page