Giter VIP home page Giter VIP logo

Comments (2)

marekyggdrasil avatar marekyggdrasil commented on August 22, 2024

Ok weird, I noticed that if I set writable to all users like

chmod 756 /home/admin/www/html/beanstalk/storage.json 

with

drwxr-xr-x 8 admin admin 4096 Jan  4 15:59 .
drwxr-xr-x 5 admin admin 4096 Jan  4 15:59 ..
-rw-r--r-- 1 admin admin  854 Jan  4 15:59 composer.json
-rw-r--r-- 1 admin admin 5498 Jan  4 15:59 composer.lock
-rw-r--r-- 1 admin admin  609 Aug 30 18:57 config.php
drwxr-xr-x 2 admin admin 4096 Aug 30 18:57 docker
-rw-r--r-- 1 admin admin 1132 Aug 30 18:57 docker-compose.yml
-rw-r--r-- 1 admin admin  780 Aug 30 18:57 Dockerfile
-rw-r--r-- 1 admin admin  169 Aug 30 18:57 .dockerignore
-rw-r--r-- 1 admin admin   20 Aug 30 18:57 .gitattributes
-rw-r--r-- 1 admin admin   34 Aug 30 18:57 .gitignore
drwxr-xr-x 4 admin admin 4096 Aug 30 18:57 lib
-rw-r--r-- 1 admin admin 1107 Aug 30 18:57 LICENSE.md
drwxr-xr-x 6 admin admin 4096 Aug 30 18:57 public
-rw-r--r-- 1 admin admin 6067 Aug 30 18:57 README.md
drwxr-xr-x 2 admin admin 4096 Aug 30 18:57 src
-rwxr-xrw- 1 admin admin    0 Aug 30 18:57 storage.json
drwxr-xr-x 2 admin admin 4096 Aug 30 18:57 vagrant
-rw-r--r-- 1 admin admin  579 Aug 30 18:57 Vagrantfile
drwxr-xr-x 3 admin admin 4096 Jan  4 15:59 vendor

then works fine. I tried to add admin to www-data group but that did not help. Not sure if there is a more secure way to resolve it (if someone has an advice I will appreciate it).

It is clearly my server issue and not beansalk_console problem so I am closing this issue, however if someone has some comments I will appreciate.

from beanstalk_console.

marekyggdrasil avatar marekyggdrasil commented on August 22, 2024

Ok I think the good and secure solution for me was to change owner of this particular file to www-data and change file permissions back to 755.

sudo chown www-data:www-data -R ~/www/html/beanstalk/storage.json 
sudo chmod 755 ~/www/html/beanstalk/storage.json 

works!

from beanstalk_console.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.