Re: Cannot umount ntfs-36 with umount command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think I have found what is happening.

The entry in fstab for this device (recognized by label) has the
"user" option. It is mounted using ntfs-3g with fuser, so the binary
is suid to be able to mount as ordinary user.
After mounting, the mount point has the same owner as the user who
mounted the filesystem, but said user is not allowed to umount the
filesystem.

What I did is change the "user"option into "users" (which I would
rather not have to).
My guess is the problem resides in the suid bit for ntfs-3g somehow,
but I could not find any documented behaviour.

Thank you.

On Tue, Mar 17, 2015 at 9:07 PM, dabicho <tsukebumi@xxxxxxxxx> wrote:
> Hello
>
> I am having a problem with umountint an ntfs-3g mounted filesystem
>
> This is the output I get from the commands
>
> [siirfe@010121 ~]$ mount /mnt/mac/
> [siirfe@010121 ~]$ mount |grep mac
> /dev/sdb1 on /mnt/mac type fuseblk
> (rw,nosuid,nodev,noexec,relatime,user_id=1002,group_id=1002,allow_other,blksize=4096)
> [siirfe@010121 ~]$ umount /mnt/mac/
> umount: /mnt/mac: umount failed: Operation not permitted
> [siirfe@010121 ~]$ grep mac /etc/fstab
> /dev/disk/by-label/SIIRFE_MAC     /mnt/mac   auto
> iocharset=utf8,noauto,user 0 0
> [siirfe@010121 ~]$ grep mac /etc/mtab
> /dev/sdb1 /mnt/mac fuseblk
> rw,nosuid,nodev,noexec,relatime,user_id=1002,group_id=1002,allow_other,blksize=4096
> 0 0
> [siirfe@010121 ~]$ fusermount -u /mnt/mac/
>
>
> fusermount -u works correctly
>
> What is going on here? what am I missing?
> I don't use gnome nor kde
>
> I appreciate any input. Thank you
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux