You just need to change to mount options to allow access to them by non-root users. Post the command showing how you are mounting them now.Originally Posted by VampyreUK
Jim H
In point of fact networking to a Win2K server but I don't suppose that's relevant in itself.
I know how to network (using mount) and can make it so that those shares connect at boot but I can't seem to access them (or indeed) run mount at all from my non-root user.
Anyone got any ideas?
VampyreUK
You just need to change to mount options to allow access to them by non-root users. Post the command showing how you are mounting them now.Originally Posted by VampyreUK
Jim H
Hi Jim,
I use a file called SNTFLinux, set as executable containing:
#! /bin/sh
mount -t smbfs -o username=<username>,password=<password> //<W2K Server>/<sharename> /mnt/trans
mount -t smbfs -o username=<username>,password=<password> //<W2K Server>/<sharename> /mnt/mp3
The file is placed in /etc/init.d/rc5.d.
Is that what you meant?
VampyreUK
Hi,
I seem to have a solution (though I don't fully understand it yet):
mount -t smbfs -o username=ntuser,password=ntpass,uid=lxuser,gid=lxuser,fmask=0775,dmask=0755 //ntserver/ntshare /mnt/lxmountpoint
That seems to work :-)
VampyreUK
Bookmarks