This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: group permission on 1.7.34


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

Attachment: pgp5kCnn6fjrP.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]