permission 600

Thomas Wolff towo@towo.net
Sun Jan 9 08:51:14 GMT 2022



Am 09.01.2022 um 07:10 schrieb Tatsuro MATSUOKA:
>> ----- Original Message -----
>>
>> From: "Marco Atzeri"
>> To: "cygwin> Date: 2022/01/09 日 14:39
>> Subject: Re: permission 600
>>
>>
>> On 09.01.2022 06:28, Tatsuro MATSUOKA wrote:
>>> $ echo aaa > test.txt
>>> $ ls -l  test.txt
>>> -rw-r--r-- 1 user user 4 Jan  9 14:07 test.txt
>>> $ chmod 600 test.txt
>>> $ ls -l test.txt
>>> -rw-r--r-- 1 user user 4 Jan  9 14:07 test.txt
>> it works for me
>>
>> $ ls -l test.txt
>> -rw-r--r-- 1 Marco Kein 4 Jan  9 06:35 test.txt
>>
>> $ chmod 600 test.txt
>>
>> $ ls -l test.txt
>> -rw------- 1 Marco Kein 4 Jan  9 06:35 test.txt
>>
>> I suspect that having user and group called same
>> is the clue
>>
> Ah! Thanks!
>
> Tatsuro
Did you verify it by using different names?
It can hardly be an explanation by POSIX means. If so, it must be some 
weird consequence of Windows-specific stuff. Maybe a workaround could be 
found for cygwin?
Thomas


More information about the Cygwin mailing list