X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9B71A387084C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sdf.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cupcake AT sdf DOT org Date: Tue, 12 May 2020 15:45:42 -0400 (EDT) From: David Message-Id: <202005121945.04CJjgq5019928@sdf.org> To: cygwin AT cygwin DOT com Subject: Groups command failing me in Windows 10 X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_05, KAM_DMARC_STATUS, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" Hello, The groups command in the cmd window on Windows 10 shows None as my first group. When I use the dir command to create a file, the security display shows no error. When I use the touch command to create a file, I get "The permissions on ... are incorrectly ordered [NULL if first] I bought two refurbished Windows 10 machines and this is the same on both. I am on local machines with no outside domain connection. In the fewest steps, how do I assign this user to a group? What group should I assign the user to - so that when I create a file the group is set. Can I do that with net localgroup newgroup Admin /Add I have been working on this for a couple of weeks and cannot figure it out by myself and I can't find a wonder answer on google. I am going to take a chance that my email will be spammed because I really would like to know the answer to this. This is influenced in a number of ways. Let compare: C:\Users\Admin: groups C:\Users\Admin: None docker-users Performance Log Users Users INTERACTIVE CONSOLE LOGON Authenticated Users ... C:\Users\Admin: dir > admin.dir.out C:\Users\Admin: ls -ls admin.dir.out C:\Users\Admin: 8 -rwxrwxrwx+ 1 Admin None 6127 May 12 15:05 admin..dir.out C: explorer: No error when Security is clicked C:\Users\Admin: touch admin.touch.out C:\Users\Admin: ls -ls admin.touch.out C:\Users\Admin: 0 -rw-r--r--+ 1 Admin None 0 May 12 15:05 admin.touch.out C: explorer: The permissions on ... are incorrectly ordered [NULL is first] C:\Users\Admin: run as admministrator C:\Users\Admin: groups C:\Users\Admin: None Local account and member of Administrators group docker-users Administrators Performance Log Users INT... C:\Users\Admin: dir > administrator.dir.out C:\Users\Admin: ls -ls administrator.dir.out C:\Users\Admin: 8 -rwxrwxrwx+ 1 Administrators None 6245 May 12 15:05 administrator.dir.out C: explorer: No error when Security is clicked C:\Users\Admin: touch administrator.touch.out C:\Users\Admin: ls -ls administrator.touch.out C:\Users\Admin: 0 -rw-r--r--+ 1 Admin None 0 May 12 15:05 administrator.touch.out C: explorer: The permissions on ... are incorrectly ordered [NULL is first] David -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple