Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: HOWTO: Mount NTFS partitions with specific ownership/permissions

  1. #11
    Join Date
    Dec 2009
    Location
    Germany
    Beans
    43
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: HOWTO: Mount NTFS partitions with specific ownership/permissions

    Thanks for that tutorial,
    but i still have a quite similar problem:
    i tried to mount one partition of an external usb-drive with 'mixed' partitions by adding the line in the /etc/fstab:
    p, li { white-space: pre-wrap; }
    # Toshiba 2,5" USB-Sicherungsplatte, ext2-Partition,
    UUID=93a2b065-1ddc-4710-8e3e-122ea4d5db7b /media/Tosh25_ext2 ext2 users
    p, li { white-space: pre-wrap; }
    Now i get three times questions for the root-password when i login to the system!?
    I thaught, the option users should allow anyone to mount the partition?
    Thanks for advice
    mue.de

  2. #12
    Join Date
    Apr 2010
    Location
    England
    Beans
    3,286

    Re: HOWTO: Mount NTFS partitions with specific ownership/permissions

    I thaught, the option users should allow anyone to mount the partition?
    That's correct. From mount's man page:

    Code:
                  Normally, only the superuser can  mount  filesystems.   However,
                  when fstab contains the user option on a line, anybody can mount
                  the corresponding system.
    ...
                  For  more  details,  see fstab(5).  Only the user that mounted a
                  filesystem can unmount it again.  If any user should be able  to
                  unmount,  then use users instead of user in the fstab line.
    I suspect your problem lies elsewhere. You shouldn't ever be asked for your root password when using Ubuntu, as the root account is disable by default.

    If you comment out that fstab entry (by adding a hash [#] to the start of the line), does the problem desist?
    Last edited by WorMzy; July 2nd, 2011 at 08:16 PM.
    http://xkcd.com/293/
    There are 10 kinds of people in this world: Those who understand ternary, those who don't, and those who confuse it with binary.

  3. #13
    Join Date
    Dec 2009
    Beans
    6,776

    Re: HOWTO: Mount NTFS partitions with specific ownership/permissions

    The user and users mount option will be ignored at boot and only comes up after everything has been mounted or if the noauto option is also included. It's explanation in the man pages is misleading because it doesn't do what the man pages implies that it does - at least not in the way it implies. In any event there are no users at the time that fstab is executed - well except for root.

    UUID=93a2b065-1ddc-4710-8e3e-122ea4d5db7b /media/Tosh25_ext2 ext2 users
    You might start with finishing the sentence:
    UUID=93a2b065-1ddc-4710-8e3e-122ea4d5db7b /media/Tosh25_ext2 ext2 users 0 0
    But at the end of the day I agree with what I think is the direction WorMzy is heading. Why have a mount expression at all in fstab for an external usb drive.

  4. #14
    Join Date
    Dec 2009
    Location
    Germany
    Beans
    43
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: HOWTO: Mount NTFS partitions with specific ownership/permissions

    Thanks for the replies,

    @WorMzy
    If you comment out that fstab entry (by adding a hash [#] to the start of the line), does the problem desist?
    I deleted the new entry and got still the three password questions: so you're right when you say 'your problem might lies elsewhere', but it occured the first time as i added this line to the fstab.
    How can i find where the three kdesudo questions have their origion?

    @Morbius1

    I'll try it (finishing the sentence) and reply later.
    With that entry in the fstab i wanted the external usb-drive to be mounted alltimes at the same place, so that i could run a cron-job (rsync) with a fixed target-name (far saving my /home-directory).
    Eventually could i have used the e2fslabel-Command for naming the usb-partition?
    P.S. the origion of the kdesudo boxes:
    note265.png

    Thanks a lot for your replies
    Last edited by mue.de; July 3rd, 2011 at 12:34 AM. Reason: Appending snapshot

  5. #15
    Join Date
    Sep 2007
    Location
    Paradise, Vancouver Isl.
    Beans
    Hidden!
    Distro
    Ubuntu Mate 18.04 Bionic Beaver

    Re: HOWTO: Mount NTFS partitions with specific ownership/permissions

    What I want to find out is how to get execution permissions for a thumb drive that is mounted after I have already logged in. I don't want to add the thumb to my fstab (since it is not installed when I boot the computer) I know there must be a way, but I am at a loss after investigating for weeks! I'm not sure how the device is mounted in gnome - where would I change that configuration option?

    The thumb drive is automatically mounted when I plug it in, and all the files are visible (although the drive mount type is msdos)

    ??

    Is it because msdos is an insecure partition type?

    John

    I think that was it! I reformatted the thumbdrive to an ext4 partition, and now it works perfectly!! Thanks for your patience while I figured this out!!
    Last edited by jefelex; July 5th, 2011 at 08:36 AM.
    .

  6. #16
    Join Date
    Dec 2011
    Beans
    1

    Talking Re: HOWTO: Mount NTFS partitions with specific ownership/permissions

    Thank you. This info was exactly what i needed. It helped me.

  7. #17
    Join Date
    Jul 2010
    Beans
    6

    Re: HOWTO: Mount NTFS partitions with specific ownership/permissions

    thanx WorMzy for the tutorial that was very helpful

  8. #18
    Join Date
    May 2012
    Beans
    1

    Re: HOWTO: Mount NTFS partitions with specific ownership/permissions

    It worked! Thank you so very much!

  9. #19
    Join Date
    Jun 2009
    Beans
    8

    Re: HOWTO: Mount NTFS partitions with specific ownership/permissions

    wow, thanks man it was really helpful

  10. #20
    Join Date
    Apr 2012
    Beans
    1

    Re: HOWTO: Mount NTFS partitions with specific ownership/permissions

    Thanks

Page 2 of 3 FirstFirst 123 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
  •