I mounted network drive (running Windows Server 2008) on Ubuntu by adding command
//10.10.101.54/docflow /opt/lampp/htdocs/mount cifs user=administrator,password=wbaZaja43ik,rwx,user,auto,file_mode=6777,dir_mode=6777,uid=1000,gid=1000
in /etc/fstab but have troubles using PHP functions is_file() or is_dir() on files and directories on that mapped drive. These functions both return FALSE when called on existing files or directories – correct paths checked by file_exists() function which works correctly. PHP is running under ‘administrator’ user and have all privileges needed for manipulation.
Any idea how to solve this?
Thanks!
Quoting from digitalaudiorock at gmail dot com’s comments in the php manual: