Created attachment 231553 [details]
patch to enable ntfsusermap tool
Don't know if there is any reason, why ntfsusermap is not build and installed with the current port sysutils/fusefs-ntfs?
After patching and rebuilding the port with the attached patch, I had been able to generate a so called 'UserMap' file with ntfsusermap from an NTFS partition and copied it into a '.NTFS-3G' named directory of that NTFS partition. After mounting, the permissions seem to work as expected.
BTW: There is also a newer release of NTFS-3g in the Github repo:
^Triage: Reporter is committer, assign accordingly.
With no objection from the maintainer during past three months, I think you can commit it Rainer.
A commit in branch main references this bug:
Author: Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2022-05-24 05:07:23 +0000
Commit: Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2022-05-24 05:16:51 +0000
sysutils/fusefs-ntfs: Add ntfsusermap tool
ntfsusermap creates a so called 'UserMap' file from a NTFS partition.
When the user copies it to a '.NTFS-3G' named directory of this NTFS
partition, the permissions should be set after mounting.
Approved by: maintainer timeout
sysutils/fusefs-ntfs/files/patch-ntfsprogs__Makefile.in | 10 ++++++----
sysutils/fusefs-ntfs/pkg-plist | 5 +++--
2 files changed, 9 insertions(+), 6 deletions(-)
(In reply to Alexey Dokuchaev from comment #2)
Hi Alexey, thanks for the reminder ;)
I've reworked this ad hoc approach in ports 2633fefb6d4a, there's actually a configure option for that matter (and one less patch to maintain in the port).
(In reply to Alexey Dokuchaev from comment #5)
Great! That is a much better solution than mine. I must have overlooked the option in configure.
And thanks for the info :)