mount linux as samba client, own mountpoint
I am trying to have full rwx access from my SUSE9.1 Linux box to a shared directory, “test” residing in a Windows XP box, “Brans4,” on a MS LAN. The MS share settings are correct, I believe, giving shared access to appropriate directories with specific user ID/PW. This checks out from other MS machines.
After creating smby from my user account, so user owns it, I mount these files from root with
mount –t smbfs //Brans4/test /home/brans/smby
This works OK, and the data is in my ~/smby, and I have full rwx access as root, but only rx access as user. Actually, ownership of smby has passed to root. Furthermore, an attempt to chown or chmod from root results in a “permission denied” error message for both directory and files. This strikes me as very strange since root has full rwx access, and can even delete files but cannot chmod or chown on this directory or its files.
I want full ownership of /~/smby/* from the user, brans, account. The above procedure is not giving it to me, so ???
1) Am I missing some option setting in the mount command?
2) Is there a mount command I can run as user brans?
Thanks.
CB
|