Re: Unable set the priority for a pthread through pthread_setschedparam

Manish Katiyar <[email protected]>
Newsgroups org.kernel.vger.linux-c-programming
Message-ID <[email protected]>
On Tue, Feb 3, 2009 at 11:57 AM, Srinivas G.
<[email protected]> wrote:
>> The man page says it all
>>
>>               !EPERM!
>>                      the calling process does not have superuser
>> permissions
>>
>> you cannot unless you have superuser permissions.
>>
>
> Dear Manish,
>
> Thanks for the information.
>
> I have seen the man pages and find the following.
>
> EPERM  The caller does not have appropriate privileges to set the
> specified
>       scheduling policy and parameters.
>
> I have tried to set the super user permissions to a normal user through
> user and groups. However I found there are lot of different groups

one with id 0 .. see /etc/group

Thanks -
Manish

> exists like
> adm
> apache
> avahi
> bin
> daemon
> dbus
> dip
> etc.
>
> Which groups shall I need to select for setting the super user
> permissions?
>
> Thanks in advance.
>
> Thanks and Regards,
> Srinivas G
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.