public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: How to run Hadoop on Cygwin with proper credentials to enable setting file permissions, etc.?
Date: Mon, 19 Mar 2012 16:54:00 -0000	[thread overview]
Message-ID: <4F6764A5.5060407@cygwin.com> (raw)
In-Reply-To: <CACafSV=SYuWpChRN9p2NVU7knBdfHm97abZjLj+h_5G2eACk9A@mail.gmail.com>

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

      reply	other threads:[~2012-03-19 16:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-14 13:32 James Adams
2012-03-19 16:54 ` Larry Hall (Cygwin) [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F6764A5.5060407@cygwin.com \
    --to=reply-to-list-only-lh@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).