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: 1.7.7(0.230/5/3) - Cannot change mode of file, and other permission issues on a Windows fileshare


Corinna, sorry, no change after loading the new cygwin1.dll.  Here is
command output and a trace file as I sent earlier this morning.

Line 18 shows that the new Cygwin DLL is in use.

Here is the output of an attempted check in to RCS (Lines 1-5) and the
resulting temp. filename, and a re-execution of the strace chmod
output (Lines 23-35.)


     1  Fri Sep 24 15:04:47 (Xufai3iF@kohLie8X) ~>ci -l -t-"Another
RCS check in test" -m"Initial check in" r896KJxp.TXT
     2  RCS/r896KJxp.TXT,v  <--  r896KJxp.TXT
     3  initial revision: 1.1
     4  ci: RCS/r896KJxp.TXT,v: Permission denied
     5  ci: saved in RCS/_0VvXpNQ
     6
     7
     8
     9
    10  Fri Sep 24 15:05:13 (Xufai3iF@kohLie8X) ~>ls -l RCS
    11  total 14024
    12  -rwx------+ 1 Xufai3iF Domain Users 14358590 2010-09-24 15:05 _0VvXpNQ
    13
    14
    15
    16
    17  Fri Sep 24 15:05:16 (Xufai3iF@kohLie8X) ~>uname -a
    18  CYGWIN_NT-5.1 kohLie8X 1.7.8s(0.231/5/3) 20100924 15:55:44 i686 Cygwin
    19
    20
    21
    22
    23  Fri Sep 24 15:06:11 (Xufai3iF@kohLie8X) ~>set -x ; rm foo ; ls
-l foo ; touch foo ; chmod 444 foo ; ls -l foo ; touch foo ; strace -o
chmod.trace chmod 444 foo ; set +x
    24  + rm -i foo
    25  rm: cannot remove `foo': No such file or directory
    26  + ls -l foo
    27  ls: cannot access foo: No such file or directory
    28  + touch foo
    29  + chmod 444 foo
    30  chmod: changing permissions of `foo': Permission denied
    31  + ls -l foo
    32  -rwx------+ 1 Xufai3iF Domain Users 0 2010-09-24 15:06 foo
    33  + touch foo
    34  + strace -o chmod.trace chmod 444 foo
    35  + set +x


========Keith

Attachment: chmod.trace
Description: Binary data

--
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

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