So I just tried to run as local system and administrator, no difference in terms of the permissions it created from looking at icalc.
I did a small modification to my class to see if it would help my issues. Below I have a very detailed description of everything that is going on. file { "C:\\MT4+EA-Farm": ensure => 'directory', owner => "EaFarmGroup", mode => '0777', recurse => true, } c:\mt4+ea-farm - permissions look good here, eafarmgroup has the "full" permissions. c:\mt4+ea-farm\assigned - permissions look good here, eafarmgroup has "full" I launched our application, which creates a subdirectory under assigned. This process was launched from user1 who is in the eafarmgroup c:\mt4+ea-farm\assigned\folder1 - For this directory, I see some weird permissions and I think this is where the root of my puppet/windows issues occur. I see the 'user1' has "full" permissions, and that the group 'none' was added with rx,w,dc. If i re-rerun puppet though, these issues will be fixed due to the recurse parameter. I am thinking, it might make sense to set in puppet, ensure => directory, and just have setting the permissions be a manual step, though I hate doing things manually. Any thoughts on this? On Monday, December 10, 2012 4:09:36 PM UTC-5, phundisk wrote: > > I am trying to expand puppet to work for our windows servers and am > noticing some weird permissions issues that are occurring. > > I have a file resource being created that is a folder. I set that folder > to have full permission to user Administrator and a local windows group. I > set the mode to 0777 since I don't really care about security in this > situation. Puppet seems to create a 'Special' type windows permission for > this directory and not the RWX regular windows permissions that I would > expect it to use. There are multiple applications that run within this > created directory and thus the application needs permissions to stuff > within the sub-directories of the created folder. Each application runs as > a separate user. It seems that puppet is causing some permissions errors > when we instantiate what I have below, even though we set the base > permission of the directory to be fully open. Is there any known bugs with > puppet 2.7 and windows? I know it is very limited in this version. The > client version is 2.7.20. > > group { "EaFarmGroup": > ensure => "present", > } > file { "C:\\MT4+EA-Farm": > ensure => 'directory', > owner => "Administrator", > group => "EaFarmGroup", > mode => '0777', > } > > _____________________________________________________ > This email and any files transmitted with it are confidential and intended > solely for the addressee. If you received this email in error, please do > not disclose the contents to anyone; kindly notify the sender by return > email and delete this email and any attachments from your system. > > © 2011 Currensee Inc. is a member of the National Futures Association > (NFA) Member ID 0403251 | Over the counter retail foreign currency (Forex) > trading may involve significant risk of loss. It is not suitable for all > investors and you should make sure you understand the risks involved before > trading and seek independent advice if necessary. Performance, strategies > and charts shown are not necessarily predictive of any particular result > and past performance is no indication of future results. Investor returns > may vary from Trade Leader returns based on slippage, fees, broker spreads, > volatility or other market conditions. > > Currensee Inc | 54 Canal St 4th Floor | Boston, MA 02114 | +1.617.624.3824 > -- _____________________________________________________ This email and any files transmitted with it are confidential and intended solely for the addressee. If you received this email in error, please do not disclose the contents to anyone; kindly notify the sender by return email and delete this email and any attachments from your system. © 2011 Currensee Inc. is a member of the National Futures Association (NFA) Member ID 0403251 | Over the counter retail foreign currency (Forex) trading may involve significant risk of loss. It is not suitable for all investors and you should make sure you understand the risks involved before trading and seek independent advice if necessary. Performance, strategies and charts shown are not necessarily predictive of any particular result and past performance is no indication of future results. Investor returns may vary from Trade Leader returns based on slippage, fees, broker spreads, volatility or other market conditions. Currensee Inc | 54 Canal St 4th Floor | Boston, MA 02114 | +1.617.624.3824 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/6qGKBZoubFcJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.