Results 1 to 10 of 15

Thread: Permission Denied On USB Hard Drive

Hybrid View

  1. #1
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    Quote Originally Posted by Cherry5
    I can mount and un-mount by right clicking the drive
    I think you have to mount the drive first. Then you might run the ls command. If the drive is not mounted yet you could try
    Code:
    mount /dev/sdb1 /media/sdb1

  2. #2
    Junior Member
    Join Date
    Nov 2006
    Posts
    8

    Giving Up

    Thanks for the help. No matter what I do I still get 'Permission Denied' when trying to access this USB drive so I have decided that it is not worth the grief of trying anything else. All of this command line stuff is to 1970's for me. Fortunately the files on the drive are not that important and I will out of frustration be re-formatting the drive to and sticking to an OS that I am familiar with and consign all others to the trash. Once again thanks for trying to help me but my sanity is more important.

  3. #3
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Quote Originally Posted by Cherry5 View Post
    Thanks for the help. No matter what I do I still get 'Permission Denied' when trying to access this USB drive so I have decided that it is not worth the grief of trying anything else. All of this command line stuff is to 1970's for me. Fortunately the files on the drive are not that important and I will out of frustration be re-formatting the drive to and sticking to an OS that I am familiar with and consign all others to the trash. Once again thanks for trying to help me but my sanity is more important.
    For the record:
    It doesn't seem that you have tried one simple way, which will often work:

    1. fdisk -l
    2. sudo mount -o ro -t <file system type from fdisk output and man mount> <drive designation from fdisk> /media/<last part of drive designation>

    Mac OS fs types may not be autodetected by the mount command. A quick googling did not turn up any good hits for Knoppix, but this is probably not a Knoppix-specific problem, and http://sean-feeney.com/2008/06/mount...-in-linux.html has a recipe. Create /media/myfolder, unmount the drive and try

    mount -t hfsplus /dev/sda /media/myfolder

    I haven't seen the whole drive, /dev/sda, mounted like this before, normally it is specific partitions. I would also include the -o ro switch to explicitly avoid writing access.

    As the command line being 1970ish for you, it is of course your choice to exclusively use GUI tools. You will find that most active Linux users work with a combination of GUI and command line tools, and as scripting and command line use is, in general, rather closely related, there is little chance of command line being completely obsoleted anytime soon. In IT, some dinosaur species simply refuse to become extinct, they are too well adapted to current conditions.

    In your case, mounting the unit on a Mac and transferring the files via ftp could maybe also be a solution?

  4. #4
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    I have experienced MacOS fstype being detected as MANY partitions in the past; I was never sure how to approach it and gave up. Perhaps the mount is now more automatic and reliable? Has anybody actually done this?

Posting Permissions

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


GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX picture

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX

$59.99



GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5 picture

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5

$189.99



Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery picture

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery

$54.99



ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield picture

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield

$84.99



GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard picture

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard

$59.99



⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠ picture

⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠

$29.90



ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio picture

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio

$34.99



ASUS TUF GAMING B550-PLUS WIFI II AM4 AMD B550 ATX AMD Motherboard picture

ASUS TUF GAMING B550-PLUS WIFI II AM4 AMD B550 ATX AMD Motherboard

$95.99



ASRock Z370 Pro4 LGA 1151 Z370 HDMI USB 3.1 2 Ultra M.2 DDR4 ATX Motherboard picture

ASRock Z370 Pro4 LGA 1151 Z370 HDMI USB 3.1 2 Ultra M.2 DDR4 ATX Motherboard

$75.00



Dell XPS 8940 Desktop Motherboard Intel H470 LGA1200 DDR4 K3CM7 KV3RP 427JK picture

Dell XPS 8940 Desktop Motherboard Intel H470 LGA1200 DDR4 K3CM7 KV3RP 427JK

$154.99