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" To: cygwin AT cygwin DOT com User-Agent: SquirrelMail/1.4.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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/