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

Thread: External NTFS drive permissions

  1. #1
    Join Date
    Feb 2007
    Beans
    Hidden!

    External NTFS drive permissions

    I used to share some folders on my NTFS external hard drive through samba in Jaunty. Since I upgraded to Karmic, these shares no longer work.

    It seems that the permissions for this drive are only set for myself (no permissions for group or others) and I can not change these permissions (not with chmod or with nautilus, they keep jumping back).

    I would like to have the same permissions on my external drives as in jaunty (owned by root and writable, executable by everyone). Since I use several drives I would like to avoid using /etc/fstab.

    I tried adding the key mount_options with [umask=000] in system/storage/default_options/ntfs . But this doesn't seem to work in Karmic.

    Where can I change the permissions on these automatically mounted devices.

    Thank you,
    Niko

  2. #2
    Join Date
    Feb 2007
    Beans
    Hidden!

    Re: External NTFS drive permissions

    It seems that these mount options are hard-coded in devicekit-disks.

    However I have found a dirty hack which seems to work for me. I made the following script for my two external hard drives. It first unmounts the drives, and then mounts them again with dmask=000 as mount option.

    Code:
    #!/bin/bash
    
    devkit-disks --unmount /dev/disk/by-uuid/BEDC44F4DC44A90B
    devkit-disks --unmount /dev/disk/by-uuid/0D3594370C618A2A
    
    devkit-disks --mount-options "dmask=000" --mount /dev/disk/by-uuid/BEDC44F4DC44A90B
    devkit-disks --mount-options "dmask=000" --mount /dev/disk/by-uuid/0D3594370C618A2A

    I am still looking for a solution to change the default mount options.

  3. #3
    Join Date
    Jan 2008
    Beans
    1

    Re: External NTFS drive permissions

    I am having the exact same problem. Is there a better solution to this?

  4. #4
    Join Date
    Nov 2009
    Beans
    4

    Re: External NTFS drive permissions

    I have the exact same problem as well. I'm going to file a bug.

    We can't continue to have bugs like this in newly released versions if we want to get wider adoption of Ubuntu. Do developers consider the affect that changing something like a mechanism will have for users?

    Worse, nowhere can I find any information on how to change the default permissions for mounted USB drives. Googling turns up any number of possiblities: HAL, UDEV, fstab, automount, gconf. Which one does Ubuntu use? I have no idea. I really shouldn't have to know. There are megabytes of help files but no where can I find the information I need.

  5. #5
    Join Date
    Nov 2009
    Beans
    4

    Re: External NTFS drive permissions


  6. #6
    Join Date
    Sep 2008
    Beans
    17

    Re: External NTFS drive permissions

    just wondering if there has been any updates to this problem yet..?
    Cheers
    D

  7. #7
    Join Date
    Sep 2008
    Beans
    17

    Re: External NTFS drive permissions

    Ok, well I have found a work around for this if you share over the network.
    I just shared my drive with read write access for all using samba (i know this isnt the most secure but it worked)
    Then just accessed the drive via places -> network from the other pc's
    Only problem is you still cant access the drive on the pc it is plugged into unless you're in root.
    Hope this helps someone.
    D

  8. #8
    Join Date
    Apr 2007
    Location
    California, USA
    Beans
    266
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: External NTFS drive permissions

    I see the bug is triaged in launchpad... this is driving me crazy.
    Intel Core2duo 4400, 2ghz -- Intel DP965LT motherboard, onboard sound -- nVidia 8500GT (from MSI) 256MB -- 2gig ram

  9. #9
    Join Date
    May 2008
    Beans
    5

    Cool Re: External NTFS drive permissions

    I have the same problem. I upgraded from Jaunty to Karmic and lost the ability to share external NTFS formatted drives.

    I can confirm it is a permissions problem when the drive is auto-mounted by devkit-disks. Creating a shell script to unmount and remount the relevant drive with the right permissions (as suggested above) solved it for me, but it's not ideal.

    If I find a way of modifying the default behavior of devkit-disks I post it here, however things don't look promising!
    Last edited by wackyraces; December 7th, 2009 at 03:24 PM.

  10. #10
    Join Date
    Sep 2009
    Location
    Portland, OR
    Beans
    3
    Distro
    Ubuntu Karmic Koala (testing)

    Re: External NTFS drive permissions

    Thanks for filing a bug on this. This is driving me crazy too! Does anyone know if there is a workaround for this yet?

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •