From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31367 invoked by alias); 19 Mar 2012 16:54:36 -0000 Received: (qmail 31359 invoked by uid 22791); 19 Mar 2012 16:54:35 -0000 X-SWARE-Spam-Status: No, hits=4.9 required=5.0 tests=AWL,BAYES_50,BOTNET,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from vms173019pub.verizon.net (HELO vms173019pub.verizon.net) (206.46.173.19) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 19 Mar 2012 16:54:13 +0000 Received: from [192.168.1.231] ([unknown] [108.7.36.242]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0M15003DC5LWADK0@vms173019.mailsrvcs.net> for cygwin@cygwin.com; Mon, 19 Mar 2012 11:54:01 -0500 (CDT) Message-id: <4F6764A5.5060407@cygwin.com> Date: Mon, 19 Mar 2012 16:54:00 -0000 From: "Larry Hall (Cygwin)" Reply-to: cygwin@cygwin.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-version: 1.0 To: cygwin@cygwin.com Subject: Re: How to run Hadoop on Cygwin with proper credentials to enable setting file permissions, etc.? References: In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-03/txt/msg00531.txt.bz2 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