Ave,
I’ve run into a permissions snag.
I have Apache Web Server running on Mac OS X with PHP. I have a folder on a windows machine mounted on my Mac OS X as a share using the “mount –t smbfs //user@192.168.1.2/ShareName Share”. The “user” has full read-write permission and physically I’m able to do anything I want sitting on my Mac OS X in this share, like create, delete or modify files.
The problem is, I don’t think Apache Web Server (or PHP) has write access on this share. In PHP, I’m able to read data from files on this share, but I’m not able to write data to any file on that share. I get access is denied.
Is there anyway while mounting to give Apache write access to the files on this share? I don’t see how I can provide Apache Web Server (installed on my Mac) Write Access through the Windows System that has the original folder. Windows is only able to provide the Mac User with Permissions, not Apache.
Any help would be appreciated.
Thanks
I’ve run into a permissions snag.
I have Apache Web Server running on Mac OS X with PHP. I have a folder on a windows machine mounted on my Mac OS X as a share using the “mount –t smbfs //user@192.168.1.2/ShareName Share”. The “user” has full read-write permission and physically I’m able to do anything I want sitting on my Mac OS X in this share, like create, delete or modify files.
The problem is, I don’t think Apache Web Server (or PHP) has write access on this share. In PHP, I’m able to read data from files on this share, but I’m not able to write data to any file on that share. I get access is denied.
Is there anyway while mounting to give Apache write access to the files on this share? I don’t see how I can provide Apache Web Server (installed on my Mac) Write Access through the Windows System that has the original folder. Windows is only able to provide the Mac User with Permissions, not Apache.
Any help would be appreciated.
Thanks