Issue #12471 has been reported by Daniel Pittman. ---------------------------------------- Bug #12471: File resource type allows non-canonical paths.... https://projects.puppetlabs.com/issues/12471
Author: Daniel Pittman Status: Accepted Priority: Normal Assignee: Category: file Target version: Telly Affected Puppet version: 0.22.1 Keywords: Branch: The File resource allows all sorts of non-canonical paths for managing files. It does some modification to strip duplicate `//` characters down to a single `/`, but that isn't either correct, or sufficient, for the purpose. It should not allow these. For example, `/foo/bar` and `/foo/./bar` are treated as different files. This should absolutely not be the case; we should detect and fail on that, since the model gets a bit odd if we allow this sort of duplication. We should also account for, eg, Windows platforms, the POSIX super-root, and other fun platform oddities. Note: this is used as a work-around for other issues in #3873, and we should consider if there are other places that need fixing before we can actually make this do the right thing, not just the so-so thing. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
