mount_smbfs read permission problem
mount_smbfs -U smb_user //WINBOX5@<ip addr>/Data /Users/smb user/mountdir
Now.... smb_user can read the contents of mount_dir just fine. However, no other user on the mac except root/sudo can see inside mount_dir (permission denied). In many cases this might make sense for privacy reasons but in my case I would like other users on the mac (in particular, the apache/www user running php scripts) to have read-permission of mount_dir. I've played around with the permissions-related switches available to mount_smbfs but nothing has worked. e.g.
mount_smbfs -U smb_user -f 0755 -d 0755 //WINBOX5@<ip addr>/Data /Users/smb user/mountdir
This gives mount_dir wide open read permissions but other users on the mac still can't read mount_dir. I'm guessing this is because the permissions on the xp box has a lot to do with who can read what on the mount/share... so i've played around with this too...
I made identically named user accounts on the mac and the xp machines, 'smb_user'. On the xp machine I give the share and the folder that's shared read permission for 'Everyone' on the xp machine and thought this would suffice. In addition, I made a 'test' user account on both the mac and the xp machines and gave 'test' on the xp machine read-permission to the 'Data' share and the folder it shares, but still get permission denied on the mac when a user other than smb_user or root tries to read mount_dir in smb_user's home.
Any ideas??
PowerMac G5, MacBook Pro, Mac OS X (10.4.10)