Post by freshmaker » Wed Feb 24, 2016 8:45 pm

I'm currently having many problems of ownership on my opencart installation.

Code: Select all

2016-02-23 10:12:37 - PHP Warning:  ftp_put(): Could not create file. in /opt/apache2/htdocs/admin/controller/extension/installer.php on line 345
2016-02-23 19:14:01 - PHP Warning:  mkdir(): Permission denied in /opt/apache2/htdocs/admin/model/module/d_quickcheckout.php on line 851
2016-02-23 19:14:01 - PHP Warning:  ZipArchive::close(): Failure to create temporary file: No such file or directory in /opt/apache2/htdocs/admin/model/module/d_quickcheckout.php on line 874
2016-02-23 19:14:01 - PHP Warning:  rename(/opt/apache2/htdocs/system/storage/download/upload/system/mbooth/xml/mbooth_shopunity.xml,/opt/bitnami/apache2/htdocs/system/mbooth/xml/mbooth_shopunity.xml): Permission denied in /opt/apache2/htdocs/admin/model/module/d_quickcheckout.php on line 907
To make it even work I tried to change permissions but without success, it does not matter if it is 755 or 777, it wasn't working. So I changed the ownership with chown to the ftp login and then I could install by ocmod my extensions by the installer. But now it is with this issues. Anyones know which files should be owned by the apache to run correctly? Which command should I use on ssh?

The files and folders can be owned by two users?

Kind Regards,

Ivan

Newbie

Posts

Joined
Tue Feb 16, 2016 10:30 am

Post by freshmaker » Thu Feb 25, 2016 3:03 am

Solved! The public user wasn't on the group of the new uploaded files.

Newbie

Posts

Joined
Tue Feb 16, 2016 10:30 am
Who is online

Users browsing this forum: No registered users and 21 guests