Re: ls permissions format changed in CentOS 8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am 25.10.2019 um 23:44 schrieb Kenneth Porter:
When I use "ls -al" on a directory, for files with only owner read/write permission, the displayed attributes are "-rw-", not "-rw-------". That means the file names don't line up with other files in the directory, which makes the listing harder to read. What changed where and how do I fix that?

Hm?

[adalloz@centos8 ~]$ touch foo
[adalloz@centos8 ~]$ chmod u=rw,go= foo
[adalloz@centos8 ~]$ ls -Al
insgesamt 12
-rw-r--r--. 1 adalloz adalloz  18 11. Mai 02:16 .bash_logout
-rw-r--r--. 1 adalloz adalloz 141 11. Mai 02:16 .bash_profile
-rw-r--r--. 1 adalloz adalloz 312 11. Mai 02:16 .bashrc
-rw-------. 1 adalloz adalloz   0 26. Okt 00:02 foo
[adalloz@centos8 ~]$ LANG=C stat foo
  File: foo
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: fd02h/64770d    Inode: 788575      Links: 1
Access: (0600/-rw-------)  Uid: ( 1000/ adalloz)   Gid: ( 1000/ adalloz)
Context: unconfined_u:object_r:user_home_t:s0
Access: 2019-10-26 00:02:37.707079231 +0200
Modify: 2019-10-26 00:02:37.707079231 +0200
Change: 2019-10-26 00:04:26.920196480 +0200
 Birth: -


Not sure what you were doing.

Alexander



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux