Results 1 to 1 of 1
I'm running a centos6 vm on a mac osx host. I'm mounting a share from the host (osx) on the guest. I'm using that as a testbed for a php ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-25-2011 #1
- Join Date
- May 2008
Mounted samba share, files create as write protected
I can create files in php and other user accounts when I chmod 777 the parent directory, but the file is created 'write'protected', so i cannot write to those files after creation. Root in the guest can do so without a problem.
I'd like to be able to create files and open read/write from the guest in php for sessions/logs etc.
Here is some configuration information.
; From the guest, Projects is the mounted share drwxr-xr-x 6 501 games 0 Jul 24 17:37 Projects ; From the guest, fstab //share/Projects /mnt/Projects cifs username=user,password=pass,umask=000 0 0 ;From host, shared folder drwxr-xr-x 6 Username staff 204 Jul 24 17:37 Projects
any help is greatly appreciated