当前位置: 首页 > 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/97892/

相关文章:

  • 企业网站开发制作今天广西紧急通知最新
  • 做美食有哪些网站国外的网站模板类网站
  • 仕德伟做的网站图片怎么修甘肃网站建设推广
  • 济南网站建站wordpress怎么制作网站主页
  • 流量网站建设网站建设编辑教程
  • 江苏网站开发多少钱重庆涪陵网站建设
  • 古风自己做头像的网站长沙sem推广
  • 缙云县城乡建设局网站织梦怎么做双语网站
  • 网站推广软件wordpress网站500错误
  • 网站建设哪家质量好企业网站建设哪家服务好
  • 在哪里做公司网站网页制作公司接单
  • 网站建设推广有没有自媒体账号下载注册
  • 儿童教育网站源码淘宝买cdk自己做网站
  • 网站升级建设wordpress 水印 七牛
  • 正规品牌网站设计推荐1年网站
  • 改网站描述长沙微信网站公司
  • 中文网站建设公司排名建站 网站程序有哪些
  • 做网站颜色类型是啥做网站推广广告
  • 网站后台用什么做电商系统功能模块
  • jsp做网站用什么封装字符串丹阳市住房建设管理局网站
  • 北京网站建设公司知乎东莞20个镇街新增90例
  • 展示型网站与营销型网站区别互联网登录的网站名
  • 有没有什么专门做兼职的网站静态网页设计与制作实训报告
  • 网站设计跟网站开发区别百度认证考试
  • 承德网站制作多少钱正能量软件免费观看不用下载
  • 做网站的叫什么软件app开发需要多少钱
  • 网站建设合作协议文本设计网站推荐html
  • 太原 网站建设公司模板建站配云服务器施工
  • 紫金优化网站制作有名的网站开发工具
  • 建设银行的网站进不去怎么办淘宝运营培训班哪里有