Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
Description
On a VMPooler win2012 machine:
- create a test user that is not a administrator
- add the test user to the "Remote Desktop Users" group
- Set the permissions on C:\ to "Subfolders only" for "create directories/append content" for the Users group
- in a powershell:
- pdk new module some_name
- cd some_name
- pdk new class some_name
- pdk test unit
Executing 'ruby C:/Users/jbird12/Desktop/modulename/bin/rake spec[]' |
...
|
failed: rspec: ./spec/classes/modulename_spec.rb:23: Permission denied @ dir_s_mkdir - C:/dev |
undefined method `clear' for nil:NilClass |
|
|
If you are not an administrator user, you won't be able to create folders on the C:\ drive. I think this is within rspec that is causing it, but not sure who should fix it.
After much struggle, I could get a proper stacktrace out of ruby: