201-450 Exam QuestionsBrowse all questions from this exam

201-450 Exam - Question 16


FILL BLANK -

What keyword is missing in the following line from /etc/fstab in order to grant the user fred write access to the files in the vfat file system on /dev/sdb1:

/dev/sdb1 /mnt/usbflash vfat defaults, _________=fred, umask=022, 0 0

(Specify ONLY the option name without any path or parameters.)

Show Answer
Correct Answer:

The correct keyword to grant the user 'fred' write access to the files in the vfat file system on /dev/sdb1 is 'uid'. The 'uid' option specifies the user ID that should own all files on the mounted filesystem, which in this case is 'fred'. By setting 'uid=fred', you grant user 'fred' ownership and therefore write access to the files.

Discussion

6 comments
Sign in to comment
Brunfthuf
Jun 29, 2023

it must be "user". "uid" is a numerical value, "user" a string

milan92stankovic
Jan 15, 2021

uid - 100%

jchavarria12
Dec 18, 2023

user is right answer

rmmichael95
Aug 10, 2023

uid can be a str or num in this case. The user option allows normal users to mount the drive and does not indicate write permissions

A2AudioAddict
Apr 4, 2024

'uid' seems to be correct. https://serverfault.com/questions/43634/how-to-mount-external-vfat-drive-as-user

debloid
Jul 16, 2024

uid=fred