Permission issue when pushing #18

Closed
opened 3 years ago by s · 3 comments
s commented 3 years ago

When I push some files to the git, I get the following error:

remote: cp: cannot create regular file '/var/www/narrowcast/index.html': Permission denied
remote: cp: -r not specified; omitting directory 'kyf'
remote: cp: -r not specified; omitting directory 'old-events'

which means that the push is successful but https://stream.vvvvvvaria.org/ is not updated.

When I push some files to the git, I get the following error: > remote: cp: cannot create regular file '/var/www/narrowcast/index.html': Permission denied > remote: cp: -r not specified; omitting directory 'kyf' > remote: cp: -r not specified; omitting directory 'old-events' which means that the push is successful but https://stream.vvvvvvaria.org/ is not updated.
mb commented 3 years ago

Should be resolved now!

It seemed that the index.html file was edited directly on the server, which changed the file permissions.

Should be resolved now! It seemed that the `index.html` file was edited directly on the server, which changed the file permissions.
mb closed this issue 3 years ago
s commented 3 years ago
Poster

Thanks! I can now indeed push the index.html but with directories the problem is still there. I get:

remote: cp: -r not specified; omitting directory 'kyf'
remote: cp: -r not specified; omitting directory 'old-events'

It's probably something in the hook!

Thanks! I can now indeed push the `index.html` but with directories the problem is still there. I get: > remote: cp: -r not specified; omitting directory 'kyf' remote: cp: -r not specified; omitting directory 'old-events' It's probably something in the hook!
mb commented 3 years ago

Yes indeed, the -r was not added to the copy command in the hook.

It should work now!

Yes indeed, the `-r` was not added to the copy command in the hook. It should work now!
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.