On Wed, 28 Apr 2010, Edward Ned Harvey wrote: > I hope you like academic exam questions, long since after you completed your > degree. ;-)
I sure do! :) > By doing this, normal users have been granted access to info.txt, but if > they read it, they'll only see "public info." But the question is: Can a > normal user access "secret info" in either a/c/.snapshot, or in > a/b/c/.snapshot? D'oh! # mkdir -p a/b/c # echo "secret info" > a/b/c/info.txt # chmod 777 a # chmod 700 a/b # chmod 777 a/b/c # chmod 666 a/b/c/info.txt # rsh ptssfas01p607 snap create vol0 test creating snapshot... # echo "public info" > a/b/c/info.txt # mv a/b/c a/c $ cat a/b/c/info.txt cat: cannot open a/b/c/info.txt $ cat a/b/c/.snapshot/test/info.txt cat: cannot open a/b/c/.snapshot/test/info.txt $ cat a/c/info.txt public info $ cat a/c/.snapshot/test/info.txt secret info -Adam _______________________________________________ Tech mailing list [email protected] http://lopsa.org/cgi-bin/mailman/listinfo/tech This list provided by the League of Professional System Administrators http://lopsa.org/
