株式会社ヴァンデミックシステム

Blog

<スポンサーリンク>

例えば以下のディレクトリの場合

# ls -ld /var/www/html/nextcloud/data
drwxrwx--- 35 www-data www-data 4096 May  9 11:23 /var/www/html/nextcloud/data

smb.confにこのようにforce user, force groupを指定する

[nextcloud]
   path = /var/www/html/nextcloud/data
   browsable = yes
   writable = yes
   guest ok = yes
   guest only = yes
   read only = no
   #valid users = www-data
   force user = www-data
   force group = www-data

<スポンサーリンク>

コメントを残す

Allowed tags:  you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>
Please note:  all comments go through moderation.

*

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)