Issue #10614 has been updated by Josh Cooper.

Status changed from Accepted to In Topic Branch Pending Review
Branch set to https://github.com/puppetlabs/puppet/pull/200

Previously puppet on Windows could segfault when managing files on non-NTFS 
volumes, such as a network share. There were also problems setting/clearing the 
readonly attribute, and issues interpreting BOOL return values.

These commits ensure that an error is raised when attempting to manage owner, 
group, and/or mode on non-NTFS volumes. It also provides default values when a 
file is sourced from a non-NTFS volume, for example, <code>puppet resource file 
z:\ </code>
----------------------------------------
Bug #10614: Should not manage or source metadata from files on non-NTFS volumes 
on Windows
https://projects.puppetlabs.com/issues/10614

Author: Josh Cooper
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: Josh Cooper
Category: windows
Target version: 2.7.x
Affected Puppet version: 2.7.6
Keywords: 
Branch: https://github.com/puppetlabs/puppet/pull/200


If a non-NTFS volume is mounted in Windows, we cannot get or set the owner, 
group or mode (DACL). In some cases, this can lead to a segfault due to 
interpreting the boolean return value incorrectly.

We should consider attempts to manage these files as invalid, and attempts to 
source metadata, e.g. uid, should return nil.


-- 
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.

Reply via email to