Re: NO! chmod strikes!
Ah, I see now how -R and .* could get kinda crazy.
Thank you.
But I changed the perms of / a bit, but it still won't
work (cd is now working for regular user, but no logins,
nor does ls work).
Does anyone have a proper perms setup for / ?
Is there any chance chmod -R o-rwx .* started working
on subdirectories of / ?
Thanks :)
-josh narins
---Message Replied To Below----------
On Sun, Jul 08, 2001 at 04:17:34PM -0400, JoshNarins@aol.com wrote:
|
| I tried, in a subdir of /root, the command
| chmod -R o-rwx .*
| It changed the permissions on the parent directory,
| the parent's parent directory, all the way up.
Yes, '.*" includes ".." which is the parent directory.
| Now only root can use my computer.
|
| Was chmod supposed to understand .* so differently
| than /bin/ls does?
No, it doesn't. ls shows the same thing ("ls -R" anyways).
chmod the stuff back to where it should be ;-).
-D
Reply to: