RE: Unable set the priority for a pthread through pthread_setschedparam

"Srinivas G." <[email protected]>
Newsgroups org.kernel.vger.linux-c-programming
Message-ID <F5BA82141F7AA94885B9643C77EEA5F2103C8A@mail.esntechnologies.co.in>
> 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
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.