>A professor shares files with his students by placing them in a publicly accessible directory on the Computer Science department’s Linux system. One day he realizes that a file placed there the previous day was left world-writable. He changes the permissions and verifies that the file is identical to his master copy. The next day he finds that the file has been changed.
How could this have happened and how could it have been prevented?
Why share files in a way that can be modified if people are not supposed to modify them? Share the files via an http server or something
Thomas Sullivan
because a college professor can reasonably expect his students not to be (figurative) niggers
Landon Martin
He didn't do his own homework.
Chase Cox
That's where you are wrong
Josiah King
Publically accessible, so maybe someone else managed to get root and change the file?
Grayson Hernandez
I dunno, either the students are in his usergroup or they used world-executable rights somehow?
Jack Cook
Changed the permissions on what exactly? The file itself or was the prof in a hurry and chmod the directory?
Luis Scott
they made a copy of it as a hidden file in that directory and then renamed that to the original name after he changed the permissions
Robert Taylor
Someone replaced the file with a symlink to a copy that they owned? Or possibly hardlinked I guess, does each link have separate permissions, I forget.
Austin Ramirez
It wasn't actually linux.
Landon Morgan
do your own homework faget
Camden Scott
>an entire fucking 500 men factory shares files through SMB >the database is in access97 , it can only be """accessed""" from 3 select computers and not at the same time >the payroll is in foxpro >everything else is done in Excel >the frontend is outlook >we have a folder inside the SMB folder called "INFECTED DO NOT OPEN" that hosts an ancient worm that somehow has been contained there. Please kill me
>we have a folder inside the SMB folder called "INFECTED DO NOT OPEN" that hosts an ancient worm that somehow has been contained there. oh my fuck somehow I actually believe this one.
Why would you replace everything with images of goats ?
Samuel Kelly
Imagine showing the ropes to some new employee and then being loke "ok dude see this folder here, it hosts an ancient worm and you must not disturb it"
Anthony Allen
He changed the file permissions of the hosted file but not his master file. If he wanted that to not happen he should have just not changed it.