LinuxQuestions.org
Help answer threads with 0 replies.
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 11-04-2003, 06:29 AM   #1
iLLuSionZ
Member
 
Registered: Oct 2003
Location: MI
Distribution: Knoppix 3.3 = XP = Mandrake 9.2
Posts: 343

Rep: Reputation: 30
Redhat folder permissions


hey guys lol... i have soo many questions...

next is... i put stuff in folders to organize and then try to install rpm's and it says that folder not accesible because of permisssions.. how do i fix it so everything is "unlocked" sort of speak ?
 
Old 11-04-2003, 06:33 AM   #2
koyi
Member
 
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Rep: Reputation: 31
are you trying to install as a normal user?
You hav to log in as root to install programs.

$ su
password: (enter your root password)
# rpm -iv xxx.rpm
 
Old 11-04-2003, 06:39 AM   #3
iLLuSionZ
Member
 
Registered: Oct 2003
Location: MI
Distribution: Knoppix 3.3 = XP = Mandrake 9.2
Posts: 343

Original Poster
Rep: Reputation: 30
i dont use that command i just right click the file and then select install packages.. i use KDE. its automatic. i can do it on desktop and in home directory but not in a folder i make. BAhh!!!
 
Old 11-04-2003, 06:51 AM   #4
denominator
Member
 
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 42

Rep: Reputation: 15
thats part of linux's security. you cant mess with the stuff that you don't need access to. What do you mean when you say that you cant install in a folder that you make... try and make a folder in any place other than your home folder and you'll see that it doesn't let you do that. BTW the "desktop" is just another folder in your home folder!!!! if you log in as some other user, you won't see the same desktop.
 
Old 11-04-2003, 07:02 AM   #5
iLLuSionZ
Member
 
Registered: Oct 2003
Location: MI
Distribution: Knoppix 3.3 = XP = Mandrake 9.2
Posts: 343

Original Poster
Rep: Reputation: 30
yeah why cant i make a folder somewhere else? i have folder on my desktop called install and it wont let me do it.... i dunno why.
 
Old 11-04-2003, 07:21 AM   #6
denominator
Member
 
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 42

Rep: Reputation: 15
The idea is to limit damage to a user's "home" directory (/home/username) in case the user does something foolish. You'll see this command

rm -fr /

every now and then. THIS IS SUPPOSED TO BE A JOKE!!! if executed as root, it will wipe out every file on your system. if you've got a windows partition mounted, it will delete all files there as well !!
Basically, the normal way to install stuff is to do it as root. root has unlimited access to all files on the computer. No restrictions.
 
Old 11-04-2003, 07:24 AM   #7
iLLuSionZ
Member
 
Registered: Oct 2003
Location: MI
Distribution: Knoppix 3.3 = XP = Mandrake 9.2
Posts: 343

Original Poster
Rep: Reputation: 30
huh? lol

where should i install all my stuff to and put my music and pics?
 
Old 11-04-2003, 07:31 AM   #8
denominator
Member
 
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 42

Rep: Reputation: 15
install stuff wherever the program wants you to. if it doesn't care where, you can choose your own place. (but do it as root)

put music and stuff in your home folder. you have complete control over your home folder. create folders, delete em, screw everything up... linux doesn't care At most your preferences for various programs will be messed up, but the computer still works, atleast

Last edited by denominator; 11-04-2003 at 07:42 AM.
 
Old 11-04-2003, 07:33 AM   #9
iLLuSionZ
Member
 
Registered: Oct 2003
Location: MI
Distribution: Knoppix 3.3 = XP = Mandrake 9.2
Posts: 343

Original Poster
Rep: Reputation: 30
rm -fr /

where will i see this command? and dont do what with it? lol im a n00b sry
 
Old 11-04-2003, 07:44 AM   #10
denominator
Member
 
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 42

Rep: Reputation: 15
err, i mentioned it was a joke, right? you'll probably come across it in someone's signature here.

do NOT try to execute that command.
 
  


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
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 06:23 PM
folder Permissions issinho Linux - Security 3 07-10-2005 03:35 PM
folder permissions steve007 Linux - Newbie 1 06-30-2005 01:46 PM
Folder permissions Canam97 Mandriva 7 03-11-2005 12:01 AM
Folder Permissions DB03 Linux - Newbie 5 04-18-2004 04:08 PM


All times are GMT -5. The time now is 08:15 PM.

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