Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sources.redhat.com/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <99610-2200212419213337495@M2W084.mail2web.com> X-Priority: 3 Reply-To: lhall AT rfk DOT com X-Originating-IP: 209.113.174.244 From: "lhall AT pop DOT ma DOT ultranet DOT com" <lhall AT pop DOT ma DOT ultranet DOT com> To: nicebounce AT trodman DOT com (tom rodman), cygwin AT cygwin DOT com Subject: RE: NTSEC & ntwrk drives?; chown/chmod/ls -l only wrkg on local drives Date: Thu, 19 Dec 2002 16:33:37 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 X-OriginalArrivalTime: 19 Dec 2002 21:33:37.0483 (UTC) FILETIME=[4A6C81B0:01C2A7A6] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gBJLY6o32100 Sorry, I can't reproduce something similar here. Perhaps if you read http://www.cygwin.com/bugs.html it might help those on the list. Also, I'd direct you toward the User's Guide, specifically http://cygwin.com/cygwin-ug-net/using-cygwinenv.html and the description of smbntsec. Larry Original Message: ----------------- From: nicebounce AT trodman DOT com (Tom Rodman) Date: Thu, 19 Dec 2002 13:51:02 -0600 To: cygwin AT cygwin DOT com Subject: NTSEC & ntwrk drives?; "chown/chmod/ls -l" only wrkg on local drives -------- chown,chmod and ls -l work just fine on local drives, but not on network drives. My "/tmp" is on the local c drive, and "/cygdrive/s" is a network drive on our NT4.0 SP6A PDC; all commands below done on a NT6.0 SP6A workstatation in the same domain as the PDC. /tmp $ id -un adm_tsr /tmp $ groups ES_staff.gbl Administrators Domain Users ES_admin.gbl Users ccm_users.gbl /tmp $ for dir in /tmp /cygdrive/s ; do > cd $dir ; rm -f foo; touch foo; chown adm_ds foo > ls -l foo > echo $(getowner foo) # see http://peter.verhas.com/progs/c/nt/owner/ > rm -f foo > done -rw-rw-r-- 1 adm_ds ES_staff 0 Dec 19 13:35 foo adm_ds -rw-r--r-- 1 adm_tsr ES_staff 0 Dec 19 13:35 foo Administrators For /cygdrive/s/foo, chown silently failed and ls -l foo said "adm_tsr" owned foo when "Administrators" was the real owner. What am I missing? Is there a fix for this, or do I have an incorrect config setting? I have included more background info below. -- thanks/regards, Tom Rodman perl -e 'print unpack("u", "\.\=\$\!T\<F\]D\;6\%N\+F\-O\;0H\`");' --v-v------------------C-U-T---H-E-R-E-------------------------v-v-- (Were running NT4.0 SP6A) background on my setup { /cygdrive/s $ cygcheck -sv|egrep '^s: ' # to show s is a network drive s: net NTFS 64456Mb 73% CP CS UN PA FC I:\SCM == S Mnt PT s: /drv/s system binmode /cygdrive/s $ uname -a CYGWIN_NT-4.0 WS011206 1.3.17(0.67/3/2) 2002-11-27 18:54 i686 unknown /cygdrive/s $ echo $CYGWIN ; cd /tmp binmode tty ntsec /tmp $ egrep 'adm_tsr|adm_ds' /etc/passwd|fold adm_ds:unused_by_nt/2000/xp:11061:11068:Dennis Schneider,U-SP.CG.JCI.COM\adm_ds, S-1-5-21-2133283647-1515675855-1238779560-1061:/user/build:/bin/bash adm_tsr:unused_by_nt/2000/xp:11487:11068:Tom Rodman,U-SP.CG.JCI.COM\adm_tsr,S-1- 5-21-2133283647-1515675855-1238779560-1487:/user/adm_tsr:/bin/bash /tmp $ xcacls . c:\aut\cyg\tmp Everyone:F Everyone:(OI)(CI)(IO)F /tmp $ cd /cygdrive/s; xcacls . s:\ SP.CG.JCI.COM\ES_admin.gbl:(OI)(IO)F SP.CG.JCI.COM\ES_admin.gbl:(CI)F SP.CG.JCI.COM\ES_admin.lcl:(OI)(IO)F SP.CG.JCI.COM\ES_admin.lcl:(CI)F SP.CG.JCI.COM\ES_staff.gbl:(OI)(IO)F SP.CG.JCI.COM\ES_staff.gbl:(CI)F SP.CG.JCI.COM\ES_staff.lcl:(OI)(IO)F SP.CG.JCI.COM\ES_staff.lcl:(CI)F NT AUTHORITY\SYSTEM:(OI)(IO)F NT AUTHORITY\SYSTEM:(CI)F Everyone:(OI)(IO)(special access:) GENERIC_READ GENERIC_EXECUTE Everyone:(CI)R SP.CG.JCI.COM\build:(OI)(IO)(special access:) GENERIC_READ GENERIC_EXECUTE SP.CG.JCI.COM\build:(CI)R /cygdrive/s } -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/