Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

smbmount

0 views
Skip to first unread message

Harry Knitter

unread,
Dec 2, 2002, 10:47:53 AM12/2/02
to
Hello,

I want to smbmount a Windows share on my linux machine (running SuSE 8.1) as
a normal user.

When I try smbmount I get the answer:
smbmnt must be installed suid root for direct user mounts....

When I set smbmount, smbmnt and smbumount suid root I get the answer:
libsmb based programs must *NOT* be setuid root.

Very funny.

What can I do???

Harry


Jason Adams

unread,
Dec 2, 2002, 10:25:06 PM12/2/02
to
Harry Knitter wrote:

Don't change smbmount, just smbmnt and smbumount.
And remember tht in 8.1 these are in really wierd
places so follow the symlinks down to where they
really are.


--
JSA
Anchorage Alaska

Harry Knitter

unread,
Dec 3, 2002, 11:16:36 AM12/3/02
to

"Jason Adams" <j...@kona.homeip.net> schrieb im Newsbeitrag
news:uuo90i8...@corp.supernews.com...


Many thanks to you, Jason. It works.

Harry


Bill Brunno

unread,
Dec 8, 2002, 7:14:09 AM12/8/02
to
I am using the following command to mount an NT folder into my linux
terminal so I can copy files to and from this folder from a command
line....in linux, as root:

smbmount //Test_bed/ftp_drive /home/www/test_bed -o username=admin

I can read the files on the mount directory just fine, but when I try to
copy files over as anything other than root, I get a permissions error. As
root, I try to change the permissions so everyone can write to / from it,
but the permissions don't change. I should mention the NT folder's
permissions give full access.

How do I properly mount this so anyone can write to this file?

Also, how would I unmount this?

Thanks a bunch


Andrew Williams

unread,
Dec 8, 2002, 1:49:10 PM12/8/02
to

Look at the fmask and dmask, uid and gid may also be useful if you are
mounting things for a particular user.

--
opinions personal, facts suspect.
http://home.arcor.de/36bit/samba.html

Rey

unread,
Dec 9, 2002, 8:39:47 PM12/9/02
to
What are the permissions on your mount point? Also, to unmount you typically
issue the command, "/usr/sbin/smbumount /mountpoint" (without the quotes).
So, in your case it would be, "/usr/sbin/smbumount /home/www/test_bed"
(without the quotes).

Rey


"Andrew Williams" <andrew....@t-online.de> wrote in message
news:3DF39426...@t-online.de...

0 new messages