* Joshua L. Jones [Fri, 30 Apr 2004 at 13:02 -0400]
> Hello.
> 
> I have set up samba file sharing between my Linux laptop and my XP
> desktop.  If I am root, I can type the following
> 
> mount -t smbfs -o username=user //XPserver/Sharename /mnt/mountpoint
> 
> and I can share files, etc.  But if i run the same command NOT as root,
> i get a message saying only root can do that:  
> 
> mount: only root can do that
> 
> How can I fix this problem so that I, as a user, can mount the samba
> share?
> 
> Thanks,
> josh

Only root can use mount in the form
'mount [options] <device/share> <mountpoint>'
for a regular user to mount something there has to be an entry in /etc/fstab
(man fstab). In the case of samba, there's also
smbmount //server/share mountpoint
where mountpoint is a directory you have appropriate permissions on (could
be a directory in your homedir). Any user can mount shares this way. Also
check out xsmbrowser, it still needs some work, but it's still pretty cool.

Attachment: pgpi3DXbD5nIK.pgp
Description: PGP signature

_______________________________________________
newbies mailing list
[EMAIL PROTECTED]
http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies

Reply via email to