public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* How to run Hadoop on Cygwin with proper credentials to enable setting file permissions, etc.?
@ 2012-03-14 13:32 James Adams
  2012-03-19 16:54 ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 2+ messages in thread
From: James Adams @ 2012-03-14 13:32 UTC (permalink / raw)
  To: cygwin

I cannot change the permissions on files when I run Hadoop in Cygwin:

    java.io.IOException: Failed to set permissions of path:
\tmp\hadoop-James\mapred\staging\James-1143336710\.staging to 0700

From what I've gathered you can't really run Cygwin as root since
Windows doesn't really have a notion of root (reference:
http://cygwin.com/ml/cygwin/2009-01/msg00338.html), and I've tried to
run Cygwin as the Administrator user but this option isn't available
to me when I right click on the Cygwin shortcut in Windows XP (I've
also tried changing the Cygwin shortcut's properties to allow me to
run as another user but that option is disabled).

Can anyone advise me as to how I can get past this issue?  Thanks in
advance for your help.

--James

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to run Hadoop on Cygwin with proper credentials to enable setting file permissions, etc.?
  2012-03-14 13:32 How to run Hadoop on Cygwin with proper credentials to enable setting file permissions, etc.? James Adams
@ 2012-03-19 16:54 ` Larry Hall (Cygwin)
  0 siblings, 0 replies; 2+ messages in thread
From: Larry Hall (Cygwin) @ 2012-03-19 16:54 UTC (permalink / raw)
  To: cygwin

On 3/14/2012 9:32 AM, James Adams wrote:
> I cannot change the permissions on files when I run Hadoop in Cygwin:
>
>      java.io.IOException: Failed to set permissions of path:
> \tmp\hadoop-James\mapred\staging\James-1143336710\.staging to 0700
>
>> From what I've gathered you can't really run Cygwin as root since
> Windows doesn't really have a notion of root (reference:
> http://cygwin.com/ml/cygwin/2009-01/msg00338.html), and I've tried to
> run Cygwin as the Administrator user but this option isn't available
> to me when I right click on the Cygwin shortcut in Windows XP (I've
> also tried changing the Cygwin shortcut's properties to allow me to
> run as another user but that option is disabled).
>
> Can anyone advise me as to how I can get past this issue?  Thanks in
> advance for your help.

I'm guessing you're not a member of the Administrators group then.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-19 16:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-14 13:32 How to run Hadoop on Cygwin with proper credentials to enable setting file permissions, etc.? James Adams
2012-03-19 16:54 ` Larry Hall (Cygwin)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).