How weird. I've never seen this, and then realized I run a Windows
shell app (console2) under admin privlideges. (I forget why, probably
because whatever I tend to do tends to trigger some annoying permision
thing a little too often.)
But I tried the rawr bundle task using a normal cmd.exe shell, and got
that error.
> The workaround is running rake under the admin account, but it is
> undesirable in an awful lot of situations :(
>
Or run a cmd shell as admin, and then what you do in that shell runs as
admin; you don't have to change any permissions on rake itself.
However, the idea of some sort of "sudo" command for Windows seemed
interesting, so I looked around some, and found this:
http://superuser.com/questions/42537/is-there-any-sudo-command-for-windows
I couldn't get the `runas` command to work for me, so I tried the
`elevate` tool linked over at
http://technet.microsoft.com/en-us/magazine/2007.06.utilityspotlight.aspx
(but the tool download is really here:
http://technet.microsoft.com/en-us/magazine/cc135869.aspx)
And it works.
It's less than ideal; you get the admin permission dialog box thing, and
then it runs the command in a new cmd window, which goes away after the
commnd runs. Maybe there's some way around the closing shell thing
(using `cmd \k` as part of the command string didn't help me, but my
WInFu is weak).
Having to install something extra is no fun either, though it sure beats
the busy `runas` syntax.
James
--
You received this message because you are subscribed to the Google Groups "rawr-lib" group.
To post to this group, send email to rawr...@googlegroups.com.
To unsubscribe from this group, send email to rawr-lib+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rawr-lib?hl=en.
I did a grep for this, and found nothing, and now I realize I cannot
spell.
If the code only works on NTFS anyway, is there a reason to have fsutil
bother checking? Would having rawr just fail if run on FAT32 (or
whatever) be a big deal?
Id rather just put a note in the docs ("NTFS only if on Windows") and
skip the hassle of running fsutil, unless there's some compelling reason
to keep it.
James
James