chmod problem

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Apr 5 12:42:00 GMT 2012


On Apr  5 05:37, Karl M wrote:
> On Apr 5 14:25, Corinna Vinschen wrote:
> > It works still fine for me if I don't use the same Windows group as
> > owner and as group of the file.
>  
> Btw., there were no changes at all between 1.7.10 and 1.7.12 which
> would even remotely touch chmod or chown behaviour on files.
>  
> 
> If you do use the same windows group as owner and group of the file
> 
> do you get the same thing as me?
> 
> I still don't understand why doing the chmod command interactively is different.

It works this way interactively as well as in a script:

  $ touch komisch
  $ ll komisch
  -rw-r--r-- 1 corinna vinschen 0 Apr  5 14:40 komisch
  $ chown administrators.root komisch
  $ ll komisch
  -rw-rw-r-- 1 Administrators root 0 Apr  5 14:40 komisch
  $ chmod 600 komisch
  $ ll komisch
  -rw-rw---- 1 Administrators root 0 Apr  5 14:40 komisch
  $


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list