From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 69621 invoked by alias); 22 Aug 2018 22:36:34 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 69604 invoked by uid 89); 22 Aug 2018 22:36:33 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 spammy=caf, UD:tar, reserved X-HELO: Ishtar.sc.tlinx.org Received: from ishtar.tlinx.org (HELO Ishtar.sc.tlinx.org) (173.164.175.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 22 Aug 2018 22:36:32 +0000 Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id w7MMaSNW059462 for ; Wed, 22 Aug 2018 15:36:30 -0700 Message-ID: <5B7DE56E.6060109@tlinx.org> Date: Thu, 23 Aug 2018 08:14:00 -0000 From: L A Walsh User-Agent: Thunderbird MIME-Version: 1.0 To: "cygwin@cygwin.com" Subject: incompat in cygwin choice of using '+' as domain and user separator. Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-08/txt/msg00299.txt.bz2 Ran in to this trying to use tar to store acls and xattrs: > tar caf lawbins.tar scripts scripts- bin tar: miner.js: Warning: Cannot acl_to_text: Invalid argument tar: run-crons.sys: Warning: Cannot acl_to_text: Invalid argument tar: smallprof.out: Warning: Cannot acl_to_text: Invalid argument tar: tmon.out: Warning: Cannot acl_to_text: Invalid argument tar: ubytes_to_utf8.new: Warning: Cannot acl_to_text: Invalid argument examining one of these: > find bin -name tmon.out bin/tmon.out > lsacl bin/tmon.out [u::rwx,g::rwx,o:r-x,u:Unknown+User:rwx,g:Unknown+Group:rwx,g:Administrators:rwx,g:Bliss\Domain Admins:rwx,m:rwx/] bin/tmon.out I tried tar in an existing dir: > mkdir test > tar caf test.tar test > ll test total 0 > cd test > tar xaf ../test.tar > ll total 0 drwxrwxr-x+ 1 0 Aug 22 15:26 test/ > lsacl test [u::rwx,g::rwx,g:Bliss\lawgroup:rwx,g:Bliss\Domain Admins:rwx,m:rwx,o:r-x/ u::rwx,g::rwx,g:Bliss\lawgroup:rwx,g:Bliss\Domain Admins:rwx,m:rwx,o:r-x] test With the above and only standard separator chars, no problem I'm guessing, but '+' is a reserved char that's not permitted in acl_to_text... Perhaps it might be good to not set the default to some non-default, since the default(\) seems to work most places, including on linux, though you do have to allow '\' in the list of allowed chars in /etc/login.defs How do I change the default separator char from '+' back to '\'? (by default, I mean the char that is used when the corresponding ID isn't in /etc/passwd? Thanks! -- 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