Can't write to file - 'Operation not permitted' WITH sudo
        Posted  
        
            by 
                charliehorse55
            
        on Super User
        
        See other posts from Super User
        
            or by charliehorse55
        
        
        
        Published on 2012-07-02T01:57:54Z
        Indexed on 
            2012/07/02
            3:18 UTC
        
        
        Read the original article
        Hit count: 601
        
I am having trouble writing to a few files on an external HD. I am using it to store media files as well as my time machine backup. The drive is formatted as HFS+ Journaled, and other files on the drive can be written successfully. Additionally, the time machine backup is working perfectly.
Permissions for the file:
    $ ls -le -@ Parks\ and\ Recreation\ -\ S01E01.avi
-rw-rw-rw-@ 1 evantandersen  staff  182950496 22 May  2009 Parks and Recreation - S01E01.avi
        com.apple.FinderInfo           32 
Things I have already tried:
- sudo chflags -N
- sudo chown myusername
- sudo chown 666
- sudo chgrp staff
- Checked that the file is not locked (get info in finder)
Why can't I modify that file? Even with sudo I can't modify it at all.
© Super User or respective owner