[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NO! chmod strikes!



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: