Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 0.9.12
-
Fix Version/s: None
-
Component/s: Chef Client
-
Labels:
-
Environment:
windows, ruby 1.8.7
Description
Problem exists on windows - but it will be probably simillar on unix (i haven't tested).
When you download directory with remote_directory resource, and you want notify another resource when any file in remote directory changes, AND you have at least one executable file in your directory - then remote_directory will ALWAYS notify another resource!
Cause is that ruby on windows always says, that executable has 755 mode, but default mode is 644 - and each time chef tries to change mode to 644 - which obviously fails on windows miserably
So each time you get notification.
Workaround is: download zip file, and act upon zip file changes.
Activity
- All
- Comments
- History
- Activity
- Transitions Summary
What's the right fix for this? Should we change the default mode on windows to 0755?