This week's book giveaway is in the Testing forum.
We're giving away four copies of Practical Unit Testing with TestNG and Mockito and have Tomek Kaczanowski on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes Running apps installed as ROOT Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Reply Bookmark "Running apps installed as ROOT" Watch "Running apps installed as ROOT" New topic
Author

Running apps installed as ROOT

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I installed StarOffice 6.0 Beta as root and now I can only run it as root. What did I do wrong? As myself I can run it, but as soon as I try any action in the program, it crashes. If I run it as root, no problems. Any ideas?
Joe Gilvary
Ranch Hand

Joined: May 11, 2001
Posts: 152
Perhaps only root has execute permission.
You need to set it executable for other users.
chmod +x nameOfExecutableThatRootCanRun
should do it.
Try running
man chmod
at the command line if you are not familiar with it.
HTH,
Joe
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 12513

Actually, I think that it's more of a matter of "it runs under whichever user you install it as". StarOffice 5 seemed to be the same way. Curious, since Sun should certainly know multi-user environments.


One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
 
 
subject: Running apps installed as ROOT
 
Threads others viewed
Setting path in linux
Can not start Persistent Name Server in VAJ Enterprise 4.0
Create Directory through Java
my artifacts.xml file is deleted from eclipse root folder. please help.
eclipse ide problem to find installation error. please help.
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com