[Bug 2055226] Re: mount option `users` blocks ntfs to mount

2024-03-20 Thread UlfZibis
In the latest man pages I recently found:

Since util-linux 2.35, mount does not exit when user permissions are
inadequate according to libmount’s internal security rules. Instead, it
drops suid permissions and continues as regular non-root user. This
behavior supports use-cases where root permissions are not necessary
(e.g., fuse filesystems, user namespaces, etc).

With this new rule the "regression" concerning `mount` is explainable.

So please add a link to this note at the description of the `user(s)`
options.

Still existing: The buggy behaviour with `udisksctl mount`.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2055226

Title:
  mount option `users` blocks ntfs to mount

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/2055226/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2055226] Re: mount option `users` blocks ntfs to mount

2024-03-01 Thread UlfZibis
Both options and a third exist.

Extract from man mount in section FILESYSTEM-INDEPENDENT MOUNT OPTIONS:

   user
   Allow an ordinary user to mount the filesystem. The name of the
   mounting user is written to the mtab file (or to the private
   libmount file in /run/mount on systems without a regular mtab) so
   that this same user can unmount the filesystem again. This option
   implies the options noexec, nosuid, and nodev (unless overridden by
   subsequent options, as in the option line user,exec,dev,suid).

   nouser
   Forbid an ordinary user to mount the filesystem. This is the
   default; it does not imply any other options.

   users
   Allow any user to mount and to unmount the filesystem, even when
   some other ordinary user mounted it. This option implies the
   options noexec, nosuid, and nodev (unless overridden by subsequent
   options, as in the option line users,exec,dev,suid).

gio mount is the command line variant to simulate a mount by a GUI tool like 
Nautilus, just used to get the error message.
gio invokes udiskctl under the hood.

** Changed in: util-linux (Ubuntu)
   Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2055226

Title:
  mount option `users` blocks ntfs to mount

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/2055226/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2055226] Re: mount option `users` blocks ntfs to mount

2024-02-29 Thread Seth Arnold
Hello, thanks for the report; note that the fstab(5) and mount(8) man
pages both say "user", singular, not "users", plural. That's probably
why your mount command didn't work when run as a user.

I don't know about the gio or udisksctl tool errors, I'm unfamiliar with
their operation. Maybe they were also looking for "user"?

Thanks

** Information type changed from Private Security to Public

** Changed in: util-linux (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2055226

Title:
  mount option `users` blocks ntfs to mount

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/2055226/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs