Todothat, we'regoingtoterminalandusedtocommanduserMartin, sotypeinsuitablespaceUsermore, Dash A foradditionSpace, DashCapital G forgroupandthengivethenameoffthegroup.
Morespacecapitalareforrecursiveandthenwecantypein G forgroupplus r W x forreed, rightExecutethengive a spaceandthenpart.
Sotheassignmentsfolderknowifwedo l s dash l ontheassignmentsfolderyoucanseeherethanthegrouphaschangedtostudentsonthepermissionisread, writeandexecuteNowinsteadof C H owncommandhere, wecanalsouseeachgroupcommandtochangegroupSothisisthefirstmethodoffdoingitAllright.
Thesecondmethodisbyusingthefileaccesscontrollist.
Nowtousethistypeinpseudospace, set F A C andthat's finalaccess.
ControlthisspacedashLowercase M formodificationYorkies G forGroupColonThenameofthegroup.
Let's read, writeandexecute, Thengive a spacedashcapitalareforrecursive, thenparttotheexampapersfolded.
Now, thiswillgiveusthesameresultthatweachievedusingthefirstmatternowtocheckthefileaccesscontrollistoff a particularfileor a directoryusedtoget F A C L Commandandthiswillshowyouthecompletefileaccesscontrollist.
Allright.
Now, thelastthingistodenyusersoffstudentsgroupaccesstotheexampapersfolderNow, todothat, wecanagainusetheset F A C L command.
Sotypeandsetoff a sealdashandthengive a spacelowercase G forGroupcolonstudentscolonagainandthentypeindashdeathdeaththreetimes.
Sonoreadnorwriteandnoexecutenowdidn't give a spacedashcapitalaren't andthendeparttotheexampapersupporter.
Nopressenterandthat's all.
Nowanyuserwhois a memberoffgroupstudentcannotaccesstheexampaperfolded.