HomePhorge

(PUP-2583) mode attribute of file type does not behave like chmod when given X
ac2622e8c19eUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(PUP-2583) mode attribute of file type does not behave like chmod when given X

When changing permissions with puppet file type and using symbolic permissions e.g: g+rX, puppet consideres everything as directory. Which is wrong, because you can specify different set of permissions for directory and file (triggered by case of the letter you use).

Problem originates in ruby && and "and" operator precedence. Which was incorrectly used in this case.

Details

Provenance
Michal Bryxí <michal.bryxi@gmail.com>Authored on
Peter Huene <peter.huene@puppetlabs.com>Committed on Jun 3 2014, 6:45 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUd45798bf218f: Merge pull request #2726 from kylog/issue/pup-2577/osx-version-compare-fix
Branches
Unknown
Tags
Unknown

Event Timeline

Peter Huene <peter.huene@puppetlabs.com> committed rPUac2622e8c19e: (PUP-2583) mode attribute of file type does not behave like chmod when given X (authored by Michal Bryxí <michal.bryxi@gmail.com>).Jun 3 2014, 6:45 PM