You are not logged in.
My computer setup currently has arch linux running inside a virtual machine within Windows 8. I want to have some way to share the documents folder between windows and linux, so that I can mess around with the same files, but using the different utilities available only on one operating system or the other. I first attempted to use a virtualbox shared folder. This had the problem of permissions not being modifiable. I wrote some scripts from within the Documents folder, and wanted to run them. Unfortunately, chmod +x did not change anything. This is due to the nature of virtualbox shares, and I think it is unfixable. I briefly considered fmode=744, but this seemed like a bad idea. My next idea was to use a samba share, but unfortunately, they do not support the modifying of permissions either.
So, sorry for my rant, but is there a way to share a folder between windows and linux that will allow me to make my scripts executable? (I know I can place them in a different folder, but then the won't get backed up using the backup utility I have installed on windows).
Last edited by rh995 (2014-07-01 23:11:02)
Offline
If you use samba, you probably have to modify the default mask value's in smb.conf. That is probably inhibiting what you want.
fs/super.c : "Self-destruct in 5 seconds. Have a nice day...\n",
Offline
Well, the solution that I am using now is using a samba share, but with the dynperm option. I think that masks are beyond me. Although the man page says dynperm is a bad idea, it is working for me.
Offline
Masks are not hard. In the case of samba, they define an upper limit (in decimals) of the allowed DAC value's.
fs/super.c : "Self-destruct in 5 seconds. Have a nice day...\n",
Offline
And what is a DAC value? I have googled that, and was unable to come up with anything (please keep in mind that my knowledge of permissions and samba are both extremely minimal). And thank you very much for your help!
Offline
And what is a DAC value? I have googled that, and was unable to come up with anything (please keep in mind that my knowledge of permissions and samba are both extremely minimal). And thank you very much for your help!
% wtf DAC
DAC Digital to Analog Converter
DAC Discretionary Access Control (Unix, Linux, MAC)
DAC Dual Address Cycle (PCI)
DAC Dual Attached Concentrator (FDDI)
This silver ladybug at line 28...
Offline
DAC is the default system of Unix access controls (lolilolicon gave the correct pointer). The term 'DAC value' was badly phrased, sorry for that.
wtf actually exists .
fs/super.c : "Self-destruct in 5 seconds. Have a nice day...\n",
Offline