gitlab deletes permission when pushing

Hi all, I have a repository with a file called check_icmp. The chmod is 4755. When I push this file in my gitlab repo and pull it from another server, the chmod is 0755.

How can I prevent this behavior?

Thanks in advance, Marcus

Edited Jun 23, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading