in reply to Re: Re: Re: Why does this crash? (Error 500)
in thread Why does this crash? (Error 500)
You should be aware that using mode 777 means that anybody on the system can read and write that file or directory. If you're on a shared system, anybody else on the system can edit or delete files in a mode 777 directory. Even if you have a system to yourself, giving permissions to everybody to write someplace can make a minor security problem (like disk access as user nobody) into a big one.
If you really don't care about the files or directories with mode 777 being changed by random users, those permissions are fine. Sometimes that's true, as in /tmp. Mostly, though, it's not true, and you should find a more restrictive set of permissions that allows your script to write to that directory, without allowing the rest of the world as well.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Why does this crash? (Error 500)
by Anonymous Monk on Jan 02, 2004 at 18:03 UTC | |
|
Re: Re: Re: Re: Re: Why does this crash? (Error 500)
by tachyon (Chancellor) on Jan 03, 2004 at 04:35 UTC | |
by sgifford (Prior) on Jan 03, 2004 at 06:45 UTC |