Mount SMB Share from user account
Here's the scoop: I need to mount a samba share on my Macintosh from a user account in my Knoppix-powered Dell.
When I do, Knoppix seems to honor the group permissions found on the Mac, rather than the user permissions - meaning I can neither read nor wrote to certain directories unless I give those permissions to the group on the Mac itself - a lot of work since many directories don't have the group permissions I need.
I used to solve this problem in Red Hat by making an entry in FSTAB but here's the thing: when you boot into Knoppix it edits the FSTAB each time (even a HD install) and so my entries keep getting changed! I therefore have been using the following shell script to mount the shares, logged into a shell as root but using an ordinary user account in Knoppix (ie not logged into a root KDE session, etc)
smbmount //Mac/share /mnt/mac -o username=rhoyer,uid=rhoyer,rw,dmask=777,fmask=777
If I use the identical scrpt, logged in as root (which of course I never usually do) I it appears that the permissions are fully opened - so the issue is not on the Mac side of things.
Is there any way to modify my syntax to give the correct permissions?