Mounting samba shares

Arne Henningsen arnehe at gmx.de
Thu Apr 14 07:54:27 GMT 2005


You can allow normal users to mount SMB shares by setting the SUID bit of 
smbmnt and smbumount (NOT smbmount), e.g.:
   chmod 4755 /usr/bin/smbmnt
   chmod 4755 /usr/bin/smbumount

HTH,
Arne

On Thursday 14 April 2005 09:26, Radamanthus Batnag wrote:
> My setup:
>
>
>
> DC1
>
> Fedora Core 1
>
> Samba file server
>
> version samba-3.0.2-7.FC1 (what comes with Fedora 1)
>
>
>
> DC2
>
> RedHat Enterprise Linux 3
>
> Samba client
>
> samba-client-3.0.6-2.3E.i386.rpm from CentOS 3.3
>
>
>
> I want non-root user juan on DC2 to have read/write access to a specific
> samba share on DC1.
>
>
>
> On DC2, if I execute (as juan):
>
> mount -t smbfs //dc/tmp /tmp/test
>
>
>
> I get the error message:
>
> mount: only root can do that
>
>
>
> If I execute (as root):
>
> mount -t smbfs //dc/tmp /tmp/test
>
>
>
> The samba share is successfully mounted, but user juan has no write access
> to it.
>
>
>
> What do I do to make //dc/tmp writable by juan?
>
>
>
> Thanks!
>
> rad


More information about the smb-clients mailing list