Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - groups and qnet: (4 Items)
   
groups and qnet  
I have a resource manager which creates a node under /dev with permissions:

nrw-rw-r--  1 flight flight 0 Aug 26 13:27 server

My id is:

uid=101(nort) gid=0(root) groups=150(flight)

On the local node, I can:

  echo "Log Test" >/dev/.../server

but from another node:

  echo "Log Test" >/net/cs210/dev/.../server

I get permission denied. /etc/passwd and /etc/group are identical on the two systems. All intermediate nodes have world 
execute permission. If I:

  chmod o+w /dev/.../server

I can write from the remote node.

Any idea what the problem might be?
RE: groups and qnet  
Can you put some code in your resource manager's open() function, to see
what client info you got?

-xtang 

> -----Original Message-----
> From: Norton Allen [mailto:community-noreply@qnx.com] 
> Sent: Tuesday, August 26, 2008 1:32 PM
> To: ostech-core_os
> Subject: groups and qnet
> 
> I have a resource manager which creates a node under /dev 
> with permissions:
> 
> nrw-rw-r--  1 flight flight 0 Aug 26 13:27 server
> 
> My id is:
> 
> uid=101(nort) gid=0(root) groups=150(flight)
> 
> On the local node, I can:
> 
>   echo "Log Test" >/dev/.../server
> 
> but from another node:
> 
>   echo "Log Test" >/net/cs210/dev/.../server
> 
> I get permission denied. /etc/passwd and /etc/group are 
> identical on the two systems. All intermediate nodes have 
> world execute permission. If I:
> 
>   chmod o+w /dev/.../server
> 
> I can write from the remote node.
> 
> Any idea what the problem might be?
> 
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post12447
> 
> 
Re: groups and qnet  
That would be the next thing to check. May not happen too soon.

Xiaodan Tang wrote:
> Can you put some code in your resource manager's open() function, to see
> what client info you got?
>
> -xtang 
>
>   
>> -----Original Message-----
>> From: Norton Allen [mailto:community-noreply@qnx.com] 
>> Sent: Tuesday, August 26, 2008 1:32 PM
>> To: ostech-core_os
>> Subject: groups and qnet
>>
>> I have a resource manager which creates a node under /dev 
>> with permissions:
>>
>> nrw-rw-r--  1 flight flight 0 Aug 26 13:27 server
>>
>> My id is:
>>
>> uid=101(nort) gid=0(root) groups=150(flight)
>>
>> On the local node, I can:
>>
>>   echo "Log Test" >/dev/.../server
>>
>> but from another node:
>>
>>   echo "Log Test" >/net/cs210/dev/.../server
>>
>> I get permission denied. /etc/passwd and /etc/group are 
>> identical on the two systems. All intermediate nodes have 
>> world execute permission. If I:
>>
>>   chmod o+w /dev/.../server
>>
>> I can write from the remote node.
>>
>> Any idea what the problem might be?
>>
>> _______________________________________________
>> OSTech
>> http://community.qnx.com/sf/go/post12447
>>
>>
>>     
>
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post12449
>   
Re: groups and qnet  
I have confirmed that I see the same behavior when attempting to write to a regular file with the same permissions, so 
this is apparently not something specific to my resource manager, although it may well be specific to my network setup. 
Would it be possible for you to verify that this actually works on your network?