LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Download file into directory as root? (https://www.linuxquestions.org/questions/linux-newbie-8/download-file-into-directory-as-root-93709/)

guitarnix 09-17-2003 04:07 AM

Download file into directory as root?
 
I want to download a file into a directory as root (i.e. usr/local/src). I get a message saying that I don't have permission. Is there a way I can download the file as root without logging in as root and without changing permissions to the directory to accept a regular user.

XavierP 09-17-2003 04:29 AM

Have you tried using su?

type su and hit enter
type in root password, hit enter
copy or move the file from your home dir to the target dir.

guitarnix 09-17-2003 04:36 AM

actually, that is what i did, however, i was wondering if i could do it straight from the browser and save directly to the desired directory.

side note...

XavierP, i see by your signature that you have a toshiba laptop. do u have linux installed on it? if so, what distro and did the install go alright? i, too, have a toshiba laptop and i am considering installing linux on it.

XavierP 09-17-2003 08:55 AM

No problems with installing Slackware, Red Hat or Mandrake. I had problems with Debian, but that may be me.

For work reasons I now dual boot between XP and Red Hat. All works well.


All times are GMT -5. The time now is 09:25 PM.