Ticket #10085 (new defect) — at Initial Version

Opened 11 years ago

Last modified 2 years ago

making a symlink fails on a shared folder with EROFS

Reported by: win32asm Owned by:
Component: shared folders Version: VirtualBox 4.1.8
Keywords: symlink, shared folders Cc: aplatypus
Guest type: Linux Host type: all


it is impossible to create a symlink within a shared folder from guest OS.

guest shell output:

[user@centos sf_sources]$ mount

/dev/sda1 on / type ext4 (rw)

proc on /proc type proc (rw)

sysfs on /sys type sysfs (rw)

devpts on /dev/pts type devpts (rw,gid=5,mode=620)

tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")

/dev/sda3 on /home type ext4 (rw)

none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

sources on /media/sf_sources type vboxsf (gid=501,rw)

[user@centos sf_sources]$ ln ./test ./test2

ln: creating hard link ./test2' => ./test': Operation not permitted

[user@centos sf_sources]$ ln -s ./test ./test2

ln: creating symbolic link `./test2': Read-only file system

[user@centos sf_sources]$ touch test2

[user@centos sf_sources]$ ls test*

test test2

host FS for the shared folder is ext4.

same operation worked fine in ver. 4.1.6

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use