can not copy read only file to shared folder

Discussions about using Linux guests in VirtualBox.
Post Reply
reader
Posts: 5
Joined: 2. Jun 2020, 00:11

can not copy read only file to shared folder

Post by reader »

I have a shared folder mounted in Fedora 32 guest from Fedora 32 host. Inside the guest, I can copy a file from local disk to the shared folder if the file is writable (mode 644), but I can't copy the file to shared folder if the file is readonly (mode 444). "cp: cannot create regular file 'name': Operation not permitted". Similarly, if I create a writable file and a readonly file and create a tar file and try to untar it on the shared folder, the writable file is created but the readonly file will not. "tar: name: Cannot open: Operation not permitted". Does anyone know why I can not create readonly files on shared folder?
Post Reply