Re: Mounting smbfs as user?

2007-10-22 Thread Ivan Voras
On 18/10/2007, Roland Smith [EMAIL PROTECTED] wrote: The user in question probably needs read/write access to the /dev/smbX device in question. There is no such device: # ls /dev/smb* ls: No match. (with and without a smbfs mount point mounted by root)

Re: Mounting smbfs as user?

2007-10-22 Thread Stefan Lambrev
Hi, Ivan Voras wrote: On 18/10/2007, Roland Smith [EMAIL PROTECTED] wrote: The user in question probably needs read/write access to the /dev/smbX device in question. There is no such device: # ls /dev/smb* ls: No match. Err, /dev/smb stands for System Management Bus and have

Re: Mounting smbfs as user?

2007-10-22 Thread Roland Smith
On Mon, Oct 22, 2007 at 02:04:15PM +0200, Ivan Voras wrote: On 18/10/2007, Roland Smith [EMAIL PROTECTED] wrote: The user in question probably needs read/write access to the /dev/smbX device in question. There is no such device: # ls /dev/smb* My bad. That's a device for the system

Re: Mounting smbfs as user?

2007-10-22 Thread Ivan Voras
On 22/10/2007, Stefan Lambrev [EMAIL PROTECTED] wrote: Err, /dev/smb stands for System Management Bus and have nothing to do with smbfs :) What I found is the claim that only root is allowed to set up the kernel's iconv table And now I'm thinking, may be, if the root setup this table, the

Re: Mounting smbfs as user?

2007-10-19 Thread Andriy Gapon
on 18/10/2007 17:29 Ivan Voras said the following: Krassimir Slavchev wrote: Hi, Ivan Voras wrote: The same command works under root, and the appropriate klds are loaded: Only superuser can load modules. If you try to load module by regular user you will get: kldload: can't load

Mounting smbfs as user?

2007-10-18 Thread Ivan Voras
Hi, I'm trying to implement smbfs mounting by regular non-root users and I can't make any progress. vfs.usermount is set to 1. When I try mounting a remote file system, this is what I get: mount_smbfs -I server //[EMAIL PROTECTED]/pre mt Warning: no cfg file(s) found. mount_smbfs: can not

Re: Mounting smbfs as user?

2007-10-18 Thread Krassimir Slavchev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Ivan Voras wrote: Hi, I'm trying to implement smbfs mounting by regular non-root users and I can't make any progress. vfs.usermount is set to 1. When I try mounting a remote file system, this is what I get: mount_smbfs -I server

Re: Mounting smbfs as user?

2007-10-18 Thread Ivan Voras
Krassimir Slavchev wrote: Hi, Ivan Voras wrote: The same command works under root, and the appropriate klds are loaded: Only superuser can load modules. If you try to load module by regular user you will get: kldload: can't load .ko: Operation not permitted To clarify: the modules

Re: Mounting smbfs as user?

2007-10-18 Thread Roland Smith
On Thu, Oct 18, 2007 at 04:08:09PM +0200, Ivan Voras wrote: Hi, I'm trying to implement smbfs mounting by regular non-root users and I can't make any progress. vfs.usermount is set to 1. When I try mounting a remote file system, this is what I get: mount_smbfs -I server //[EMAIL