当前位置: 首页 > news >正文

wordpress英文版中文版百度关键词优化多少钱一年

wordpress英文版中文版,百度关键词优化多少钱一年,宁波网站建设服务提供商,seo单页面wordpress记录一次docker报错无法访问文件夹,权限错误问题 1. 背景 使用docker安装photoview,为其分配了一个cache目录,用户其缓存数据。在运行过程中,扫描文件后显示如下错误 could not make album image cache directory: mkdir /app/c…

记录一次docker报错无法访问文件夹,权限错误问题

1. 背景

  1. 使用docker安装photoview,为其分配了一个cache目录,用户其缓存数据。
  2. 在运行过程中,扫描文件后显示如下错误

could not make album image cache directory: mkdir /app/cache

  1. 检查映射的目录,其目录下无任何文件,符合报错内容即无法正确访问文件夹。
  2. 官方github的解答为:

Make sure that your media library’s root folder and all the files and
subfolders are readable and searchable by other users: run the next
command (or corresponding sequence of commands from the ):Makefile

make readable If command(s) return error, run them under the user,
owning corresponding files and folders. Alternatively, run them adding
before the command: this will switch the execution context to user and
ask for the root password. You have to have permission to run in the
system.Permission deniedsudo rootsudo

If you don’t want to give required permissions to group for your
files, alternatively, you can:others

create a group on your host with GID=999 and make all the files and
folders inside volumes of the service being owned by this group; then
set the appropriate permissions to the section.photoviewgroup create
on your host a group with GID=999 and a user in this group with
UID=999; then change the ownership of all the files and folders inside
volumes of the service to this user; then set the appropriate
permissions to the section.photoviewuser If you configured other
mounts with media files from other locations on the host (like
HOST_PHOTOVIEW_MEDIA_FAMILY or anything else), you need to run the
same commands, as in the target, for each media root folder on your
host manually: copy each command to your shell and replace the
variable with the absolute path to an additional media root folder
without the trailing . Run both commands for each additional root
folder.Makefilereadable/

  1. 官方的方式太复杂了,显示需要创建用户组并将对应的文件夹加入用户组,我不希望这么麻烦。

2. 解决

  1. 主要原因是文件夹的权限,默认是root,将其修改权限,为所有用户可以访问即可。
  2. 如果通过自己的compose安装,默认就是777的权限,但通过unraid进行安装,权限就不是这个。
  3. 修改对应文件夹的权限
chmod -R 777 /mnt/user/appdata/photoview
  1. 修改后重启docker即可正常运行了
http://www.laogonggong.com/news/8756.html

相关文章:

  • 网站如何做更新数据分析一般用什么软件
  • 网站迁移后 后台进不去零基础学seo要多久
  • 信息网站的建设武汉seo优化排名公司
  • 网站建设公司违法社群营销的十大案例
  • html网站标题怎么做的seo优化服务
  • 网站制作及管理教程太原seo排名优化软件
  • 购物网站建设ppt线上电脑培训班
  • 重庆做网站changeke百度搜索提交入口
  • 深圳购物商城网站建设服装品牌策划及营销推广方案
  • wordpress社交主题安卓优化大师
  • 太仓网站建设拉新推广渠道
  • 网站建设的必要性及意义我想做个网站怎么做
  • 发布网站iis上报404错误搜索引擎优化什么意思
  • 阿里巴巴建设电子商务网站目的宁波seo优化公司
  • 优化方案电子版产品seo优化
  • 做网站多久能学会个人如何推广app
  • 网站建设与制作dw8教程怎么查询搜索关键词
  • 网站官网认证怎么做的什么叫seo
  • 怎么做bt爬虫网站谷歌google浏览器官方下载
  • 罗湖医院网站建设长尾关键词排名工具
  • 做音乐网站首页要求深圳seo网络优化公司
  • 郑州餐饮网站建设公司最新国际军事动态
  • 加盟推广公司广州中小企业seo推广运营
  • 就诊网站建设协议网站排名英文
  • 网站定制开发费用多少网站排行
  • 成都网站建设、网站首页seo关键词布局
  • 挪威网站后缀营销页面
  • 网站开发技术包括免费推广网站
  • 宝鸡网站开发公司香港旺道旺国际集团
  • 网页设置安全站点怎么进行推广