Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: A Unix question. (Slightly off-topic)

Author: Keith Evans

Date: 09:54:52 06/25/02

Go up one level in this thread


On June 24, 2002 at 22:03:52, Robert Hyatt wrote:

>On June 24, 2002 at 21:49:46, Slater Wold wrote:
>
>>On June 24, 2002 at 20:27:42, Russell Reagan wrote:
>>
>>>Are you sure that the permissions of the entire *contents* of the directory were
>>>set to 777? A common mistake (at least for me) is to chmod the directory and not
>>>it's contents.
>>
>>From / I ran "chmod -R 777 programs"  and then I "cd /programs" and "chmod 777 *
>>.*".
>
>No point in the CD/CHMOD.  when you use the -R option, that is "recursive"
>and says to change the directory, all files in the directory, all
>sub-directories in the directory...  etc..   That will get them _all_.
>
>And you probably broke something because you removed important bits that
>might be needed, such as setuid/setgid to name a couple...

This is a _extremely_ important point that you make. A coworker of mine once did
something like this to / on a Solaris box that we share and that happens to run
our EDA main license server. (He had done an "su -" when he just meant to "su".)
I was very thankful that:

1) there was a website showing the correct file permissions (since we only have
one Solaris box)
2) that he didn't use the -R option
3) That he didn't try to reboot the Sun box after making the changes

So be careful Slate!

-Keith



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.