jeopardyracing
12-05-2004, 03:18 AM
Here is my problem: I can mount the Samba shares on my Mac (as server) on my HD-install Knoppix PC (client) fine, but no matter what I try, I seem to be unable to get dmask=777 and fmask=777 if I am mounting from a user account. Even when I modify FSTAB for the network shares, I only have full permissions to the Mac's shares if I am logged in as root.
I notice something interesting: on my Knoppix PC, my logon ID is 1000, while on the Mac it is 501. Knoppix seems to honor the Mac's permissions - in other words if "others" does not have read or write, neither do I coming over the network from Knoppix. As 1000, I don't get these permissions unless I change the permissions on the Macs directories (on the Mac itself, of course) to allow "Others" permissions. One version of my code for mounting the share (I have tried many!) is:
#!/bin/bash
smbmount //server/share /home/user/mnt/mac -o dmask=777,fmask=777
Ideas?
I notice something interesting: on my Knoppix PC, my logon ID is 1000, while on the Mac it is 501. Knoppix seems to honor the Mac's permissions - in other words if "others" does not have read or write, neither do I coming over the network from Knoppix. As 1000, I don't get these permissions unless I change the permissions on the Macs directories (on the Mac itself, of course) to allow "Others" permissions. One version of my code for mounting the share (I have tried many!) is:
#!/bin/bash
smbmount //server/share /home/user/mnt/mac -o dmask=777,fmask=777
Ideas?