* setting default group and/or disabling CYGWIN ACL behavior
@ 2008-07-01 6:14 starlight
2008-07-01 8:13 ` Corinna Vinschen
0 siblings, 1 reply; 2+ messages in thread
From: starlight @ 2008-07-01 6:14 UTC (permalink / raw)
To: cygwin
Constantly have to wrestle with CYGWIN imposed ACLs on files I
create. It's bothersome to constantly issue 'cacls /t' and
'icacls * /reset /t' commands to strip out the CYGWIN overrides
after receiving complaints from others who can't access the
files. No one is in the Administrators group.
The best solution would be to just turn it off (!) so that
normal Windows ACL inheritance works the way it does outside of
CYGWIN.
A possible work-around if the above ideal solution is
unavailable would be to have some way to change the group id to
something other than "None". Can't find a 'newgrp' command and
the '/etc/passwd' file and 'bash' login syntax clearly do not
support this. Don't see any way to set the process default
group in Windows without running a domain controller.
I searched on this quite a bit before asking the list.
Any help will be greatly appreciated.
--
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: setting default group and/or disabling CYGWIN ACL behavior
2008-07-01 6:14 setting default group and/or disabling CYGWIN ACL behavior starlight
@ 2008-07-01 8:13 ` Corinna Vinschen
0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2008-07-01 8:13 UTC (permalink / raw)
To: cygwin
On Jul 1 02:07, starlight@binnacle.cx wrote:
> Constantly have to wrestle with CYGWIN imposed ACLs on files I
> create. It's bothersome to constantly issue 'cacls /t' and
> 'icacls * /reset /t' commands to strip out the CYGWIN overrides
> after receiving complaints from others who can't access the
> files. No one is in the Administrators group.
chmod? setfacl? umask?
> The best solution would be to just turn it off (!) so that
> normal Windows ACL inheritance works the way it does outside of
> CYGWIN.
>
> A possible work-around if the above ideal solution is
> unavailable would be to have some way to change the group id to
> something other than "None".
Everybody is in the None group if you don't have a DC. So I
don't see the problem if you use a umask matching your needs.
> Can't find a 'newgrp' command and
> the '/etc/passwd' file and 'bash' login syntax clearly do not
> support this.
bash has nothing to do with that, of course. As for /etc/passwd,
you didn't read the user's guide, apparently:
http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-files
> Don't see any way to set the process default
> group in Windows without running a domain controller.
There is no way. That doesn't mean we can't rectify this in
Cygwin (within the imposed Windows rules). See above.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-01 8:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-01 6:14 setting default group and/or disabling CYGWIN ACL behavior starlight
2008-07-01 8:13 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).