give users permission to install software in their directory?
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
give users permission to install software in their directory?
How do I set up the permissions that my users can install/use software? I have mozilla installed and I cant use it unless I am logged in as root. I tried downloading and installing mozilla in my user directory but it wont let me install it. I get permission denied error. I am using vector/slack and using iceWM. thanks in advance
where x is the number code of access rights for the files owner
where y is the number code of access rights for users in the owners work-group
where z is the number code of access rights for all other users....
1 = execute
2 = write
4 = read
add them together to combine access rights...
so 4+2+1 = 7 = read write and execute.
4+1 = read and execute but not write
ect ect ect...
anyway.
cd into the mozilla directory, and issue the following commands as root.
chown -r root ./
chmod 755 -R ./
that will make root the owner of all the files in that directory.
give root read write and execute access.
and normal users read and execute access.
I changed the permissions but it still doesnt work. I dont get anything when i try to launch MozillaFirebird as a regular user. I also tried by setting permissions at 777 on that directory..still nothing
run the program in a command line terminal,
and post the error messages.
and undo the chmod 777 with chmod 755
777 is a security risk.... a virus or some maliciouse code could fiddle with the
mozilla binarys and do all kinds of bad things.
but if it is a persmissinos problem, what i said will fix it.
make sure you pass the -R parameter....
try again like this (as root)
chmod -R 755 /usr/MozillaFirebird/
(change the path for whereveryou installed mozilla)
if the problem is permissions, then that will fix it...
but like i said, run in terminal and post the error messages.
try using the full file path in your command. For example
/where/you/extracted/MozillaFirebird/MozillaFirebird
doesnt work.
Quote:
run the program in a command line terminal,
and post the error messages. and undo the chmod 777 with chmod 755
777 is a security risk.... a virus or some maliciouse code could fiddle with the
mozilla binarys and do all kinds of bad things.
There is no output in terminal or i would have posted it and I am aware about security risk associated with 777 permissions. I have no idea whats going on..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.