Results 1 to 6 of 6

Thread: using su when running from external hard drive

  1. #1
    Join Date
    Sep 2015
    Beans
    1

    using su when running from external hard drive

    I have Ubuntu 18.04.01 LTS running from an external hard drive.

    Anyone know how I can run as a super user? I want to copy files from the computer onto the external drive, and it refuses.

    I have set all the files and directories I can access with sudo to executable, readable and writeable.

    Colin

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    20,547
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: using su when running from external hard drive

    Ubuntu uses the sudo command.

    Running any gui programs using sudo will often lead to all sorts of problems, some will prevent future logins.

    As for the external drive access, there are a number of considerations depending on where it is mounted and which filesystem it has.
    df -Th will show that.
    Running a mount command will show the options for each mount as well.

    With that data, we can solve the problem. However, if that external storage is using a non-Linux file system, the necessary commands and setting are much more hassle.

    We want to solve this the correct way, not give you a gun, have you point it at your foot, hand, or head and walk away. By the specific question, I've made some assumptions that knowledge concerning permissions and mounts aren't complete.
    Last edited by TheFu; July 4th, 2020 at 01:52 PM.

  3. #3
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: using su when running from external hard drive

    Support, not chat.

    Thread moved to General Help.
    Ubuntu 18.04 Desktop Guide - Ubuntu 20.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags - IRC #ubuntuforums

    Member: Not Canonical Team

    Please do not PM me about your forum account unless you have been asked to. Unsolicited PMs about your account will be ignored. The correct place to contact an admin about your account is here.

  4. #4
    Join Date
    Nov 2004
    Location
    Maine
    Beans
    2,387
    Distro
    Ubuntu

    Re: using su when running from external hard drive

    install the following in terminal type
    Code:
    sudo apt install nautilus-admin
    when that is finished you will find a right click menu entry that says
    Code:
    open as administrator
    you can use this to copy and paste any file to where ever you want it. But be careful you could damage your system. if you move a file to the wrong location. Good luck.
    Wireless script
    Dave
    Registered Linux User #462608
    Morse Code an early Digital Mode.

  5. #5
    Join Date
    May 2010
    Beans
    472

    Re: using su when running from external hard drive

    Just mount the partition properly to give your user access. What file system does the destination storage use please?

  6. #6
    Join Date
    Aug 2011
    Location
    51.8° N 5.8° E
    Beans
    5,295
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: using su when running from external hard drive

    Quote Originally Posted by kolin-w View Post
    I have set all the files and directories I can access with sudo to executable, readable and writeable.
    What does that mean? It sounds like a bad idea.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •