项目

一般

简介

使用非root用户(redmine的bitnami用户)bundle install --gemfile /opt/bitnami/redmine/Gemfile,结果报没权限的问题?

hu xq11 个月 之前添加

如题,在盘点时,都是报权限问题,有人知道为啥吗?看网上也有类似的https://blog.csdn.net/weixin_45561352/article/details/122405982,但我不敢这样操作。有人懂吗?

Fetching nio4r 2.5.9

Retrying download gem from https://rubygems.org/ due to error (2/4): Bundler::PermissionError There was an error while trying to write to `/opt/bitnami/ruby/lib/ruby/gems/3.0.0/cache/nio4r-2.5.9.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (3/4): Bundler::PermissionError There was an error while trying to write to `/opt/bitnami/ruby/lib/ruby/gems/3.0.0/cache/rack-2.2.7.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (3/4): Bundler::PermissionError There was an error while trying to write to `/opt/bitnami/ruby/lib/ruby/gems/3.0.0/cache/nio4r-2.5.9.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (4/4): Bundler::PermissionError There was an error while trying to write to `/opt/bitnami/ruby/lib/ruby/gems/3.0.0/cache/nio4r-2.5.9.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (4/4): Bundler::PermissionError There was an error while trying to write to `/opt/bitnami/ruby/lib/ruby/gems/3.0.0/cache/rack-2.2.7.gem`. It is likely that you need to grant write permissions for that path.


回复 (1)

RE: 使用非root用户(redmine的bitnami用户)bundle install --gemfile /opt/bitnami/redmine/Gemfile,结果报没权限的问题? - 由 redmineplugins.cn Admin10 个月 之前添加

建议采用(bitnami)安装时所使用的用户,否则可能会出现权限问题。

    (1-1/1)
    点赞0
    点赞0
    赞赏