hughsie / colord

Making color management just work
GNU General Public License v2.0
75 stars 51 forks source link

Colord service got permissions errors when opening colors profiles. #137

Open tr1p0p opened 2 years ago

tr1p0p commented 2 years ago

On fedora 35 on a X.org session with last update and all. Color manager just don't work. Put a profiles don't work, import with CLI don't work. Nothing work.

So, after investigation, i found that systemctl status colord show me this :

● colord.service - Manage, Install and Generate Color Profiles
     Loaded: loaded (/usr/lib/systemd/system/colord.service; static)
     Active: active (running) since Wed 2022-02-23 18:09:23 CET; 2min 52s ago
   Main PID: 25514 (colord)
      Tasks: 4 (limit: 19071)
     Memory: 2.7M
        CPU: 115ms
     CGroup: /system.slice/colord.service
             └─25514 /usr/libexec/colord

févr. 23 18:09:23 fedora colord[25514]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
févr. 23 18:09:23 fedora colord[25514]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
févr. 23 18:09:23 fedora colord[25514]: CdMain: failed to search system directories: failed to load file: Error opening file /usr/share/color/icc/colord/24G2W1G5.icm: Permission non accordée
févr. 23 18:09:41 fedora colord[25514]: CdMain: failed to profile from filename: failed to load file: Error opening file /home/tripop/.local/share/icc/edid-aba9dd7ee720d9e58a6f4a3551aa3ce9.icc: Permission denied
févr. 23 18:09:41 fedora colord[25514]: CdMain: failed to profile from filename: failed to load file: Error opening file /home/tripop/.local/share/icc/edid-11a642e82cb7adc155f57d61bfc9b06e.icc: Permission denied
févr. 23 18:09:41 fedora colord[25514]: CdMain: failed to profile from filename: failed to load file: Error opening file /home/tripop/.local/share/icc/edid-7f604fa381aa6dbc43fa2b207474ab11.icc: Permission denied

So, for somes reasons, colord and gnome-color-manager put .icc color profiles on a folder that... cannot be read by colord ? Try everything, chown put .icm files on /usr/share/color/icc/colord. Nothing work.