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

怎样做公司网站建设wordpress更改文件上传目录

怎样做公司网站建设,wordpress更改文件上传目录,网站建设的技术亮点,最新新闻热点评论记录一次docker报错无法访问文件夹#xff0c;权限错误问题 1. 背景 使用docker安装photoview#xff0c;为其分配了一个cache目录#xff0c;用户其缓存数据。在运行过程中#xff0c;扫描文件后显示如下错误 could not make album image cache directory: mkdir /app/c…记录一次docker报错无法访问文件夹权限错误问题 1. 背景 使用docker安装photoview为其分配了一个cache目录用户其缓存数据。在运行过程中扫描文件后显示如下错误 could not make album image cache directory: mkdir /app/cache 检查映射的目录其目录下无任何文件符合报错内容即无法正确访问文件夹。官方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 GID999 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 GID999 and a user in this group with UID999; 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/ 官方的方式太复杂了显示需要创建用户组并将对应的文件夹加入用户组我不希望这么麻烦。 2. 解决 主要原因是文件夹的权限默认是root将其修改权限为所有用户可以访问即可。如果通过自己的compose安装默认就是777的权限但通过unraid进行安装权限就不是这个。修改对应文件夹的权限 chmod -R 777 /mnt/user/appdata/photoview修改后重启docker即可正常运行了
http://www.hkea.cn/news/14308775/

相关文章:

  • 网站用户体验方案域名是指什么
  • 设计图片的app软件做seo网站标题用什么符号
  • 天津网站建设网站建设公众号开发者是什么
  • 46设计网站官网商城网站需求
  • 建设设计网站公司驾校网站建设方案
  • 温室大棚建设 网站及排名转卖r语言网站开发
  • 苏州网站开发公司济南兴田德润o厉害吗WordPress朗读
  • 网站ip流量查询杭州网站建设 双收
  • 网站背景颜色代码中国城乡建设部人力网站首页
  • 制作一个网站要花多少钱中文域名注册网站
  • 长春建立一个网站需要多少钱?php网站建设全程实例
  • 平台网站模板珠海柏泰教育官方网站建设
  • 萧山品牌网站建设三门峡网站优化
  • pc端网站开发总结招聘网站开发策划方案
  • 扬州做网站的网络公司免费自助建站哪个平台好
  • 资源采集网站如何做注册公司怎么注册啊
  • 有什么做设计接任务的网站网页设计推荐使用路径
  • 安能建设总公司网站打不开游戏网页制作
  • 网站建设的书籍知乎广州知名网站建设后台管理便捷
  • 网站编程设计如何写备注学做网站能找到工作么
  • 永康市建设银行网站查询异地网站建设公司
  • 网站建设微信商城运营手机网站下拉菜单代码
  • 网站建设实训总结范文phpnow 搭建网站
  • 手机网站开发 html5网站备案在线注销
  • 怎么做网站的百度排名wordpress网站打开慢
  • 阿里云网站建设服务费会计科目网站制作案例哪家强
  • 网站模板 哪家好北京网站建设好不好天
  • 做仿牌网站被封临沂市网站建设公司
  • 济南好的网站建设公司排名江苏省建筑培训网
  • 新河镇网站制作电影vip免费网站怎么做的