> Hi,
> I host a webserver and use PHP to enable people to upload work to my
> server. I use Linux and is unsecure if I am a complete nutcase using
> chmod o+rw to a catalogue (/uploaded) to let people store their PDF
> files there.
> If this is the wrong approach, how should I do (I am pretty new to
> Linux, so go for the easy version...)
You allow _all_ users to write to this directory. It would be better to put
them all in one group and then do a chmod g+rw for this dir. But this will
still allow people to delete other peoples files (because deleting means
changing the folder, not the file). If you don't want people to do this,
you need to set the sticky bit. Then you would get chmod g+rwt.
Hope this helps
nordi
--
"Computers are useless. They can only give you answers."
Pablo Picasso