You are not logged in.

#1 2025-12-21 20:51:04

Paruga
Member
From: Germany
Registered: 2013-02-07
Posts: 19
Website

[SOLVED] Masking NTFS Partition Access (user/group specific)

Hello,

I'm currently working on a setup and my issue is the following: I'm seeing the partitions of my internal drive in dolphin. They are ntfs partitions mounted at boot, gated behind a folder and through other file managers I can't access them - as intended.

I was wondering: What is dolphin doing differently?

Last edited by Paruga (2025-12-28 00:49:49)


---sometimes the obvious isn't there!--- | usermod -l root omnissiah

Offline

#2 2025-12-21 22:34:55

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,422

Re: [SOLVED] Masking NTFS Partition Access (user/group specific)

other file managers [] can't access them

Are you saying that Dolphin can list the files on those partitions but other managers can't? Or are the partitions just "shown" but you can't actually list their files with Dolphin? Because those would be completely different issues.

Offline

#3 2025-12-22 12:41:45

Paruga
Member
From: Germany
Registered: 2013-02-07
Posts: 19
Website

Re: [SOLVED] Masking NTFS Partition Access (user/group specific)

twelveeighty wrote:

Are you saying that Dolphin can list the files on those partitions but other managers can't? Or are the partitions just "shown" but you can't actually list their files with Dolphin?

They are "shown" in Dolphin (listed as devices) I can directly access via the devices icon.
The mount points are however inside another folder the user cannot see into.

So, I'm somehow trying to bind windows partitions into my system without Dolphin showing them. But I don't want to just hide them in dolphin, I care more about how it does that.


---sometimes the obvious isn't there!--- | usermod -l root omnissiah

Offline

#4 2025-12-22 16:21:19

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,422

Re: [SOLVED] Masking NTFS Partition Access (user/group specific)

Most likely Dolphin either reads /etc/fstab or makes an API call to list mount points, both are accessible by non-root users. You'll have to configure Dolphin to not list those partitions.

Offline

#5 2025-12-24 23:07:55

Paruga
Member
From: Germany
Registered: 2013-02-07
Posts: 19
Website

Re: [SOLVED] Masking NTFS Partition Access (user/group specific)

It's not the fstab. Unless removing the read flags for others (and group) isn't enough.

What API might it be using and might there be a way to influence it?

(The idea was stupid but if I would want to hide a partition without removing it from the partition table, how would I do it?)


---sometimes the obvious isn't there!--- | usermod -l root omnissiah

Offline

#6 2025-12-25 03:44:00

dimich
Member
From: Kharkiv, Ukraine
Registered: 2009-11-03
Posts: 449

Re: [SOLVED] Masking NTFS Partition Access (user/group specific)

Paruga wrote:

What API might it be using and might there be a way to influence it?

Pretty sure it ends up using udisks2.

Offline

#7 2025-12-28 00:48:39

Paruga
Member
From: Germany
Registered: 2013-02-07
Posts: 19
Website

Re: [SOLVED] Masking NTFS Partition Access (user/group specific)

OK, I figured it out:

What I was looking for was to change

UUID=XYZ /mountpoint ntfs options

into

UUID=XYZ /mountmount ntfs-3g options

which makes the partitions behave as you would expect them to do.


---sometimes the obvious isn't there!--- | usermod -l root omnissiah

Offline

Board footer

Powered by FluxBB