Forum Topic - Unable to run fs-cifs unless I'm root: (3 Items)
   
Unable to run fs-cifs unless I'm root  
I'm having problems running fs-cifs unless I'm logged in as "root". If I'm "root" then launching fs-cifs works fine and 
I can attach to my PC. If I create a user account and I run fs-cifs using non-root credentials get the following error:

$ fs-cifs
Unable to register for mount requests. Operation not permitted

I added my account to all the same groups that root is a member of:

$id
uid=100(gschmott) gid=4(adm) groups=0(root),1(bin),2(daemon),3(sys),4(adm),5(tty)

Still no luck. It's probably a permissions issue but I'm struggling to figure out how to fix it. Can anyone offer some 
suggestions?

Thanks . . .
Re: Unable to run fs-cifs unless I'm root  
Fs-cifs is trying to do resmgr_attach(), which requires uid=0.  The simple solution is make "on" setuid, then invoke  fs
-cifs as "on fs-cifs".

David

On 2011-08-03, at 7:33 AM, "Glenn Schmottlach" <community-noreply@qnx.com> wrote:

> I'm having problems running fs-cifs unless I'm logged in as "root". If I'm "root" then launching fs-cifs works fine 
and I can attach to my PC. If I create a user account and I run fs-cifs using non-root credentials get the following 
error:
> 
> $ fs-cifs
> Unable to register for mount requests. Operation not permitted
> 
> I added my account to all the same groups that root is a member of:
> 
> $id
> uid=100(gschmott) gid=4(adm) groups=0(root),1(bin),2(daemon),3(sys),4(adm),5(tty)
> 
> Still no luck. It's probably a permissions issue but I'm struggling to figure out how to fix it. Can anyone offer some
 suggestions?
> 
> Thanks . . .
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post87783
> 
Re: Unable to run fs-cifs unless I'm root  
Or you could do(as root) chmod -s /usr/sbin/op and use op to run commands as root.


----- Original Message -----
From: David Sarrazin [mailto:community-noreply@qnx.com]
Sent: Wednesday, August 03, 2011 08:51 AM
To: general-filesystems <post87790@community.qnx.com>
Subject: Re: Unable to run fs-cifs unless I'm root

Fs-cifs is trying to do resmgr_attach(), which requires uid=0.  The simple solution is make "on" setuid, then invoke  fs
-cifs as "on fs-cifs".

David

On 2011-08-03, at 7:33 AM, "Glenn Schmottlach" <community-noreply@qnx.com> wrote:

> I'm having problems running fs-cifs unless I'm logged in as "root". If I'm "root" then launching fs-cifs works fine 
and I can attach to my PC. If I create a user account and I run fs-cifs using non-root credentials get the following 
error:
> 
> $ fs-cifs
> Unable to register for mount requests. Operation not permitted
> 
> I added my account to all the same groups that root is a member of:
> 
> $id
> uid=100(gschmott) gid=4(adm) groups=0(root),1(bin),2(daemon),3(sys),4(adm),5(tty)
> 
> Still no luck. It's probably a permissions issue but I'm struggling to figure out how to fix it. Can anyone offer some
 suggestions?
> 
> Thanks . . .
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post87783
> 



_______________________________________________

General
http://community.qnx.com/sf/go/post87790