delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/11/29/15:09:50

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <49223.200.158.224.232.1196366961.squirrel@mail2.icmc.usp.br>
Date: Thu, 29 Nov 2007 18:09:21 -0200 (BRST)
Subject: root privileges
From: "Jorge Marques Pelizzoni" <jpeliz AT icmc DOT usp DOT br>
To: cygwin AT cygwin DOT com
User-Agent: SquirrelMail/1.4.7
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi all!

I am developing a program that requires root privileges to run (e.g. it
calls ioctl to set communication lines at a serial port). Even though I am
an administrator of my WinXP workstation, cygwin keeps giving me EPERM.
Ok, I've read:

http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping

but wasn't able to sove my problem anyway. I even tried changing my user
group from 513 to 544 in /dev/passwd by directly editing this file...

I'd rather not change the program (as it runs fine on linux) but just be
recognized as root to have it going on Windows. Is that possible?

Thanks in advance. Cheers,

Jorge.


Jorge M. Pelizzoni
ICMC - Universidade de São Paulo


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019