Building plasma-login-manager from git - chown() failure silently ignored in kcmplasmalogin_authhelper

Edmund Lodewijks edmund at proteamail.com
Tue Feb 17 17:26:15 GMT 2026


Greetings!

I just built `plasma-login-manager` from the latest git, and encountered
the following warning. I am not sure how important it is, so, instead of
opening a bug, I thought I'd feel it out here on the list.

Thank you for your replies.

>From the build log:

```sh
[ 83%] Building CXX object
src/frontend/wallpaper/CMakeFiles/plasma-login-wallpaper.dir/wallpaperapp.cpp.o
/var/tmp/makepkg/plasma-login-manager-git/src/plasma-login-manager/src/frontend/kcm/auth/plasmaloginauthhelper.cpp:
In function ‘void chownPath(const QString&)’:
/var/tmp/makepkg/plasma-login-manager-git/src/plasma-login-manager/src/frontend/kcm/auth/plasmaloginauthhelper.cpp:57:10:
warning: ignoring return value of ‘int chown(const char*, __uid_t,
__gid_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   57 |     chown(path.toLocal8Bit().data(),
plasmaloginUser.userId().nativeId(),
plasmaloginUser.groupId().nativeId());
      |    
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

This is on:
  Archlinux (with `extra` repository enabled)
  gcc 15.2.1+r604+g0b99615a8aef-1
  plasma-login-manager git rev ef006035d607de0925ef4e98a048244641c162c2

Kind regards,
Edmund Lodewijks


-- 
Edmund Lodewijks <edmund at proteamail.com>
TZ: UCT+2 / GMT+2


More information about the Plasma-devel mailing list