skip to Main Content

On a existing Laravel project I’m trying to upload a fix to the webserver. I have no experience with Laravel. The file I’m trying to overwrite is in /app/libraries/.

The FTP server has a test.domain.com and a live version in httpdocs. I am able to upload the fix in the test enviroment, but in the live enviroment I get permission denied in FileZilla. I even tried to use the File Manager on Plesk but even then I get Permission denied. The FTP user and the Plesk user both have all permissions possible.

I have permission to write in /app/ but not in any subdirectory of /app/.

Is Laravel preventing to overwrite these files? Why is it working on the test version on the same webserver? Is there any other way to overwrite the file in that folder?

2

Answers


  1. /app/libraries is not a folder that is a part of a base Laravel installation (at least not L4 or L5), so I would say this permission has nothing to do with Laravel itself.

    Bogdan’s comment is right on. The libraries subfolder is most likely owned by a user other than the one you’re connecting with.

    Login or Signup to reply.
  2. Like mentioned by Trip, its nothing to do with Laravel and reply you got by Bogdan is definitely the correct one.

    I recommend you talk with Server Admin to associate your user with permissions correct permissions to that folder. If your the owner of the server please read some kind of tutorials.

    P.S. This one might help:
    http://www.whoishostingthis.com/blog/2011/05/25/understanding-file-permissions-ftp-chmod/

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search