• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

saltstack / salt / 7401

Build:
Build:
LAST BUILD BRANCH: 0.14
DEFAULT BRANCH: develop
Ran 10 Dec 2013 07:44PM UTC
Jobs 2
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
7401

push

travis-ci

basepi
Fix regression in file.managed

Pull request #8818 caused a couple of regressions. Firstly, it assumes
that, if "mode" is not specified (and thus defaults to None), that you
want the permissions to be equal to those dictated by the umask. This
means that a file with perms 640, which already exists, will be chmod'ed
to 644 if the system umask is 022 and no "mode" parameter was specified
in the state. This is not the expected behavior.

Secondly, the calculated perms are passed to file.check_perms as an
integer whose octal representation is the correct value for the file
permissions (i.e. 0o644, which is == 420 in decimal). However,
file.check_perms is designed to be run from the CLI, and thus requires
a value of 644 (decimal) to be passed, in order to set 644 permissions.
file.check_perms can also accept the mode as a string, so this is how
this commit passes the value to file.check_perms when a new file is
created.
Jobs
ID Job ID Ran Files Coverage
1 7401.1 10 Dec 2013 07:47PM UTC 0
Travis Job 7401.1
2 7401.2 10 Dec 2013 07:44PM UTC 0
Travis Job 7401.2
Source Files on build 7401
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7401
  • bd12f6b7 on github
  • Prev Build on 0.17 (#7384)
  • Next Build on 0.17 (#7414)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc