You apparently need to be a member of the disk
group to mount a filesystem as an otherwise unprivileged user.
sudo usermod -aG disk $USER
And log out and back in again.
Git Clone URL: | https://aur.archlinux.org/ttf-ms-win11-auto.git (read-only, click to copy) |
---|---|
Package Base: | ttf-ms-win11-auto |
Description: | Microsoft Windows 11 Traditional Chinese TrueType fonts |
Upstream URL: | https://www.microsoft.com/typography/fonts/product.aspx?PID=164 |
Licenses: | custom |
Conflicts: | ttf-ms-win11-zh_tw |
Provides: | ttf-ms-win11-zh_tw |
Submitter: | octocorvus |
Maintainer: | octocorvus (kode54) |
Last Packager: | kode54 |
Votes: | 74 |
Popularity: | 5.76 |
First Submitted: | 2022-05-06 13:39 (UTC) |
Last Updated: | 2024-05-06 21:28 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »
You apparently need to be a member of the disk
group to mount a filesystem as an otherwise unprivileged user.
sudo usermod -aG disk $USER
And log out and back in again.
After the update I am still getting:
- Mount filesystems as a non-privileged user: Error setting up loop device for test.mount: GDBus.Error:org.freedesktop.UDisks2.Error.NotAuthorizedCanObtain: Not authorized to perform operation
/home/user/.cache/paru/clone/ttf-ms-win11-auto/PKGBUILD: line 406: -1: substring expression < 0
Updated. Thanks for adding me, @octocorvus, and thanks @jdigi78 for that loopDev fix. Also thanks to @kddlb for informing me of the registration form for retrieving the latest evaluation ISO URL for the package.
@kode54 added you as co-maintainer
@jdigi78 Your fix isn't working here. Maybe someone else can look at this then?
Edit: Never mind. I missed that I needed to delete line 420.
I'd be willing to take this on as a co-maintainer, or as a lead maintainer if you want to give up your role. You may wish to add me as a co-maintainer first instead of simply orphaning it, if you think anyone may try to take it over without actually working on it.
Anyone else notice that Calibri font on small font sizes looks bad / wrong with this package compared to ttf-ms-fonts
? Here is an example: https://ufile.io/f/0tvxk
IMPORTANT! This no longer works! I regret to inform you that due to my current commitments, I am unable to continue maintaining this package. If anyone is interested in taking over the maintenance, please feel free to reach out.
@jdigi78 's fix works on my end, thanks.
To expand on @DarioTD's comment, a more appropriate fix would be to replace line 419 with:
_loopDev=$(udisksctl loop-setup -r -f "${_isoFile}" --no-user-interaction 2>&1 | grep -oE "'.*'" | sed -e "s/'//g")
and remove line 420. This will determine the correct loop device automatically by reading the error printed by udisksctl. I'd recommend adding this change to the PKGBUILD so it actually works until someone can figure out what is causing the error.
Pinned Comments
kode54 commented on 2024-02-04 10:43 (UTC) (edited on 2024-02-04 10:45 (UTC) by kode54)
You apparently need to be a member of the
disk
group to mount a filesystem as an otherwise unprivileged user.And log out and back in again.