EFTA01139178.pdf
📄 Extracted Text (380 words)
Ifibin/sh
III##III#III#I0I0000I.0000I.0 Script to manually fix the home folder permissions on JEE's MEP
IIIIIIIII0404V0I0000
# Variables
I
rootpir="/UsersiStozy/m
owner="Story"
group="staff"
perms_spot1ight="allow list.search.filejoherit,directory_inherit"
perms_add="deny delete"
I Desktop
dir="Desktop" I set direct
ory
chflags -R nouchg "ThootEgrl$fdirl" I unlock conten
ts
chown -R S(owner):$(group) "SiroodNOidiri" I propagate own
er+group
chmod -R 755 "StromEhr4fdir)" I set permissio
ns
chmod -RN "Sinx*Dir)$(dki" I clears ACLs
chmod -R +ai "_spotlight$Ipetnts_goodigA0" "SfrootDOS(dir)" I re-add spotlight ACL
chmod -R +ai "S(gump)S(pmTms_add)" "Sfrood)k)S(dir)" re-add group ACL
dir="" I unset dir
ect ory
# Documents
dir="DocumeMs" I set direct
ory
chflags -R nouchg "StrootEgrl$Idirl" I unlock conten
ts
chown -R $lownerl:$(group) "SitoodN0SIdir)" I propagate own
er+group
chmod -R 755 "ThnotEgOldir)" I set permissio
ns
chmod -RN "SinxanitiSidki" clears ACLs
chmod -R +ai "spotlight$fpernts_spodigh0" "TheolINIS(dir)" I re-add spotlight ACL
chmod -R +ai "5(gmep)S(penns_add)" "SfrootINIS(dir)" re-add group ACL
dir="" I unset dir
ect ory
# Downloads
dir="Downloads" I set direct
ory
chflags -R nouchg "SInxathrl${&0w # unlock conten
ts
chown -R Slownerl:$(group) "S(moodlr)$(dir)" I propagate own
er+group
chmod -R 755 "S(nxxEhr)$fclir)" set permissio
ns
chmod -RN "StrootDiriSidki" I clears ACLs
chmod -R +ai "_spotlight$Ipetnis_spotligh0" "SfrooloialS(dir)" I re-add spotlight ACL
chmod -R +ai "SIgampiS(pernis_add)" "${n)olihr)S(dir)" re-add group ACL
dir="" I unset dir
ect ory
Movies
I
dir="Movies" I set direct
ory
chflags -R nouchg "StrootEN0${dir)" # unlock conten
ts
chown -R Slownerl:$(group) "SfrootbiOldirl" I propagate own
er+group
chmod -R 755 "S(nxxDirl$fdir)" I set permissio
ns
chmod -RN "S(rootrik)Sidki" clears ACLs
EFTA01139178
chmod -R +ai w_spodigAt$tpunm_ApodighOm "StroolDir15(dir)" re-add spotlight ACL
chmod -R +ai "S(gmup)5(penus_Add)m "$frootIA15(dir)" I re-add group ACL
dir=um S unset dir
ect ory
Music
dir="Music" I set direc
tory
chflags -R nouchg "StrootEgO$Idirim if unlock conten
ts
chown -R $(owner):$(group) "StroodniStdirin I propagate own
ertgroup
chmod -R 755 "ThootEhrMdirim S set permissio
ns
chmod -RN m$(rootDir)$idkin clears ACLs
chmod -R +ai w_spodight$Ipernm_spodigAgm "$froodNI15(dk)" I re-add spotlight ACL
chmod -R +ai "StgroupiStpienus_addim "Sfroodni5(dir)" S re-add group ACL
dir="" S unset dir
ect ory
Pictures
dir="Pkwrim" set directo
ry
chflags -R nouchg "StrootIhri$Idirim I unlock conten
ts
chown -R $(owner):$(group) "$(rootDir)$(dir)" I propagate own
ertgroup
chmod -R 755 "S(romEhr)$fdirim S set permissio
ns
chmod -RN m$illoodIrgqdki" clears ACLs
chmod -R +ai w_spodight$Ipernm_spodighOm "$(noodn.)5(dir)" I re-add spotlight ACL
chmod -R +ai "SIgamp)5(penns_Add)m "$frootl3k)5(dir)" S re-add group ACL
dir="m S unset dir
ect ory
EFTA01139179
ℹ️ Document Details
SHA-256
99e69d08df184da91c44616e13509489ba4cd0a635d37abd63107ff2f592ba96
Bates Number
EFTA01139178
Dataset
DataSet-9
Document Type
document
Pages
2
Comments 0