Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 261129

Summary: app-portage/porticron installs non-executable cron file
Product: Gentoo Linux Reporter: Vladimir Berezhnoy <non7top>
Component: Current packagesAssignee: Benedikt Böhm (RETIRED) <hollow>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vladimir Berezhnoy 2009-03-04 05:57:52 UTC
Everytime the package is updated or reinstalled the executable bit gets removed from the cron file andthis breakes the updates.
Ideally the package should respect the state of executable bit on cron file if it already exists and warn if the file is installed as non-executable.
Other packages which install cron files always install them as executable (logwatch, logrotate, slocate, man)

Reproducible: Always

Steps to Reproduce:
1. chmod +x /etc/cron.daily/porticron
2. emerge porticron


Actual Results:  
# ls -l /etc/cron.daily/porticron
-rw-r--r-- 1 root root 37 Мар  4 08:56 /etc/cron.daily/porticron


Expected Results:  
# ls -l /etc/cron.daily/porticron
-rwxr-xr-x 1 root root 37 Мар  4 08:41 /etc/cron.daily/porticron

The executable bits gets removed
Comment 1 Benedikt Böhm (RETIRED) gentoo-dev 2009-03-24 08:56:24 UTC

*** This bug has been marked as a duplicate of bug 257028 ***