Skip to content
Advertisement

What kind of owner and group for these below list of files?

what is the owner and group of this below file? It has 0 and 0 for owner and group.

-rw-rw-rw-   1 0        0             464 Oct 16 14:31 a.txt

I found those permissions after connecting to a remote server for which we does not have write permissions.

How to replicate the same permisions in my development machine?

Advertisement

Answer

0:0 is almost always root:root owner and group. The command, cat /etc/group shows group ID numbers. In most (all?) cases, users and groups with the same name share the same ID number.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement