Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: [SOLVED] Changing permissions on external drive

  1. #1
    Join Date
    Feb 2008
    Beans
    267

    [SOLVED] Changing permissions on external drive

    So I connected one of those MyBook external hard drives (1 TB!) to my server. I would like for users to be able to upload and download files to and from it. The problem is I don't know how to do that. Even if I try gksudo dolphin and then try to change the permissions, when I click OK then go back to the permissions tab, they're just reverted again. I also can't create a folder within and change it's permissions, same thing happens. Does anyone know how I can achieve what I'm trying? I would really appreciate it.

    Thanks

  2. #2
    Join Date
    Dec 2006
    Location
    Maryland
    Beans
    95
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Changing permissions on external drive

    Quote Originally Posted by baudday View Post
    So I connected one of those MyBook external hard drives (1 TB!) to my server. I would like for users to be able to upload and download files to and from it. The problem is I don't know how to do that. Even if I try gksudo dolphin and then try to change the permissions, when I click OK then go back to the permissions tab, they're just reverted again. I also can't create a folder within and change it's permissions, same thing happens. Does anyone know how I can achieve what I'm trying? I would really appreciate it.

    Thanks
    Figure out where it's mounted open a terminal
    Code:
    cd /media
    sudo chown -R someuser.someuser mountpoint

  3. #3
    Join Date
    Feb 2008
    Beans
    267

    Re: Changing permissions on external drive

    Thank you for the reply.

    This is what I got back:
    Code:
    chown: changing ownership of '/media/disk': Operation not permitted

  4. #4
    Join Date
    Jan 2008
    Location
    North Alabama
    Beans
    125
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Changing permissions on external drive

    I usually do
    Code:
    sudo chmod 777 -R /media/disk
    I'm sure that's not the most secure way to do it, but I don't want permissions being screwy between all the different PCs that I use so it works best for me.
    “We cannot defend freedom abroad by deserting it at home.”
    -Thomas Jefferson

  5. #5
    Join Date
    Feb 2008
    Beans
    267

    Re: Changing permissions on external drive

    That doesn't give an error or anything, so I assume that means it worked. But when I view the permissions I still get only the user able to read and write and everyone else can only view

  6. #6
    Join Date
    Jan 2008
    Location
    North Alabama
    Beans
    125
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Changing permissions on external drive

    Something I should have asked first, is the drive formatted in EXT3?
    “We cannot defend freedom abroad by deserting it at home.”
    -Thomas Jefferson

  7. #7
    Join Date
    Feb 2008
    Beans
    267

    Re: Changing permissions on external drive

    no it's FAT32

  8. #8
    Join Date
    Jan 2008
    Location
    North Alabama
    Beans
    125
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Changing permissions on external drive

    Ah there's your problem. FAT32 doesn't do permissions. Format it (preferably to EXT3) and try it again. Should work like a charm.
    “We cannot defend freedom abroad by deserting it at home.”
    -Thomas Jefferson

  9. #9
    Join Date
    Feb 2008
    Beans
    267

    Re: Changing permissions on external drive

    sorry, this could be stupid, but when i open gparted and go to that drive, it won't allow me to format it. is there something i need to do first.

  10. #10
    Join Date
    Jan 2008
    Location
    North Alabama
    Beans
    125
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Changing permissions on external drive

    First you have to unmount it, then format it. Then unplug the drive and plug it back in is the easiest way. It should come up 1TB media on the desktop and then you should be able to chmod or chown it.
    “We cannot defend freedom abroad by deserting it at home.”
    -Thomas Jefferson

Page 1 of 2 12 LastLast

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
  •