andrewgregory / pacutils

Helper library for libalpm based programs.
MIT License
107 stars 17 forks source link

pacrepairfile --mode: operation not supported #32

Closed eli-schwartz closed 5 years ago

eli-schwartz commented 5 years ago

In case it's been forgotten, here is a tracking issue for the following issue. From IRC:

2019-07-03 12:29:44 PM  elibrokeit      agregory: what's operation not supported for, with pacrepairfile --mode $filename
2019-07-03 12:36:22 PM  agregory        elibrokeit: good question
2019-07-03 12:39:03 PM  agregory        i think glibc is pre-emptively erroring on SYMLINK_NOFOLLOW
2019-07-03 12:39:35 PM  agregory        which i'm fairly certain it did not do before

Any luck on figuring out a solution?

xianwenchen commented 5 years ago

Hey! What's the status now?

xianwenchen commented 5 years ago

I tried to $ sudo pacrepairfile --uid --gid --mode --mtime /usr/lib/tmpfiles.d/colord.conf

outputs

/usr/lib/tmpfiles.d/colord.conf: set uid to 0
/usr/lib/tmpfiles.d/colord.conf: set gid to 0
warning: /usr/lib/tmpfiles.d/colord.conf: unable to set permissions (Operation not supported)
/usr/lib/tmpfiles.d/colord.conf: set modification time to 1555511829
eli-schwartz commented 5 years ago

The status is that 4cf3b29a8584571764897bdbbba5f20c364c3a05 should fix this. Try pacutils 0.8.1 (although it is not updated in community yet, pacutils-git in the AUR should work.)