I have CIFS share from EMC storage which is mounted on Linux and also on other windows & mac machines.
At Linux server, CIFS share mounted with mount.cifs. My linux server has php code running on it. The php code can create files and folder.
At the same time, from another windows & mac machine my users tries to add files & folder on to it.
Problem: The files & folders created by windows machine is unreadable by php.
I have tried much research on it and couldn't find solution for the same. I suspected problem with cifs-utils package on linux, so I had upgraded cifs-utils package but it didn't solve my problem.
My server info: centos 6.6 uname -a 2.6.32-431.3.1.el6.i686 #1 SMP Fri Jan 3 18:53:30 UTC 2014 i686 i686 i386 GNU/Linux
mount command on linux: mount -t cifs -o username=administrator,password=password,rw,file_mode=0777,dir_mode=0777 //192.168.1.25/userworkspace /userworksp
Any suggestions highly appreciated.