Reply to Re: Upload script error

Your name:

Reply:


Posted by Erwin Moller on 10/29/85 11:33

Sean wrote:

> ls -l > will print out the directory list with permissions, owner group
> and size etc....
>
> chmod 777 folder_name > this will allow the folder to be written to
>
> chown owner:group folder_name > this will change the owner and group of
> the folder name

I would not advocate chmod 777 on any directory you want to keep for
yourself.
It opens the directory for read/write for everybody with access to the same
machine.
In a shared hosting environment this is not very safe..

It may be better to have a little chit-chat with your provider and ask him
for a solution with an extra group that contains the original user and
www-data (or whatever apache is running as).
Then change to 774 <dirname>
or even
770

Regards,
Erwin Moller

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация