You are not logged in.
Pages: 1
Hi, I wanted to write chmod 777 * , bud a pressed "/" istead of "*". What happened with / directory ?
Offline
That is indeed a good question...
Offline
since / is a mount point, it should reset if you remount it (reboot). If it really changed / to world rwx, then it could be a security problem, as anybody with access could delete/move dirs/files from / and replace them with their own copies.
Test if there is a problem, as a normal user, cd to / and `echo problem > problem.txt`, if the file is created then remount, otherwise it will complain about permissions.
Offline
ls -ld /
chmod 755 /
I thought at first you'd done 'chmod -R' - *that* would be a problem.
Offline
that's what i thought too
I did that to home once, which was less bad..
Offline
I thought at first you'd done 'chmod -R' - *that* would be a problem.
I had an engineer that worked for me do a 'rm -r /' once. ;-)
He was learning by going through my shell history and using the commands to see what they did....
--
Some of the world's greatest feats were
accomplished by people not smart enough
to know they were impossible.
-- Doug Larson
Offline
archdaemon wrote:I thought at first you'd done 'chmod -R' - *that* would be a problem.
I had an engineer that worked for me do a 'rm -r /' once. ;-)
He was learning by going through my shell history and using the commands to see what they did....
:twisted: :twisted: :twisted:
Wait, were you logged/su'ed root at the time?
Offline
Wait, were you logged/su'ed root at the time?
No, but he was!
--
Some of the world's greatest feats were
accomplished by people not smart enough
to know they were impossible.
-- Doug Larson
Offline
Pages: 1