diff options
author | Lamont Granquist <lamont@opscode.com> | 2013-04-18 17:00:34 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@opscode.com> | 2013-04-18 17:00:34 -0700 |
commit | 8995557f7a419b887aed87f23cb223cc6fa84424 (patch) | |
tree | 92e4db445cceae9a5e2c31417db148d317750e9f /lib/chef/provider/file | |
parent | d0991759dcfd135d8ffce3f851d86387eb935fa0 (diff) | |
download | chef-8995557f7a419b887aed87f23cb223cc6fa84424.tar.gz |
self_relative is internal state
Diffstat (limited to 'lib/chef/provider/file')
-rw-r--r-- | lib/chef/provider/file/deploy/mv_windows.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/chef/provider/file/deploy/mv_windows.rb b/lib/chef/provider/file/deploy/mv_windows.rb index 12e4696e81..221d4beed4 100644 --- a/lib/chef/provider/file/deploy/mv_windows.rb +++ b/lib/chef/provider/file/deploy/mv_windows.rb @@ -49,8 +49,6 @@ class Chef # FIXME: catch exception when we can't elevate privs? dst_sd = dst_so.security_descriptor(true) # get the sd with the SACL - #result = Security.get_named_security_info(dst, :SE_FILE_OBJECT, ALL_ACLS) - if dst_sd.dacl_present? apply_dacl = ACL.create(dst_sd.dacl.select { |ace| !ace.inherited? }) end @@ -65,9 +63,6 @@ class Chef Chef::Log.debug("applying sacl #{dst_sd.sacl} to staged file") if dst_sd.sacl_present? Chef::Log.debug("applying sacl inheritance to staged file") if dst_sd.sacl_inherits? - # FIXME: self_relative? - - so = Security::SecurableObject.new(src) so.set_dacl(apply_dacl, dst_sd.dacl_inherits?) if dst_sd.dacl_present? |