Skip to contentSkip to conversation

package/screen: install screenrc without executable rights

PATCH Applied Thomas Petazzoni via buildroot 1 participant 3 messages Sep 18 – Sep 25

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/screen: install screenrc without executable rights

There is no reason to install a configuration file in /etc with executable rights.

Fixes 98873717c2654e27ce069c44e9b5dbe3383c0f97 ("screen: enable terminfo and install screenrc")
---
 package/screen/screen.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/screen/screen.mk +1 -1
index c279fed8bc..ed225d1983 100644
@@ -28,7 +28,7 @@ SCREEN_CONF_OPTS += --disable-pam
 endif
 
 define SCREEN_INSTALL_SCREENRC
-	$(INSTALL) -m 0755 -D $(@D)/etc/screenrc $(TARGET_DIR)/etc/screenrc
+	$(INSTALL) -m 0644 -D $(@D)/etc/screenrc $(TARGET_DIR)/etc/screenrc
 endef
 SCREEN_POST_INSTALL_TARGET_HOOKS += SCREEN_INSTALL_SCREENRC
 
Signature · 6 lines
2.55.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 6 lines · Thomas Petazzoni via buildroot

There is no reason to install a configuration file in /etc with executable rights.

Fixes 98873717c2654e27ce069c44e9b5dbe3383c0f97 ("screen: enable terminfo and install screenrc")

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Thomas Petazzoni via buildroot

In reply of:

Quoted 6 lines

There is no reason to install a configuration file in /etc with executable rights.

Fixes 98873717c2654e27ce069c44e9b5dbe3383c0f97 ("screen: enable terminfo and install screenrc")

Applied to 2025.02.x, 2026.08.x. Thanks

Quoted 9 lines
---
 package/screen/screen.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/screen/screen.mk +0 -0
index c279fed8bc..ed225d1983 100644

package/screen/screen.mk SCREEN_CONF_OPTS += --disable-pam · line 34

Quoted 8 lines
package/screen/screen.mk +1 -1
@@ -28,7 +28,7 @@ SCREEN_CONF_OPTS += --disable-pam
 endif
 
 define SCREEN_INSTALL_SCREENRC
-	$(INSTALL) -m 0755 -D $(@D)/etc/screenrc $(TARGET_DIR)/etc/screenrc
+	$(INSTALL) -m 0644 -D $(@D)/etc/screenrc $(TARGET_DIR)/etc/screenrc
 endef
 SCREEN_POST_INSTALL_TARGET_HOOKS += SCREEN_INSTALL_SCREENRC
 

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot