Skip to content

TODO each the dirs on the path to the web app must have the right permissions #2

Open
@rx294

Description

@rx294

each the dirs on the path to the web app must have the following permissions
need a way to do this better

['/var/www/','/var/www/vserver1/','/var/www/vserver1/html/'].each do |folder|
  directory folder do
    owner node['nginx_owner']
    group node['nginx_owner']
    mode '1755'
    action :create
  end
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions