On Wed, 5 Feb 2020 17:02:16 +0800 Ed Greshko wrote:
On 2020-02-05 16:53, Frank Elsner wrote:
> Yes. But
>
> [frank@siffux Desktop]$ ls -la
> total 9440
> drwxr-xr-x. 2 frank elsner 20480 Feb 5 09:50 .
> drwx------. 61 frank elsner 4096 Feb 5 09:27 ..
> -rwxr-xr-x 1 frank elsner 161 Feb 5 09:49 terminal.desktop
> -rw-r--r-- 1 frank elsner 9613176 Dec 30 12:51 Umweltsau.flac
>
> the terminal is shown, the other file not.
Odd....
If I create a 0 length file with that name it does show on the desktop. The interesting
thing
about your ls output is the lack of a "." in the permissions. The lack of a
"." seems to indicate
a lack of an selinux context. Does this look similar to your system?
Selinux is off on this system.
[egreshko@f31m Desktop]$ ls -laZ
total 12
drwxr-xr-x. 2 egreshko egreshko unconfined_u:object_r:user_home_t:s0 4096 Feb 5
16:56 .
drwx------. 17 egreshko egreshko unconfined_u:object_r:user_home_dir_t:s0 4096 Feb 5
16:56 ..
-rwxrwxr-x. 1 egreshko egreshko unconfined_u:object_r:user_home_t:s0 172 Feb 5
16:54 FiReFoX.desktop
-rw-r--r--. 1 egreshko egreshko unconfined_u:object_r:user_home_t:s0 0 Feb 5
16:56 Umweltsau.flac
[frank@siffux Desktop]$ ls -laZ
total 9440
drwxr-xr-x. 2 frank elsner unconfined_u:object_r:home_root_t:s0 20480 Feb 5 10:12 .
drwx------. 61 frank elsner unconfined_u:object_r:home_root_t:s0 4096 Feb 5 10:12 ..
-rwxr-xr-x 1 frank elsner ? 193 Feb 5 10:11
Terminal.desktop
-rw-r--r-- 1 frank elsner ? 9613176 Dec 30 12:51
Umweltsau.flac
I guess we can close this case. The problem disappeared after logout/login.
All files in ~/Desktop shown.
--Frank