Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » GetExeFilePath() in Linux
Re: GetExeFilePath() in Linux [message #6388 is a reply to message #6386] Fri, 10 November 2006 10:48 Go to previous messageGo to previous message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Normally you run your application as a user and therefore the application does not have any write access to system directories llike /usr/local/bin. Reading is possible of course. But if you don't have write privileges on your application path, you also cannot store any files there.
So it does not matter where the application is located in the system unless you are using it as root, which is not advisable.

And if root installs software under /opt then it should also be read-restricted for normal users and normally these dirs are also added to PATH to comfortably execute them.

Matthias
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Double formatting bug?
Next Topic: How to catch keyboard input?
Goto Forum:
  


Current Time: Sun Aug 17 00:17:58 CEST 2025

Total time taken to generate the page: 0.05239 seconds