Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix makefile rights #114

Merged
merged 1 commit into from
Mar 4, 2025
Merged

fix makefile rights #114

merged 1 commit into from
Mar 4, 2025

Conversation

SamStaijen
Copy link
Member

@SamStaijen SamStaijen commented Mar 4, 2025

Old situation

got a forbidden because I was not sudo.

New situation

You need to fill in you password, that gets used to login, fixing the rights issue Please note you still need to change you username to match your ssh key's user :)

@SamStaijen SamStaijen self-assigned this Mar 4, 2025
@SamStaijen SamStaijen linked an issue Mar 4, 2025 that may be closed by this pull request
Copy link
Member

@SilasPeters SilasPeters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks bad to me

@SamStaijen SamStaijen merged commit f95f593 into master Mar 4, 2025
1 check passed
@TobiasDeBruijn
Copy link
Member

@SamStaijen does this still work when not using a password?

@@ -19,6 +19,6 @@ deploy: public
rsync --progress -r public/* svsticky.nl:/var/www/intro/intro-cs.svsticky.nl/

# Fix permissions again
ssh svsticky.nl chown -R tobias:tobias /var/www/intro/intro-cs.svsticky.nl
ssh svsticky.nl chmod -R 777 /var/www/intro/intro-cs.svsticky.nl
ssh svsticky.nl sudo -S chown -R sam:sam /var/www/intro/intro-cs.svsticky.nl
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we make this beter? Using $(id):$(id)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

makefile gives Not allowed
3 participants