1. Linux Question
- Posted by Bernie Ryan <xotron at localnet.com> Feb 10, 2002
- 474 views
Sorry to interrupt the debate. Can anyone explain to me. If I write a program using a Linux I/O so library that requires the user to have Super User permissions to run the program. Then if I statically link library and the program will the program still require these same permissions. If this is true then how can anyone write software that can be used by all users on a linux system. Bernie
2. Re: Linux Question
- Posted by Evan Marshall <evan at net-link.net> Feb 10, 2002
- 464 views
-rwxr-xr-x permissions for the file. chmod 755 my-library.so ? maybe I misunderstand your question or Linux, my Linux is as rough as my Windows. 2/10/2002 4:49:32 PM, Bernie Ryan <xotron at localnet.com> wrote: > >Sorry to interrupt the debate. > >Can anyone explain to me. >If I write a program using a Linux I/O so library that >requires the user to have Super User permissions to >run the program. Then if I statically link library and the program >will the program still require these same permissions. >If this is true then how can anyone write software that can be >used by all users on a linux system. > >Bernie > > > >
3. Re: Linux Question
- Posted by Irv Mullins <irvm at ellijay.com> Feb 10, 2002
- 444 views
On Sunday 10 February 2002 04:49 pm, Bernie Ryan wrote: > Sorry to interrupt the debate. > > Can anyone explain to me. > If I write a program using a Linux I/O so library that > requires the user to have Super User permissions to > run the program. Then if I statically link library and the program > will the program still require these same permissions. > If this is true then how can anyone write software that can be > used by all users on a linux system. Turning off execute privileges on the .so for everyone doesn't affect the operation at all. If the shared library is readable by others, it'll work. If no one but the owner can read it, then only it won't. Regards, Irv
4. Re: Linux Question
- Posted by Evan Marshall <evan at net-link.net> Feb 10, 2002
- 478 views
Oops. That's what I meant in my previous post, too. -rwxr--r-- chmod 744, right? 2/10/2002 6:49:07 PM, Irv Mullins <irvm at ellijay.com> wrote: > >On Sunday 10 February 2002 04:49 pm, Bernie Ryan wrote: > >> Sorry to interrupt the debate. >> >> Can anyone explain to me. >> If I write a program using a Linux I/O so library that >> requires the user to have Super User permissions to >> run the program. Then if I statically link library and the program >> will the program still require these same permissions. >> If this is true then how can anyone write software that can be >> used by all users on a linux system. > >Turning off execute privileges on the .so for everyone doesn't affect >the operation at all. >If the shared library is readable by others, it'll work. >If no one but the owner can read it, then only it won't. > >Regards, >Irv > > > >