T
T
The Denshush2014-09-03 22:28:04
Yii
The Denshush, 2014-09-03 22:28:04

When unpacking yii all folders are restricted, why ?

I unpacked yii ./framework/yiic webapp and the path to the folder where everything should be, but when I open the folder there are all components with limited access. Of course, you can unlock everything through chmod 777, but the point is that you have to carry out such an operation with each file, which is not very cool. I would like to know why. and how to solve this issue?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2014-09-03
@denshush2

1) chmod -r 777 /path/to/yii - recursively change permissions on all files
2) don't do that
3) chmod 777 is not secure. Better take the trouble to set up the server (php-fpm pool with the rights of the user who owns the files).
joomla-book.ru/blog/filesystem-permissions-or-777-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question