centos 7 guest virtualbox 6.0.6 shared folder weird behavior

Discussions about using Linux guests in VirtualBox.

centos 7 guest virtualbox 6.0.6 shared folder weird behavior

Postby iGieon » 1. May 2019, 19:01

Strange behaviour can you confirm. Mount shared folder with execution create script:
Code: Select all   Expand viewCollapse view
#!/bin/bash
ls  -la $0

and save it in shared forlder as test.sh i get output:
Code: Select all   Expand viewCollapse view
[employeeapp@centos7 ~]$ ls -la ./src/test.sh
-rwxrwxrwx. 1 employeeapp employeeapp 23 May  1 16:59 ./src/test.sh
[employeeapp@centos7 ~]$ ./src/test.sh
-rw-rw-rw-. 1 employeeapp employeeapp 23 May  1 16:59 ./src/test.sh

Can you point me what i need to to change that this behavior doesnt happen.
iGieon
 
Posts: 2
Joined: 1. May 2019, 18:54

Re: centos 7 guest virtualbox 6.0.6 shared folder weird behavior

Postby iGieon » 1. May 2019, 19:37

After mounting with dmode=0775,fmode=0775 i get output not as i expected but no error:
Code: Select all   Expand viewCollapse view
[employeeapp@centos7 ~]$ ls -la src/test.sh
-rwxrwxrwx. 1 employeeapp employeeapp 23 May  1 16:59 src/test.sh
[employeeapp@centos7 ~]$ ./src/test.sh
-rwxrwxrwx. 1 employeeapp employeeapp 23 May  1 16:59 ./src/test.sh
iGieon
 
Posts: 2
Joined: 1. May 2019, 18:54


Return to Linux Guests

Who is online

Users browsing this forum: fth0 and 8 guests