Skip to content

Permissions are not changed correctly when site is not deployed relative to its parent #861

@arteymix

Description

@arteymix

Affected version

3.21.0

Bug description

I have the following site layout for a parent/children project:

parent/
foo/
   foo-a
   foo-b

When running mvn -X site-deploy in the foo project, chmod is called only once on the parent project, leaving permissions untouched on foo, foo-a and foo-b.

Ideally, chmod should be called for every site being deployed, and not only once for the parent site.

But more concerning is that changing permissions recursively on the parent site is inefficient and likely dangerous as it may affect permissions on projects that are unrelated to the one being deployed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions