Re: [expert] Permisssions problems mounting SMB

2001-09-26 Thread Norman

Just a thought   you have made sure you have
set up your user as a samba user haven't you?

hth
Norm

Laurent Duperval wrote:
 
 Hi,
 
 I have this problem when mounting a SMB partition:
 
 mount /mnt/mypublic/
 Password:
 cannot mount on /mnt/mypublic: Operation not permitted
 smbmnt failed: 1
 
 My etc/fstab looks like this:
 
 //foo/lduperva$/mnt/mypublic   smbfs   noauto,user,username=lduperva 0 0
 
 The permisssion in /mnt/ look like this:
 
 drwxrwxrwt2 root root 1024 Sep 12 11:47 mypublic/
 
 I can mount if I am root. What's the problem?
 
 Thanks,
 
 L
 
 --
 Laurent Duperval mailto:[EMAIL PROTECTED]
 
 In the abundance of water, the fool is thirsty.
  -Bob Marley, Rat Race
 
   
--
 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Permisssions problems mounting SMB

2001-09-12 Thread Larry Sword

Laurent Duperval wrote:
 
 Hi,
 
 I have this problem when mounting a SMB partition:
 
 mount /mnt/mypublic/
 Password:
 cannot mount on /mnt/mypublic: Operation not permitted
 smbmnt failed: 1
 
 My etc/fstab looks like this:
 
 //foo/lduperva$/mnt/mypublic   smbfs   noauto,user,username=lduperva 0 0
 
 The permisssion in /mnt/ look like this:
 
 drwxrwxrwt2 root root 1024 Sep 12 11:47 mypublic/
 
 I can mount if I am root. What's the problem?

Check the permissions for smbmount and smbumount.

 
 Thanks,
 
 L
 
 --
 Laurent Duperval mailto:[EMAIL PROTECTED]
 
 In the abundance of water, the fool is thirsty.
  -Bob Marley, Rat Race
 
   
 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com

-- 
Sword'sEdge
VoiceMail/Fax: (858) 860-6406 x1587



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [expert] Permisssions problems mounting SMB

2001-09-12 Thread David Joham


I may get flamed by the security people here, but if this is a single
user machine, you may want to set your smbmount (and other smb*) files
in your /usr/bin directory to suid root. That works for me. 

My justification for this is that mounting smb is really no different
than mounting any other file system (eg cdrom, floppy) which Mandrake
not only lets users do, but does it for them.

Give that a shot and see if it works...

David

-Original Message-
From: Laurent Duperval [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 12, 2001 9:59 AM
To: Mandrake Expert List
Subject: [expert] Permisssions problems mounting SMB 


Hi,

I have this problem when mounting a SMB partition:

mount /mnt/mypublic/
Password: 
cannot mount on /mnt/mypublic: Operation not permitted
smbmnt failed: 1

My etc/fstab looks like this:

//foo/lduperva$/mnt/mypublic   smbfs   noauto,user,username=lduperva
0 0

The permisssion in /mnt/ look like this:

drwxrwxrwt2 root root 1024 Sep 12 11:47 mypublic/

I can mount if I am root. What's the problem?

Thanks,

L

-- 
Laurent Duperval mailto:[EMAIL PROTECTED]

In the abundance of water, the fool is thirsty.
 -Bob Marley, Rat Race







Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] Permisssions problems mounting SMB

2001-09-12 Thread Laurent Duperval

Hi,

I have this problem when mounting a SMB partition:

mount /mnt/mypublic/
Password: 
cannot mount on /mnt/mypublic: Operation not permitted
smbmnt failed: 1

My etc/fstab looks like this:

//foo/lduperva$/mnt/mypublic   smbfs   noauto,user,username=lduperva 0 0

The permisssion in /mnt/ look like this:

drwxrwxrwt2 root root 1024 Sep 12 11:47 mypublic/

I can mount if I am root. What's the problem?

Thanks,

L

-- 
Laurent Duperval mailto:[EMAIL PROTECTED]

In the abundance of water, the fool is thirsty.
 -Bob Marley, Rat Race






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com