正解:A
In Linux, every file and directory is associated with an owner and a group. The owner is the user who created the file or directory, and the group is the group to which the owner belongs. Therefore, each file is owned by exactly one user and one group. This is true for option A. The other options are false for the following reasons:
Option B: The owner of a file does not always have full permissions when accessing the file. The permissions are determined by the file mode, which can be changed by the owner or the root user. The file mode specifies the read, write, and execute permissions for the owner, the group, and others. The owner can have different permissions than the group or others.
Option C: The user owning a file does not have to be a member of the file's group. The owner can change the group ownership of the file to any group on the system, regardless of whether the owner belongs to that group or not. However, only the root user or a user with the CAP_CHOWN capability can change the group ownership to a group that the owner is not a member of.
Option D: When a user is deleted, all files owned by the user do not disappear. The files remain on the system, but their owner is changed to an invalid user ID (UID). The files can still be accessed by the group or others, depending on the permissions. The files can also be reclaimed by the root user or a user with the CAP_CHOWN capability, who can change the owner to a valid user.
Option E: The owner of a file can be changed once it is assigned to an owner. The owner can transfer the ownership to another user, or the root user or a user with the CAP_CHOWN capability can change the owner to any user on the system. The command to change the owner of a file is chown. Reference: 1: Chown Command in Linux (File Ownership) | Linuxize 2 3: Linux File Permissions and Ownership Explained with Examples 4 2: 3 Ways to Find File Owner in Linux - howtouselinux 1