the-teacher / rails7-startkit

Launch Rails with 1 shell command!

Home Page:https://github.com/the-teacher/rails7-startkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bin/setup results in this error on WSL | `PSQL FOLDER PERMISSIONS`

mnyon-grandkru opened this issue · comments

Here's the screenshot of the bin/setup call and the results.

The specific error message is:

/usr/share/rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/fileutils.rb:2028:in `utime': Permission denied @ apply2files - db/PGSQL/.keep (Errno::EACCES)

image

@mnyon-grandkru hello sir!

Please from the root of the project do the following commands:

ls -al db/
ls -al db/PGSQL

And please share results here

I am also encountering this error

ERROR PGSQL

@mvpxtech Hi! Thank you for the report!
I will try to find a person who uses Win to debug the case
I do not have an answer and can not to reproduce and debug it somehow. Sorry

If you find a solution, please share

Ah, I see. It is because of permissions for the PGSQL folder
Mac is managing it out of the box. for the windows it is not so. Not sure about Linux.

At least I have a direction. Your information is very helpful. Thank you!

@mnyon-grandkru @mvpxtech
I'm requesting a check of the most recent version
11a5c05

@mnyon-grandkru @mvpxtech
After recent updates this issue has to be fixed.

Tested on MacOs and Linux (Debian)
I'm waiting for any feedback to close this issue.
Anyone is welcome to test and provide a feedback.

Testing on Linux and Windows showed good results.
Screenshot 2023-09-08 at 22 20 38
Screenshot 2023-09-08 at 22 19 14