-   Linux - Newbie (
-   -   changing ownership of downloaded file (

ergo_sum 09-19-2003 05:53 PM

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.



Saraev 09-19-2003 06:03 PM

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).

win32sux 09-19-2003 07:58 PM

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!

All times are GMT -5. The time now is 12:33 AM.