Which command allows you to set the permissions for a share called marketing?
A.
cifs share -add marketing /vol/marketing
B.
cifs permissions -change marketing /vol/marketing
C.
cifs shares -permissions marketing /vol/marketing
D.
cifs access marketing /vol/marketing
Although D is selected as the correct answer for complete accuracy it’s actually still wrong IMO. After read the man page for cifs access the examples are below. So I think in this case the correct answer is “cifs access marketing” then specify the permissions you are changing and to which user/group.
EXAMPLES
The following example grants NT Read access to the NT user ENGINEERING\mary on the share
releases.
toaster> cifs access releases ENGINEERING\mary Read
The following example grants Unix read and execute access to the user john on the share accounting.
toaster> cifs access accounting john rx
The following example grants full access to the Unix group wheel on the share sysadmins.
toaster> cifs access sysadmins -g wheel Full Control
The following example deletes the ACL entry for ENGINEERING\mary on the share releases.
toaster> cifs access -delete releases ENGINEERING\mary
The following example permits Windows machine account access to home directories
toaster> cifs access cifs.homedir -m
0
0