Method: Windows::File#chgrp
- Defined in:
- lib/beaker/host/windows/file.rb
#chgrp(group, path, recursive = false) ⇒ Object
Note:
Cygwin’s ‘chgrp` implementation does not support windows-, DOS-, or mixed-style paths, only UNIX/POSIX-style. This method simply wraps the normal Host#chgrp call with a call to cygpath to sanitize input.
33 34 35 36 |
# File 'lib/beaker/host/windows/file.rb', line 33 def chgrp(group, path, recursive=false) cygpath = execute("cygpath -u #{path}") super(group, cygpath, recursive) end |