On 4/14/05, Radamanthus Batnag <[EMAIL PROTECTED]> 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 (obtained 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
Use smbmount instead, as this can be used even by a non-root user. > > 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. You'd need to ensure that: a. The smb-registered user 'juan' has access to the share. Check smb.conf for this one. b. The user juan has enough privileges to the directory referenced by the share. You could use the tools chmod, chown, and setfacl (for fine-grained ACLs) to do this. -- Paolo Alexis Falcone [EMAIL PROTECTED] -- Philippine Linux Users' Group (PLUG) Mailing List plug@lists.q-linux.com (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie