?
What enables the read and execute access to all users outside of mysql group.
Answer & Solution
Correct Answer:
Option
A
This question is about file permissions in Linux, which is where MySQL runs. File permissions control who can access a file (read, write, execute).
Let's break down the options:
* drwxrwxr-x: This means: * d: It's a directory * rwx: The owner (mysql group) has read, write, and execute access. * rwx: The group (mysql group) has read, write, and execute access. * r-x: Others (users outside the mysql group) have read and execute access. This is what the question asks for.
* drwxrwxr-y: This is similar to option A, but y instead of x for others. This indicates sticky bit, which has a different meaning.
* drwyrwyr-x: This is incorrect as it indicates write access for others, which isn't what we're looking for.
* drwyrwyr-y: This is also incorrect because it includes the sticky bit and write access for others, which isn't what we're looking for.
Therefore, the correct answer is Option A: drwxrwxr-x
Let's break down the options:
* drwxrwxr-x: This means: * d: It's a directory * rwx: The owner (mysql group) has read, write, and execute access. * rwx: The group (mysql group) has read, write, and execute access. * r-x: Others (users outside the mysql group) have read and execute access. This is what the question asks for.
* drwxrwxr-y: This is similar to option A, but y instead of x for others. This indicates sticky bit, which has a different meaning.
* drwyrwyr-x: This is incorrect as it indicates write access for others, which isn't what we're looking for.
* drwyrwyr-y: This is also incorrect because it includes the sticky bit and write access for others, which isn't what we're looking for.
Therefore, the correct answer is Option A: drwxrwxr-x
Join the Discussion
Login to post a comment or share your explanation.
Login