charm-logrotate cron job created with wrong access permissions

Bug #1864599 reported by Paul Goins
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
logrotate-charm
Fix Released
Medium
Ashley James

Bug Description

The code intends to create the charm-logrotate job with chmod 700, however, it uses os.chmod for this, and to do the right thing the code needs to use the constant 0o700 rather than 700. The integer 700 translates to octal 1274, which is totally different.

Related branches

Edin S (exsdev)
Changed in charm-logrotated:
importance: Undecided → Medium
Eric Chen (eric-chen)
tags: added: good-first-bug
tags: added: bseng-1217
Revision history for this message
Ashley James (dashmage) wrote :
Changed in charm-logrotated:
status: New → Fix Committed
assignee: nobody → Ashley James (dashmage)
Chi Wai CHAN (raychan96)
Changed in charm-logrotated:
milestone: none → 23.07
Chi Wai CHAN (raychan96)
Changed in charm-logrotated:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.