Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-19-2003, 05:53 PM   #1
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.


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

Rep: Reputation: 30
1) chown 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
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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:

good luck!


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
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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:20 AM.

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