Well, I made some progress by trying:
Code:
mount.cifs //sambaserv/myshare /mnt/smb-sambaserv-myshare -o setuids -user=remoteuser
and it mounted, magically making the
local desktop user the owner of that entire mount (including newly created files), while at the same time those newly created files have the
remote user as their owner on the remote system! It looks very promising but it doesn't work yet because if I try to edit a newly such created file, the local system says:
Quote:
Could not open the file... You do not have the permissions necessary to open the file.
|
This is weird since it's -rw- on both systems for both usernames!
On the
remote server (when I SSH to it) I see:
Code:
/home/share/workspace> ls -la empt*
-rw-rw---- 1 remoteuser remoteuser 9 Feb 1 18:50 empty-file.txt
On the
local system (with that share mounted) I see:
Code:
androideve@desktop:/mnt/smb-sambaserv-myshare/workspace$ ls -la empt*
-rw-rw---- 1 androideve androideve 9 2011-02-01 18:50 empty-file.txt
Yet, there is no way I can locally open empty-file.txt for either read or write!
This drives me crazy...
Why is this happening and how do I nail it once and for all?