delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/05/13/07:40:26

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 B0B933851C0D
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: Wed, 13 May 2020 07:39:29 -0400 (EDT)
From: David <cupcake AT sdf DOT org>
Message-Id: <202005131139.04DBdTjJ019917@sdf.org>
To: cygwin AT cygwin DOT com
Subject: Groups command failing me in Windows 10
X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, 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 <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
MIME-Version: 1.0
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

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.
So, I have added bcc to myself hoping you can forward to me or answer to me.
David

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

- Raw text -


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