You are not logged in.

#1 2022-01-08 13:40:02

krey
Member
From: New York City
Registered: 2011-10-09
Posts: 22

mount options in file manager (thunar, pcmanfm)

Is it possible to specify mount options on the user level to configure the mount options for thunar or pcmanfm? They seem to respect /etc/fstab. Is there like a ~/.config/thunar/fstab or something?

Context:
I have an NTFS drive that's mounted with 777 permissions by default and would like to change that. (Plus ntfs-3g is used instead of the kernel driver)

Related threads:
How to change Gnome 3 GVFS mount options? -> no replies
[SOLVED] automount - change mount options -> use SpaceFM
Default mount options for devices mounted in XFCE GUI -> configure it using udiskie? I don't think this would actually work
noatime-mount with Thunar-Volman -> config option since removed

Last edited by krey (2022-01-08 13:46:00)

Offline

#2 2022-01-08 15:32:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,310

Re: mount options in file manager (thunar, pcmanfm)

Most user space mounts are handled by udisks, as such you need to check the documentation for udisks: http://storaged.org/doc/udisks2-api/2.9 … tions.html

Offline

#3 2022-01-09 18:03:22

krey
Member
From: New York City
Registered: 2011-10-09
Posts: 22

Re: mount options in file manager (thunar, pcmanfm)

Thanks! Unfortunately it looks like this is still on the system level.

Offline

#4 2022-01-09 18:36:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,310

Re: mount options in file manager (thunar, pcmanfm)

Yes? Udisks operates on a system level so that thunar and other file manager don't have to. They handle the appropriate mount options and even allow it to mount things in the first place. If you wanted to avoid that you'd have  to manually mount stuff in places only accessible to your user and handle the options yourself. Udisks doesn't have an user only mode as far as I'm aware, and it wouldn't make much sense with many file systems.

Offline

#5 2022-01-09 21:34:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,360

Re: mount options in file manager (thunar, pcmanfm)

Allowing users to control random mount options (esp. umask) is a security nightmare - why do you (think you) need this?
If you care about a particular device, you can add it to fstab and reference it by its UUID or even label (rather than the probably non-static device node) and define the desired mount options there.

Online

Board footer

Powered by FluxBB