group: finngrp
users: finmgr, finmgr1
Using setacl,
To specify permission settings using alphanumerical characters, you’ll need to define accessibility for the user/owner (u), group (g), and others (o).
Type the initial letter for each class, followed by the equal sign (=) and the first letter of the read (r), write (w) and/or execute (x) privileges.
To set a file, so it is public for reading, writing, and executing, the command is:
chmod u=rwx,g=rwx,o=rwx [file_name]
a and b Ans
chmod u=rw,g=r finance.txt
use a + or - (plus or minus sign) to add or remove permissions for a file respectively. Use an equals sign =, to specify new permissions and remove the old ones for the particular type of user(s).
You can use chmod letter where the letters are:
a (all (everyone)), u (user), g (group) and o (other).
c Ans
chmod u-rwx finance.txt
Get Answers For Free
Most questions answered within 1 hours.