Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" 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\