ftp - How to set ownership of folder and permission using Filezilla -


just want have answer question. because have website , have file browser on admin part. problem can't upload on of folders. , when checked on console got error message:

   <b>warning</b>: move_uploaded_file(/var/www/vhosts/mysite.com/httpdocs/image/data/philippines/login.png): failed open stream: permission denied in <b>/var/www/vhosts/mysite.com/httpdocs/centre/controller/common/filemanager.php</b> on line <b>480</b><b>warning</b>: move_uploaded_file(): unable move '/tmp/phpm0wqmg' '/var/www/vhosts/mysite.com/httpdocs/image/data/philippines/login.png' in <b>/var/www/vhosts/flaxmidoriprojects.com/httpdocs/centre/controller/common/filemanager.php</b> on line <b>480</b>{"error":"warning: file not uploaded unknown reason!"} 

and when checked permission , group on ftp filezilla. these folders in different group , permissions.

enter image description here

these folders fle (0755) , 48 48 group. can give me idea how did happened?

that's thanks. hope can give me idea on how can fix this. tried changing permission on fileilla operation not permitted.

you'll have change owner using ssh or similar, using chown command (https://linux.die.net/man/1/chown). can't through filezilla. when have problem because files created program or through interface assigned owner other you. host might able help. configuration issues on end can with. make sure .htaccess file correct can prevent problems this.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -