Skip to content

issue with upload() file/folder permissions #2987

@scollovati

Description

@scollovati
  • Deployer version: Deployer 6.8.0
  • Deployment OS: Windows Version 10.0.19041 Build 19041 / WSL1 Ubuntu 20.04.4 LTS on Windows 10 x86_64 Kernel: 4.4.0-19041-Microsoft

Hi,
I'm using upload() https://deployer.org/docs/6.x/api#upload since I cannot put on the server the Git SSH keys for privacy reasons. However, the uploaded folders and files have a wrong onwer and group owner. Basically it is set to 1000 (owner) and username (group owner) [username is one of the group names in the server).

How can I set the owner and groups as for the other folders (I don't want to tweak directly with chown/chgrp)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions