mounting smbfs ownership problem (again)

mounting smbfs ownership problem (again)

Post by Daniel Kol » Wed, 11 May 2005 22:58:38

Hi everyone,

I see this has been discussed frequently but I still can't solve the problem.
Mounting smbfs filesystem with command:

smbmount //smbhost/suser /mnt/smb -o username=suser,uid=myuser,gid=mygroup

mounts the filesystem but still doesn't give me correct ownership of filer and
directories in /mnt/smb. The /mnt/smb directory is originaly owned by
myuser.mygroup and all files in the directory after mount retain ownership
from the original host which is a linux machine running a samba server.
What should I do to change the ownership?
Is it perhaps some setting on the samba server of the host?

Thnx in advance


mounting smbfs ownership problem (again)

Post by Dances Wit » Thu, 12 May 2005 00:35:17

On Tue, 10 May 2005 13:58:38 +0000 (UTC), Daniel Kollar staggered into
the Black Sun and said:

Er, where's the workgroup= ? Usually, SMB filesystems won't mount
without that.

That's not how it's supposed to work AFAIK, and it certainly doesn't
work that way here.

Maybe. Post the global section of /etc/samba/smb.conf on the server and
the section that controls the directory that's being shared (probably
[homes], but ICBW), and strip the comments out--we don't need to see

Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong / Hire me!
-----------------------------/ ~mhgraham/resume