You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

scp error with message "Operation not permitted"

I am trying to use "scp" command from terminal, but it does not work. It used to work fine yesterday, but it does not work any more.

I have installed 10.9.4 lately, but I think it was working fine shortly after that.


Command does not work even when run without any arguments.

I have also tried to run it with "sudo scp", but it does not help.


I can see following errors in the system log when trying to run command:


17/07/2014 23:16:33.000 kernel[0]: /SourceCache/AppleFSCompression_kexts/AppleFSCompression-56.92.1/Common/commonU tilsKern.c:333: VNOP_GETXATTR com.apple.ResourceFork for /usr/bin/scp: 93: error

17/07/2014 23:16:33.000 kernel[0]: /SourceCache/AppleFSCompression_kexts/AppleFSCompression-56.92.1/Compressors/Zl ib/Type4/compressorType4Imp.c:87: fh_getxattr /usr/bin/scp: error

17/07/2014 23:16:33.000 kernel[0]: vnode_validate_compressed_file_Type4 error: -1


Can anyone help with that? Do you have similar problem after latest Maverick update?


Thanks,

Mariusz

MacBook Pro with Retina display, OS X Mavericks (10.9.4)

Posted on Jul 17, 2014 3:19 PM

Reply
3 replies

Jul 17, 2014 3:29 PM in response to maniekq

If you don't already have a current backup, back up all data. There are ways to back up a computer that isn't fully functional. Ask if you need guidance. You can skip this step if you don't care about the data that hasn't been backed up.

Reinstall the OS.* Your data should be unaffected unless something goes wrong. If the system was upgraded from an older version of OS X, you may need the Apple ID and password you used.

If you use FileVault 2, then before running the Installer you must launch Disk Utility and select the icon of the FileVault startup volume ("Macintosh HD," unless you gave it a different name.) It will be nested below another icon with the same name. Click the Unlock button in the toolbar and enter your login password when prompted. Then quit Disk Utility to be returned to the main Recovery screen.

If you installed the Java runtime distributed by Apple and still need it, you'll have to reinstall it. The same goes for Xcode. All other data will be preserved.

*The linked support article refers to OS X 10.9 ("Mavericks"), but the procedure is the same for OS X 10.7 ("Lion") and later.

scp error with message "Operation not permitted"

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.