I'm trying to copy one directory to an ext4 filesystem on a Veracrypt encrypted USB stick. The command I used was:

cp -aL /source /destination

I've also tried:

cp -ad /source /destination

... but I get back:

cp: cannot create symbolic link ‘/xyz/pdq’: Operation not permitted

I looked at the problem links and they don't link outside the copied directory tree. Why is this happening?


Just for you I played with Veracrypt(never heard the name before :D).

Have you formatted the drive as FAT? Then thats your problem. When Veracrypt asks you, format it as NTFS instead of FAT and then try again.

FAT32 unfortunately does not support owner, permissions or symlinks. That is why you are getting an Operation not permitted error. Note that this error is not “permission denied”: “operation not permitted” often means “operation not supported”, i.e. nobody can do this.

| improve this answer | |
  • 1
    Thanks siddharth and @Gilles . “operation not permitted” often means “operation not supported".. This has perfectly explained the situation. Thanks once again! – mk.. Jun 22 '16 at 4:04
  • 4
    @mk.. That's not always the case: sometimes “operation not permitted” can mean a lack of permission. EACCESS (“permission denied”) is about file ownership and permission modes, while EPERM is about other kinds of control, for example system calls that are reserved to root. The rule of thumb is that EACCESS can be solved by chmod/chown, EPERM is a more fundamental problem. – Gilles 'SO- stop being evil' Jun 22 '16 at 7:01
  • 1
    VeraCrypt appears to be one pretty decent inheritor of the TrueCrypt mantle. We'll see if that lasts. They have passed a security review or two. – user447607 Feb 6 '17 at 15:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.