public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Bill Metzenthen <billm713@gmail.com>
To: cygwin@cygwin.com
Subject: cygwin permissions problem on a network drive
Date: Tue, 05 Jul 2011 02:21:00 -0000	[thread overview]
Message-ID: <CAOa+a1bmvACR=4uefGJ8csCCrMMnZKNf+gMFmw0_dJ50a7jJ4A@mail.gmail.com> (raw)

I have problems with permissions on a network drive.  The drive is
maintained by others and I have no control over the Windows
permissions of the drive.

I have a directory on the drive and I can use Windows Explorer to
create and write files and subdirectories to it.  I can also use the
Windows 'mkdir' and 'copy' commands to create directories and write
files on the drive.

Until recently I could do the same things from cygwin.  But that has changed...

If I cd in cygwin to a empty subdirectory I have created on the drive
then I find:

$ ls -la
total 0
drwx------+ 1 bmetzenthen Domain Users 0 Jul  4 11:51 .
drwx------+ 1 bmetzenthen Domain Users 0 Jul  4 11:52 ..

Where 'bmetzenthen' is me:

$ whoami
bmetzenthen

If I now try to use cygwin to create anything then it fails (despite
it reporting that I have rwx permissions for the directory):

$ mkdir test
mkdir: cannot create directory `test': Permission denied

Similarly for 'touch':

$ touch test
touch: cannot touch `test': Permission denied

If a subdirectory (or a file) is created by Windows Explorer then
'rmdir test' works.  Similarly 'touch test' and 'mv test test2'.

Windows Explorer reports that the subdirectories (but not files) are
read-only but silently fails to remove its read-only flag if I try
that.  It reports that I have all permissions but not 'Full Control'.

My cygwin installation is up to date and cygcheck -c reports all packages as OK.

What should I ask the system administrator to change so that cygwin
will once again work on this drive?  Perhaps there is some new setting
(or an old one which has somehow changed) for cygwin that I have
failed to notice?

Bill Metzenthen

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

             reply	other threads:[~2011-07-05  2:21 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-05  2:21 Bill Metzenthen [this message]
2011-07-05  8:59 ` Corinna Vinschen
2011-07-05  9:13   ` Corinna Vinschen
2011-07-06  1:43 Bill Metzenthen
2011-07-06  6:31 ` Corinna Vinschen
2011-08-02 16:10 spambouncer
2011-08-02 20:54 ` Larry Hall (Cygwin)
2011-10-18 12:52 Lemke, Michael  SZ/HZA-ZSW
2011-10-20 22:58 ` gds
2011-10-21  8:50   ` Corinna Vinschen
2011-10-21 10:16     ` Lemke, Michael  SZ/HZA-ZSW
2011-10-21 10:55       ` Corinna Vinschen
2011-10-21 14:14         ` Lemke, Michael  SZ/HZA-ZSW
2011-10-21 14:37           ` Corinna Vinschen
2011-10-21 15:11             ` Lemke, Michael  SZ/HZA-ZSW
2011-10-21 14:17         ` gds
2011-10-21 14:39           ` Corinna Vinschen
2011-10-21 16:32             ` gds
2011-10-21 17:34               ` Corinna Vinschen
2012-01-04 14:25 Markus Leuthold
2012-01-09 13:52 ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOa+a1bmvACR=4uefGJ8csCCrMMnZKNf+gMFmw0_dJ50a7jJ4A@mail.gmail.com' \
    --to=billm713@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).