PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Installed PGI Workstation as root

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
fkelly



Joined: 02 Mar 2006
Posts: 2

PostPosted: Fri Mar 03, 2006 3:18 pm    Post subject: Installed PGI Workstation as root Reply with quote

Someone helping me install PGI Workstation installed as root. Another person suggested using the following command to fix it:

"chown -R myname:mygroup /usr/pgi"

I may not know alot about Linux, but don't think this will work. Many files and directories are not owned by root, e.g. "ls -la /usr/pgi/linux86/6.1" gives

drwxr-xr-x 4 909 1004 4096 Mar 2 16:45 bin

for the bin directory. I doubt if I should be the owner of files and directories such as these!! Since the person who installed it didn't leave me a copy of the download, can I fix it by individually editing only the ownership of files and directories owned by root or is it necessary to completely reinstall?
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6218
Location: The Portland Group Inc.

PostPosted: Mon Mar 06, 2006 2:20 pm    Post subject: Reply with quote

Hi fkelly,

Actually, it shouldn't matter who the owner and group are so long the objects are world readable and executable. However, it's not a bad idea to change them to be more uniform with what you normally use on your system. So "chown -R myname:mygroup /usr/pgi" is fine as is "chown -R root:mygroup /usr/pgi". You should not need to re-install.

- Mat
Back to top
View user's profile
fkelly



Joined: 02 Mar 2006
Posts: 2

PostPosted: Wed Mar 08, 2006 8:17 am    Post subject: Installed PGI as root Reply with quote

Hi Mat,
OK. Perhaps the reason I could not execute PGI was the fact that the /usr/pgi directory was not world executable. "ls -la /usr" yielded
drwxr-xr-- 3 root root pgi
I did a test install in different directory and the world permissions were set to r-x and I was able to execute PGI compilers. So the person who helped me install originally must have done something to make it non-executable to the world. Is this the reason I had trouble?
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6218
Location: The Portland Group Inc.

PostPosted: Wed Mar 08, 2006 9:55 am    Post subject: Reply with quote

Hi fkelly,

This was the most likely reason.

- Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group