run-parts doesn't run script with sh extension
Bug #38022 reported by
Tomáš Hála
This bug affects 20 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
anacron (Ubuntu) |
Triaged
|
Low
|
Unassigned | ||
cron (Debian) |
Fix Released
|
Unknown
|
|||
cron (Ubuntu) |
Won't Fix
|
Low
|
Unassigned | ||
debianutils (Debian) |
Fix Released
|
Unknown
|
|||
debianutils (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
With default cron configuration you can only place a shell script to /etc/cron.* directory and it is executed by run-parts via cron at the right time. But if the script has "sh" extension (e.g. script.sh) it is not executed without any warning even if it has correct execute rights (e.g. 755). The same will NOT happen if you place only symlink to the script in this directory with the same name.
Changed in debianutils (Ubuntu): | |
status: | Fix Released → Confirmed |
Changed in cron (Debian): | |
status: | Unknown → New |
Changed in cron (Debian): | |
status: | New → Fix Released |
Changed in debianutils (Debian): | |
status: | Unknown → Fix Released |
To post a comment you must log in.
Correction:
The same WILL happen even if you place simlink with "sh" extension in the /etc/cron.* directory.