[1.7]: /usr/bin/install fails on network drives

A.R. Burgers burgers@ecn.nl
Thu Apr 2 12:16:00 GMT 2009


LS,

/usr/bin/install fails for me with cygwin 1.7 on network drives.
Also mv has issues. Below is the output of the attached script bug.sh.

On a local directory everything goes fine. On network drives,
I get "Permission denied" messages (although I have write permission and
the files are copied)

attachment zz3_trace_install.txt has the strace output of /usr/bin/install.
There is a "windows error 5" in the output.

Teun

1.7.0(0.210/5/3)
solcygin: //ecn/groups/g_zon_software/cygwin17
sh: //ecnits/ecnshare/zon/burgers
installing zz1.txt into /tmp ..
-rw-r--r-- 1 burgers Domain Users 0 Apr  2 14:00 /tmp/zz1.txt
moving zz1.txt into /tmp ..
-rw-r--r-- 1 burgers Domain Users 0 Apr  2 14:01 /tmp/zz1.txt
installing zz2.txt into //ecnits/ecnshare/zon/burgers ..
-rw-r--r-- 1 ???????? ???????? 0 Apr  2 14:00
//ecnits/ecnshare/zon/burgers/zz2.txt
moving zz2.txt into //ecnits/ecnshare/zon/burgers ..
mv: failed to preserve ownership for
`//ecnits/ecnshare/zon/burgers/zz2.txt': Permission denied
-rw-r--r-- 1 ???????? ???????? 0 Apr  2 14:01
//ecnits/ecnshare/zon/burgers/zz2.txt
mv: failed to preserve ownership for
`//ecnits/ecnshare/zon/burgers/zz2.txt': Permission denied
installing zz3.txt into //ecn/groups/g_zon_software/cygwin17 ..
-rwxrwxrwx 1 burgers Domain Users 0 Apr  2 14:00
//ecn/groups/g_zon_software/cygwin17/zz3.txt
install: setting permissions for
`//ecn/groups/g_zon_software/cygwin17/zz3.txt': Permission denied
moving zz3.txt into //ecn/groups/g_zon_software/cygwin17 ..
mv: preserving permissions for
`//ecn/groups/g_zon_software/cygwin17/zz3.txt': Permission denied
-rwxrwxrwx 1 burgers Domain Users 0 Apr  2 14:01
//ecn/groups/g_zon_software/cygwin17/zz3.txt
mv: preserving permissions for
`//ecn/groups/g_zon_software/cygwin17/zz3.txt': Permission denied




************************************************************************
  Dit bericht kan informatie bevatten die niet voor u is bestemd.
  Indien u niet de geadresseerde bent of dit bericht abusievelijk aan
  u is toegezonden, verzoeken wij u dit onmiddellijk aan de afzender te
  melden en de inhoud van het bericht te vernietigen. Aan dit bericht
  kunnen geen rechten worden ontleend en ECN aanvaardt geen
  aansprakelijkheid voor schade, van welke aard ook, die verband houdt
  met risico's verbonden aan het elektronisch verzenden van berichten.
  
  This message may contain information that is not intended for you. If
  you are not the addressee or if this message was sent to you by
  mistake, you are requested to immediately inform the sender and
  delete the message. This e-mail is not intended to create a legally
  binding commitment and ECN accepts no liability for damage of any
  kind resulting from the risks inherent to the electronic transmission
  of messages.
  
  ECN, P.O. Box 1, 1755 ZG Petten, The Netherlands
  Dutch CoC number: 41151233
************************************************************************
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug.sh
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090402/eba48a1b/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090402/eba48a1b/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: zz3_trace_install.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090402/eba48a1b/attachment-0001.txt>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list