Настройка веб-сайта для совместной работы и, похоже, не может получить права доступа

Файл /usr/bin/init-zram-swapping отсутствует. Похоже, что Xenial теперь находится в файле /sbin/zram-config-start. Вы можете это увидеть, посмотрев на $ cat /etc/init/zram-config.conf.

description "Initializes zram swaping and /tmp"
author      "Adam Conrad <adconrad@canonical.com>"

start on runlevel [2345]

pre-start exec /sbin/zram-config-start

pre-stop exec /sbin/zram-config-stop

Файл /sbin/zram-config-start намного сложнее, чем раньше. Интересно, что делать, чтобы увеличить размер плунжера?

0
задан 11 October 2017 в 23:40

2 ответа

Убедитесь, что права на каталоги верны: http://www.techrepublic.com/article/linux-file-and-directory-permissions/

Разрешения каталога Разрешения для каталогов - это не совсем так же, как и файлы. Вот некоторые типичные разрешения, требуемые для каталогов: Execute permission is required for a user to cd into a directory. Read permission is required for a user to use a command such as ls to view the files contained in a directory. Execute-only permission allows a user to access the files in a directory as long as the user knows the names of the files in the directory, and the user is allowed to read the files. Write permission allows the user to create, delete, or modify any files or subdirectories, even if the file or subdirectory is owned by another user
-1
ответ дан 18 July 2018 в 05:26

Убедитесь, что права на каталоги верны: http://www.techrepublic.com/article/linux-file-and-directory-permissions/

Разрешения каталога Разрешения для каталогов - это не совсем так же, как и файлы. Вот некоторые типичные разрешения, требуемые для каталогов: Execute permission is required for a user to cd into a directory. Read permission is required for a user to use a command such as ls to view the files contained in a directory. Execute-only permission allows a user to access the files in a directory as long as the user knows the names of the files in the directory, and the user is allowed to read the files. Write permission allows the user to create, delete, or modify any files or subdirectories, even if the file or subdirectory is owned by another user
-1
ответ дан 24 July 2018 в 18:19

Другие вопросы по тегам:

Похожие вопросы: