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

公司网站有中文域名吗武昌网站建设

公司网站有中文域名吗,武昌网站建设,有网站了小程序怎么做,中国筑建网官网记录一次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.yayakq.cn/news/902532/

相关文章:

  • 在国内的服务器上建设国外网站wordpress树形导航
  • 湖南网站建设找拉米拉免费做游戏小程序的网站
  • 视频网站自己做服务器net公司网站开发框架源代码
  • 网站站点断开多多短视频下载赚钱
  • 高端型网站制作wordpress做社交网站
  • 做网站最好选什么语言做网站客户要先看效果后付款
  • 合肥php网站开发中信建设有限责任公司龙芳
  • 电商网站变化电脑经销部开具网站建设费
  • 建设销售网站的意义创业园网站建设
  • 深圳尼高网站建设上海哪家优化公司好
  • 南京网站设计公司排名电商型网站开发多少钱
  • 哪个网站用织梦做的wordpress mysql储存
  • 北京网站建设 义创物流网站开发项目书
  • 国外的外贸网站个人做网站排版
  • 网站静态页株洲网站建设服务公司
  • 建立网站公司宝坻建设路小学网站
  • 银川百度做网站多少钱做图文网站要什么配置的服务器
  • 唐山网站建设哪家好网站开发生命周期模型
  • 门户网站建设工作情况总结备案网站简介怎么写
  • 怎么做网站用户可以发表文章wordpress企业魔板
  • 一起做网站注册地址浏览器怎么做能不拦截网站
  • 基金网站建设网站企业推广专员招聘
  • 专业建设专业网站制作公司网站生成静态页面工具
  • 网站开发流程原理企业网站制作需要多少费用
  • 长沙市网站建设公司网北京网页设计机构
  • 苏州做网站推广的公司哪家好做网站 大文件
  • 做淘宝客需要建网站吗平凉市住房和城乡建设局网站
  • 安徽同济建设集团网站wordpress用户注册代码修改哪里
  • 企业做网站需要什么怎么建设一个响应式网站
  • 网站制作英文版网站济南英文网站建设