Расскажу в чем проблема. Сеть такой пакте под названием davfs2. Он использует протокол webdav при помощи которого можно монтировать облачные сервисы. В интернете советуют перенести настройки в домашнюю директорию. Мне это не удобно. по скольку я работаю на несколько устройств
1. 2-два устройства | wifi роутера на openwrt
2. 1-одно устройство | ubuntu server 12.04
3. 1-одно устройство | xubuntu 16.04
Думаю понятно почему не хочу использовать домашнюю директорию. Проблема не в этом. При монтировании выдает вот что.
livanda@livanda-Inspiron-3542:~$ sudo mount.davfs https://webdav.cloud.mail.ru/ /media/webdav/mail/livanda91
mount.davfs: wrong permissions set for cache directory /var/cache/davfs2/webdav.cloud.mail.ru+media-webdav-mail-livanda91+root
livanda@livanda-Inspiron-3542:~$
Я не понимаю причем тут ошибка в разрешении прав? Тут нужно специальные права пользоваться ниже приведу конфиг.
# davfs2 configuration file 2014-08-10
# version 12
# ------------------------------------
# Copyright (C) 2006, 2007, 2008, 2009, 2012, 2013, 2014 Werner Baumann
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice
# and this notice are preserved.
# Please read the davfs2.conf (5) man page for a description of the
# configuration options and syntax rules.
# Available options and default values
# ====================================
# General Options
# ---------------
dav_user davfs2 # system wide config file only
dav_group davfs2 # system wide config file only
dav_user livanda # system wide config file only
dav_group livanda # system wide config file only
# kernel_fs fuse
buf_size 16 # KiByte
# WebDAV Related Options
# ----------------------
# use_proxy 1 # system wide config file only
# proxy # system wide config file only
# trust_ca_cert
# servercert # deprecated: use trust_ca_cert
# trust_server_cert
# clientcert
# secrets ~/.davfs2/secrets # user config file only
# ask_auth 1
# use_locks 1
# lock_owner <user-name>
# lock_timeout 1800 # seconds
# lock_refresh 60 # seconds
# use_expect100 0
# if_match_bug 0
# drop_weak_etags 0
# n_cookies 0
# precheck 1
# ignore_dav_header 0
# use_compression 0
# min_propset 0
# follow_redirect 0
# server_charset
# connect_timeout 10 # seconds
# read_timeout 30 # seconds
# retry 30 # seconds
# max_retry 300 # seconds
# add_header
# Cache Related Options
# ---------------------
# backup_dir lost+found
cache_dir /var/cache/davfs2 # system wide cache
# ~/.davfs2/cache # per user cache
cache_size 50 # MiByte
table_size 1024
# dir_refresh 60 # seconds
# file_refresh 1 # second
# delay_upload 10
# gui_optimize 0
# minimize_mem 0
# Debugging Options
# -----------------
# debug # possible values: config, kernel, cache, http, xml,
# httpauth, locks, ssl, httpbody, secrets, most
use_locks 0
Как я поняла тут нужен обязательно как кеш и указать пользователя и группу. Тогда в чем у меня проблем? Не понимаю ..
___________________________
Добавил немного конкретики в название темы для индексации.
~ Punko