There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash driver drivers error ethernet excel freeze gaming google gpu hard drive hardware hdmi internet laptop malware memory missing monitor motherboard network operating system printer problem ram registry router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
rpm install permission using root

Reply  
Thread Tools
raccoon's Avatar
raccoon
Guest with n/a posts.
 
14-Jun-2004, 01:27 AM #1
rpm install permission using root
i am trying to add java to my web brouser. I copied my downloaded binary file to a new folder /usr/java and did rpm -i javaXXXXXfilename as per the instructions and got permision denied. I had the same results running the self extracting version. I am logged in as root. is there a gui for rpm.
oblivious69's Avatar
Member with 137 posts.
 
Join Date: Jun 2004
Experience: Advanced
14-Jun-2004, 02:17 AM #2
you might need to make the file executable.

Try doing something like "chmod a+x javaXXXXXfilename" and then run the rpm command.
raccoon's Avatar
raccoon
Guest with n/a posts.
 
14-Jun-2004, 06:19 PM #3
I tried the chmod and that command gives me the message "invalad mode string"
I read the man and info pages ? did I just type it wrong

yup i had spaces between the a + and x
Whiteskin's Avatar
Senior Member with 2,051 posts.
 
Join Date: Nov 2002
Location: Alberta, Canada
Experience: Windows: Decent. Unix/Linux: Advanced +1
14-Jun-2004, 07:54 PM #4
Nospaces a+x means all users get execute permissions. chmod a+x javablahblahblah. (Its cases like these that make me want to kiss the feet of the inventors of apt. )
SIGKILL's Avatar
SIGKILL
Guest with n/a posts.
 
19-Jun-2004, 07:05 PM #5
Try a chmod using absolute mode as opposed to symbolic mode... For example instead of "chmod user+x" do a "chmod 744 javafilename"... this way only the owner has full permissions to the binary. Or if you really want to, you can append an ACL to the file using the setfacl command... "setfacl -m u:root:rwx javafilename"... this way the default permissions are intact while special permissions are appended for a particular UID.
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 10:05 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.