LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 09-19-2003, 05:53 PM   #1
ergo_sum
Member
 
Registered: Aug 2003
Posts: 253

Rep: Reputation: 30
changing ownership of downloaded file


Hello All:

I've downloaded a big file and everything has gone well, except that I downloaded it as a user rather than as root.
Is there a way I can change the ownership of the file to root so I can go ahead and install it?

I'm using RH, distro 7.3 w/ kde.

Please let me know. I feel the blush of newbieness upon me, and it's pretty embarrassing.
Live and learn.

Anxiously awaiting a relevant reply.

Thanks,

ergo_sum
 
Old 09-19-2003, 06:03 PM   #2
Saraev
Member
 
Registered: Apr 2002
Location: Los Gatos, CA
Distribution: boring redhat 9
Posts: 163

Rep: Reputation: 30
1) chown user.group filename
( chown root.root downloadedFile)

2) Root can install it anyway. Root can do whatever it wants on the system, which is why it's good that you downloaded the file as a user. It means you weren't surfing as root (bad bad thing to do).
 
Old 09-19-2003, 07:58 PM   #3
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
just like Saraev says, root can work with files no matter what permissions a user sets to them...

these are the two main commands you use to work with permissions and owners in Linux:

http://www.die.net/doc/linux/man/man1/chmod.1.html

http://www.die.net/doc/linux/man/man1/chown.1.html

good luck!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing ownership of vfat mount maamold Linux - Software 2 02-25-2005 02:27 AM
changing the ownership djh Slackware 3 11-08-2004 04:16 AM
Changing ownership of folders Nurfen Linux - Newbie 1 08-01-2004 12:00 PM
changing file ownership /dev/dsp (doesnt work..) icehenge Linux - General 8 03-12-2004 08:48 PM
Changing file ownership on Fat32 drives Steave Linux - General 7 07-30-2001 04:14 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration