X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-Authority-Analysis: v=1.0 c=1 a=xe8BsctaAAAA:8 a=5cDYJwpyQNWYMvSYzQ0A:9 a=VrHvhHToAkTiS_jZIhcA:7 a=prUCnCyQWo7a-IOidsh_AMJ212kA:4 a=eDFNAWYWrCwA:10 a=rPt6xJ-oxjAA:10 Message-ID: <47CD5140.5090306@byu.net> Date: Tue, 04 Mar 2008 06:40:16 -0700 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com, matthieu DOT castet AT parrot DOT com Subject: Re: chown with not existing user/group References: <008b01c87a16$308a0540$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <20080229092205 DOT GQ9539 AT calimero DOT vinschen DOT de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Matthieu CASTET on 3/4/2008 6:28 AM: | Also according to my posix reading [1], chown should be able to change perm to | any uid/gid. You read wrong. POSIX also allows chown implementations to impose additional restrictions. And on cygwin, we impose the additional restriction that you can't change to a uid/gid that isn't recognized by Windows. | I was thinking cygwin goal was to emulate as much as possible posix | spec. Yes, and cygwin's behavior in this case is still POSIX compliant. - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHzVFA84KuGfSFAYARAjI9AJwI/o6Or9YnPMPHrI6wvO4byQGqZgCgn/1s J2vBp2lLTx4nVupkqr6KNVg= =DsSR -----END PGP SIGNATURE----- -- 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/