Mail Archives: cygwin/2006/03/22/09:26:18
Beside this: http://cygwin.com/ml/cygwin/2006-03/msg00582.html, I note
that with recent snapshots (e.g 20060321), a file created by Cygwin
applications (emacs, wget, gcc...) or a directory creted by mkdir belongs
to the group 'None' indifferently if they are creted by Administrator or
by an user with NO-admin permmission (Users). This happens mainly from the
point of view of Windows.
For example, if an Administrator:
$ cd /tmp (i.e. C:\cygwin\tmp)
$ mkdir foo_dir
then on W2K SP4:
mouse-3 on foo_dir | Properties | Protection
shows that the protections for foo_dir are:
Administrator
None
Creator Owner
Everyone
Creator Group
If instead is an user (Graziosi of group Users in W2K) to create foo_dir,
this has protections:
Graziosi (i.e. the user with no-admin. permissions)
None
Creator Owner
Everyone
Creator Group.
In similar way for the file foo_file.exe created by:
gcc foo_file.c -o foo_file
the protections are:
Administrator, None, Everyone for the Administrator
Graziosi, None, Everyone for Graziosi
Using Cygwin 1.5.19-4 (or some older snapshots) the situation is
completely different:
foo_dir has protections
Administrator
Administrtors <==
Creator Owner
Everyone
Creator Group
for the Administrator;
Graziosi
Users <==
Creator Owner
Everyone
Creator Group.
for Graziosi.
Similar for file foo_file.exe (Administrator, Administrators,
Everyone; Graziosi, users, Everyone).
In conclusion the behaviour under Cygwin 1.5.19-4 recalls that under
linux, mainly in view of the fact that under W2K
Start | Settings | User and Password
shows that Administrator belongs to the group Administrators
while
Graziosi belongs to the group Users.
Best regards,
Angelo.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -