Skip to content

Elevated privileges  #197

Open
Open
@cesa87

Description

@cesa87

Sorry if this is mentioned somewhere, I did look through the docs and previous reports but didn't see anything.

So I wanted to set up a simple push to /var/www/html for a small private dev env but ran int o perm errors writing to the root fs.

I understand this is due to the user offered under REMOTE_USER not having the correct permissions (I confirmed this by removing TARGET allowing the default and the action completed)

I was hoping I could circumvent this with permissions: write-all either globally or per job but this also failed.

As a work around Ive moved the group and owner of /var/www/html to the ubuntu user as its only a dev env. Is there away I can escalate to write to the root fs? Or would it be best to set up a new user and .pem for this action, swap group and owner of /var/www/html to said user and lock down form there?

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleIssues without activity

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions