Find the answer to your Linux question:
Results 1 to 6 of 6
Hi, I have an external hard drive, formatted as ext2, which I can use fine on my laptop. When I plug it into my desktop however I can cd to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    3

    External HDD permisions problem


    Hi,

    I have an external hard drive, formatted as ext2, which I can use fine on my laptop. When I plug it into my desktop however I can cd to the disk, I can 'ls' see the list of directories and files, but I cannot descend into directories or read the files.

    The permissions are set to:
    drwxr-xr-x 3 500 mysql 4096 Feb 9 17:31 usb0

    When I plug it back into my laptop I can access it fine as before.

    Any suggestions?
    (I dont have root on the desktop so cannot chown)

  2. #2
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    as there "x-r" execute permission for other users. you should be able to Open the directory and read the contents.

    does it return you any error?
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  3. #3
    Just Joined!
    Join Date
    Feb 2009
    Posts
    3
    Yep, I can cd to the drive, but cannot descend any deeper or create any files on the drive. Eg

    ls -l /media
    drwxr-xr-x 3 500 mysql 4096 Feb 9 17:31 usb0

    cd /media/usb0
    ls -l
    drwx------ 62 500 mysql 4096 Feb 11 09:04 laptop_backup

    cd laptop_backup/
    laptop_backup/: Permission denied.

    touch file.txt
    touch: cannot touch `file.txt': Permission denied

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    drwx------ 62 500 mysql 4096 Feb 11 09:04 laptop_backup
    Only root user has premission to access it and without root privileges Regular users can't do anything.

    (I dont have root on the desktop so cannot chown)
    In that case, its not possible to access disk.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Just Joined!
    Join Date
    Feb 2009
    Posts
    3
    Is there some way I can set up the disk to be viewable by both my laptop and my desktop? (Even if it means totally wiping it and starting over again - I don't mind doing that if it means I can actually use the disk for what I want!)

  7. #6
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    boot up with fedora live cd, login as root, copy the files in your home folder and change the permissions.
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

Posting Permissions

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