How would I use a mount command like this with the "mode=0700" option?
Code: Select all
mount -t vboxsf -o uid=26,gid=26 mode=0700 foobar /mnt/windows-shareDoes the vboxsf file system not support such octal security permissions?
Code: Select all
mount -t vboxsf -o uid=26,gid=26 mode=0700 foobar /mnt/windows-shareThe "-readonly" is equivalent to checking the Read-Only option in the GUI. See if that helps.• -readonly Specifies that the share has only read-only access to files at the host path.
By default, shared folders have read/write access to the files at the host path. More specifically, on Linux distros - shared folders are mounted with 770 io permissions with root user and vboxsf as the group, and using this option the io permissions change to 700. Optional.
I'm not sure I understand the question. No, scratch that, actually I'm sure I don't understand the question.GeorgeRT wrote:How do I mount a regular file system in Linux that is supported by a Windows file share?
Have look at https://www.samba.org/samba/docs/man/ma ... ifs.8.html and go from there...GeorgeRT wrote:I know how to create Windows file shares. I know how to mount file systems in Linux. How do I mount a regular file system in Linux that is supported by a Windows file share?
Go from there? But, that's the mother lode! The tree of knowledge! The fountain of SaMBa! Where do you go from there?Martin wrote:and go from there...
Code: Select all
mount -t cifs -o username=usera,password=$specialpassword //x.x.x.x/foldera /mnt/windows-shareWhat is wrong? I looked into this. I am not clear what I need to do to get this folder share to work.CIFS VFS: Error connecting to socket. Aborting operation.
CIFS VFS: cifs_mount failed w/return code = -115
mount: mount //x.x.x.x/foldera on /mnt/windows-share failed: Operation now in progress