Sign in

Please check file permissions on your server

  • This topic has 4 replies, 2 voices, and was last updated 5 months, 2 weeks ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #5144
    Kutakizukari

    Screenshot: https://share.getcloudapp.com/P8ukk6go

    I was running successfully as root user. I created a new user and disabled root login and password using only keys. Now I get the above message.

     

    #5149
    Tomasz Dziuda

    Hi,

    Most probably the newly created user has no permissions to write files in the specific directory. Please also make sure that you have provided proper absolute path to a folder where you want to publish your website. Maybe your location is outside the newly created user folders.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #5157
    Kutakizukari

    Most probably the newly created user has no permissions to write files in the specific directory.

    I’m not sure how to do that, any suggestions/resources? I’m using Ubuntu 20.04 LTS server.

    Please also make sure that you have provided proper absolute path to a folder where you want to publish your website.

    It’s good as it worked fine with the root user.

    #5158
    Kutakizukari
    #5173
    Tomasz Dziuda

    Great to hear, that you have found a solution 🙂

    I have mentioned the proper absolute path, because root user can write files anywhere – so if you provide wrong path (e.g. “/”) root user will be able to write there, but other users not

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.