Open bluesabre opened 4 years ago
Ran into the same thing on Fedora 37, the root cause for me was due to the parent folder's permissions not being world readable.
/root
to /opt/wallpapers/
and ensured
permissions were correct.$ sudo mkdir /opt/wallpapers/
$ sudo stat /opt/wallpapers/
File: /opt/wallpapers/
Size: 27 Blocks: 0 IO Block: 4096 directory
Device: 253,1 Inode: 9450093 Links: 2
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Context: unconfined_u:object_r:usr_t:s0
Access: 2022-11-11 10:30:55.826849997 -0800
Modify: 2022-11-11 10:30:52.989865945 -0800
Change: 2022-11-11 10:30:52.989865945 -0800
Birth: 2022-11-11 10:30:32.291982299 -0800
$ sudo cp /root/wallpaper.jpg /opt/wallpapers/
$ file /opt/wallpapers/wallpaper.jpg
/opt/wallpapers/wallpaper.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, density 218x218, segment length 16, Exif Standard: [TIFF image data, big-endian, direntries=7, orientation=upper-left, xresolution=98, yresolution=106, resolutionunit=2, software=Pixelmator Pro 2.1.3, datetime=2013:07:16 13:17:42], baseline, precision 8, 6016x3384, components 3
$ stat /opt/wallpapers/wallpaper.jpg
File: /opt/wallpapers/wallpaper.jpg
Size: 2187975 Blocks: 4280 IO Block: 4096 regular file
Device: 253,1 Inode: 9752102 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Context: unconfined_u:object_r:usr_t:s0
Access: 2022-11-11 10:31:06.320791009 -0800
Modify: 2022-11-11 10:30:52.989865945 -0800
Change: 2022-11-11 10:30:52.989865945 -0800
Birth: 2022-11-11 10:30:52.989865945 -0800
Reported first on Launchpad at https://bugs.launchpad.net/lightdm-gtk-greeter-settings/+bug/1593986
LP#0: paddy (sinqbad) wrote on 2016-06-18: