exam questions

Exam 010-160 All Questions

View all questions & answers for the 010-160 exam

Exam 010-160 topic 1 question 12 discussion

Actual exam question from LPI's 010-160
Question #: 12
Topic #: 1
[All 010-160 Questions]

What is true about the owner of a file?

  • A. Each file is owned by exactly one user and one group.
  • B. The owner of a file always has full permissions when accessing the file.
  • C. The user owning a file must be a member of the file's group.
  • D. When a user is deleted, all files owned by the user disappear.
  • E. The owner of a file cannot be changed once it is assigned to an owner.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
beazzlebub
Highly Voted 2 years, 5 months ago
Answer is A. C is not true, the file owner is independent of the file group D is not correct, deletion of user from system has no impact on the files on the system (unless a script is set up to trigger upon user deletion) E is true, a file's owner and group can be changed at any time by a user with sufficient privileges. B is the only one that is a bit confusing. Although the owner of a file can assign themselves full permissions, by default files will ordinarily not have the executable bit set, so for most files the owner will have read/write permissions only.
upvoted 10 times
...
TheFivePips
Most Recent 1 month, 4 weeks ago
Selected Answer: A
Here is a quick explanation for people like me who were initially confused about a file having only one group: In Unix-like operating systems, a file can have only one group owner. However, there is a feature called "file access control lists" (ACLs) that allows for more fine-grained control over file permissions and can be used to grant additional permissions to specific users or groups beyond the owner and group associated with the file. With ACLs, you can specify permissions for multiple users and groups on a file, providing more flexibility than the traditional owner-group-other model. ACLs enable you to set permissions for specific users or groups without changing the file's primary group ownership. It's important to note that while ACLs provide additional flexibility, they are not universally supported on all file systems or systems. Their availability depends on the specific operating system and file system in use. Additionally, managing permissions through ACLs can be more complex than using the standard owner-group-other model.
upvoted 1 times
...
Vovanich
1 year ago
Selected Answer: A
A. Each file is owned by exactly one user and one group.
upvoted 1 times
...
linvidia
1 year, 2 months ago
Selected Answer: A
Answer is A.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago