Fix path of kcheckpass when pass to chown
ClosedPublic

Authored by kfunk on Feb 15 2016, 4:34 PM.

Details

Summary

Now this still fails for me when installing kscreenlocker to $HOME:

chown: changing ownership of

‘/home/kfunk/devel/install/kf5/lib/x86_64-linux-gnu/libexec/kcheckpass’:
Operation not permitted

Diff Detail

Repository
R133 KScreenLocker
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kfunk updated this revision to Diff 2306.Feb 15 2016, 4:34 PM
kfunk retitled this revision from to Fix path of kcheckpass when pass to chown.
kfunk updated this object.
kfunk edited the test plan for this revision. (Show Details)
Restricted Application added a project: Plasma. · View Herald TranscriptFeb 15 2016, 4:34 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
kfunk updated this revision to Diff 2307.Feb 15 2016, 4:36 PM

Fix message

Thinking about it: Path should probably be either

  • $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/...
  • Or deduced from a generator expression
graesslin edited edge metadata.Feb 16 2016, 6:52 AM

are you installing to $HOME with root? Because I think it fails as you are not allowed to chown to root.

Anyway another option could be to just scratch that command as it's no longer needed on modern distros.

This revision was automatically updated to reflect the committed changes.