* Thus wrote Jaap van Ganswijk ([EMAIL PROTECTED]):
> At 2003-08-16 22:45 +0000, Curt Zirzow wrote:
> >* Thus wrote Jaap van Ganswijk ([EMAIL PROTECTED]):
> >> At 2003-08-16 23:28 +0200, Peda wrote:
> >> 
> >> When you have a shell login, try this:
> >> - cd /tmp
> >> - chown . <your_user_name>
> >> 
> >> This probably gives an error warning.
> >> 
> >> - chmod u+rw .
> >
> >Don't set your /tmp directoy to those settings. /tmp is a system
> >directory and should not be owned by any paticular user nor have rw
> >permissions for a paticular user.
> 
> You're missing some points here:
> - When everything is organized okay, he can't make
>   himself the owner of /tmp, so trying it doesn't
>   hurt.

True, it wont hurt, but why suggest to incorrectly do something
that is most likely going to fail anyway.

> - But it isn't organized okay and he is asking how
>   he can check/change it.

again, fixing it incorrectly isn't the solution.

> - It doesn't hurt when the /tmp directory is from a
>   particular user as long as every one has read and
>   write permission. Root and programs running with
>   root-permissions can do what they want anyway.

Yes it does hurt, /tmp should only be set up to whoever created the
file can read write to it, no one else can touch the file.

> - If he would manage to own the /tmp directory,
>   changing his own 'u'=user permissions don't
>   affect the permissions of others, but it would
>   help him to solve his problem (and isolate the
>   problem in case he would want a more fundamental
>   solution).

The problem is already isolated. the /tmp directory needs to have
the correct permissions.


Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to