X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,TW_RW X-Spam-Check-By: sourceware.org X-Authority-Analysis: v=1.1 cv=CKBBFOpPYfBSFfEY1Rl9efxuAv/fdt7oFsWUUq3BrLQ= c=1 sm=1 a=IzDsJS3ZcTgA:10 a=u5GxdV9imDEA:10 a=yUnIBFQkZM0A:10 a=8nJEP1OIZ-IA:10 a=qaKb1C4icvFelln4jb265g==:17 a=W8t99Xi0LX2UQ8xG8SYA:9 a=_fqj2Z2vsFW7iPP-KJAA:7 a=wPNLvfGTeEIA:10 a=qaKb1C4icvFelln4jb265g==:117 Message-ID: <4E8891D1.7080901@charter.net> Date: Sun, 02 Oct 2011 12:31:13 -0400 From: SJ Wright User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: Cygwin User Mailing List Subject: Windows GUI apps and gid in Cygwin 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 Hi. This is a little thing, no errors or gripes involved, but I'm more than curious to see if anything can be done to change it. If I do an ls -lh on any file created or saved in a Windows app, such as XnView, I get this for a return string: > -rwx------+ 1 steve None 210336 2011-03-25 21:15 gae86-8660-015-007mvp.jpg You'll notice the group is None. Now if I create a text file (empty or with text from nano or vim), I get this using the same stepped ls command > -rw-r--r--+ 1 steve resurgam 187 2011-10-02 12:23 thefourbears.txt Would it have something to do with being in a login shell, in bash via mintty, while any Windows apps not primarily geared towards network or system-level tasks don't need one and therefore the group ID can't be set to the same thing? Or am I adding unnecessary complications to this? Another two questions. 1. Is the group 'None' in etc/group necessary, or could Cygwin -- and by Cygwin I mean sshd and Net applications such as cUrl -- work just as well without it? 2. How much damage could I do if I were to remove "HelpAssist" group (or is it a user) from one of the relevant files in etc/ ? How quickly, IOW, would that map back to Windows and cause confusion? Hope folks can answer these, if not right away then eventually. Good times. SJ Wright -- "When stranded on a prehistoric planet, never throw a Scrabble letter Qinto a privet bush." - Advice from the Hitchhiker's Guide to the Galaxy -- 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