group permission on 1.7.34

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Nov 27 20:03:00 GMT 2014


On Nov 27 12:17, Pierre A. Humblet wrote:
> ls -l appears to always report rwx for group on 1.7.34
> 
> $ uname -a
> CYGWIN_NT-6.1 PHUMBLET-LAP01W 1.7.34(0.281/5/3) 2014-11-13 16:14 i686 Cygwin
> 
> phumblet@PHUMBLET-LAP01W ~
> $ getfacl ~/.ssh
> # file: /home/phumblet/.ssh
> # owner: phumblet
> # group: Domain Users
> user::rwx
> group::---
> group:SYSTEM:rwx
> group:Administrators:rwx
> mask:rwx
> other:---
> default:user::rwx
> default:user:phumblet:rwx
> default:group::r-x
> default:group:SYSTEM:rwx
> default:group:Administrators:rwx
> default:mask:rwx
> default:other:r-x
> 
> 
> $ ls -ld ~/.ssh
> drwxrwx---+ 1 phumblet Domain Users 0 Jan 10  2011 /home/phumblet/.ssh
> 
> The group perms should be ---

No.  They are --- when using Cygwin 1.7.33 or earlier, because the ACL
-> group permission bit handling wasn't correctly implemented.  Per
POSIX, the group permission bits reflect the sum of all permissions of
secondary user accounts and all groups.  See the same situation on
Linux.

> Also /winsup/Cygwin in cvs on the web only shows ChangeLogs and
> subdirectories

Unfortunately Viewvc pages the output.  See the Page menu at the head of
the web page.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20141127/b065840c/attachment.sig>


More information about the Cygwin mailing list