LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-23-2008, 12:09 AM   #1
zzyzcx
LQ Newbie
 
Registered: Oct 2007
Posts: 12

Rep: Reputation: 0
Using separate partition for software installs


I want to use the /opt directory as a general software directory, so that when any user downloads software they can install it in the /opt directory and any other user will be able to use it. I have /opt mounted on a separate partition for this purpose.

I seem to run into problems with permissions, however. The entire directory has 777 permissions, so it seems that any user should be able to run any executable file in the directory.

But, strangely enough, when I install a program (take Firefox, for example) in the /opt directory, I have trouble running it. I get "permission denied" errors for all users, even the one that installed the program in that directory.

Is it possible to arrange the system so that any user can install to the /opt directory, and any other user can run the software located there?

I love theses forums - I have learned a lot and I keep coming back for more
 
Old 04-23-2008, 12:15 AM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Realize that by trying to do this this way you are circumventing one of the major security features of linux.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Home directory on separate partition Steve W Linux - Newbie 5 03-12-2008 01:37 PM
/var as a separate partition jong357 Slackware 18 12-24-2007 02:29 AM
/boot separate partition energiya Linux - General 7 03-27-2007 04:18 PM
Combining hard drives from separate redhat 9.0 installs wss Red Hat 3 01-25-2005 03:50 AM


All times are GMT -5. The time now is 10:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration