303-300 · Question #109
What option of mount.cifs specifies the user that appears as the local owner of the files of a mounted CIFS share when the server does not provide ownership information? (Specify ONLY the option…
The correct answer is A. Correct. Option A is correct because uid= is the legitimate mount.cifs option that maps the local user owner for files on a mounted CIFS/SMB share when the remote server does not provide Unix-style ownership information - without it, files typically default to root ownership. This is a…
Question
What option of mount.cifs specifies the user that appears as the local owner of the files of a mounted CIFS share when the server does not provide ownership information? (Specify ONLY the option name without any values or parameters.) Solution: uid=arg Determine whether the given solution is correct?
Options
- ACorrect
- BIncorrect
How the community answered
(28 responses)- A93% (26)
- B7% (2)
Explanation
Option A is correct because uid= is the legitimate mount.cifs option that maps the local user owner for files on a mounted CIFS/SMB share when the remote server does not provide Unix-style ownership information - without it, files typically default to root ownership. This is a common scenario with Windows SMB servers, which natively use Windows ACLs rather than Unix UID/GID semantics, so uid= (and its companion gid=) bridge that gap by forcing a local ownership mapping. There are no distractors in this question - it is a single true/false judgment, and the solution uid=arg correctly names the option (the =arg portion is just notation indicating it takes a value, not part of the option name itself). For memorization, think "uid = user identity" - just as /etc/passwd uses UID to identify a user, mount.cifs uses uid= to assign that identity to otherwise anonymous remote files.
Topics
Community Discussion
No community discussion yet for this question.