Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ebee26c

Browse files
committed
Fix for writable dirs
See capistrano#38 (comment)
1 parent f557b3c commit ebee26c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ set :linked_dirs, [fetch(:log_path), fetch(:web_path) + "/uploads"]
6060
# Dirs that need to be writable by the HTTP Server (i.e. cache, log dirs)
6161
set :file_permissions_paths, [fetch(:log_path), fetch(:cache_path)]
6262

63+
# Name used by the Web Server (i.e. www-data for Apache)
64+
set :file_permissions_users, ['www-data']
65+
6366
# Name used by the Web Server (i.e. www-data for Apache)
6467
set :webserver_user, "www-data"
6568

0 commit comments

Comments
 (0)