| delorie.com/archives/browse.cgi | search |
| 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 |
| To: | cygwin AT cygwin DOT com |
| X-Injected-Via-Gmane: | http://gmane.org/ |
| Path: | not-for-mail |
| From: | Jehan <nahor AT bravobrava DOT com> |
| Newsgroups: | gmane.os.cygwin |
| Subject: | Permission denied on a windows share |
| Date: | Sat, 13 Jul 2002 19:35:04 -0700 |
| Lines: | 29 |
| Message-ID: | <agqnv2$rpg$1@main.gmane.org> |
| NNTP-Posting-Host: | adsl-64-168-83-170.dsl.snfc21.pacbell.net |
| Mime-Version: | 1.0 |
| X-Trace: | main.gmane.org 1026614051 28464 64.168.83.170 (14 Jul 2002 02:34:11 GMT) |
| X-Complaints-To: | usenet AT main DOT gmane DOT org |
| NNTP-Posting-Date: | Sun, 14 Jul 2002 02:34:11 +0000 (UTC) |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1a+) Gecko/20020708 |
| X-Accept-Language: | en-us, en |
I already reported this problem but I didn't get any feedback. Now I've
seen yet another weird behavior related to it.
First, let me recapitulate my initial problem:
I have two accounts on my windows domain. They both have the same
username and same password. One account is local to my machine and is
part of the administrators group. The other is a domain account with no
particular privilege.
I always log in using the local account.
On our server, I have a home directory that I can access via a Windows
share. I can do whatever I want on it without a complaint from Windows.
If I use cygwin without ntsec, everything is fine too.
If I used cygwin *with* ntsec, then I get a weird behavior. I can create
files on my account ("touch foobar" works). But I can't write into any
file ("cat > foobar" creates a file then gives a "permission denied"
error ("ls foobar -l" shows file with a size of 0)).
Now, the new weird behavior is that I can *move* file into the account.
"mv /tmp/foobar ." works. I get a file with some content in it. But "cp
/tmp/foobar ." fails like "cat". Since /tmp is on my local drive while
the current directory is on the share, I would have though that "mv"
would work like a "cp /tmp/foobar . && rm -f /tmp/foobar". But obviously
it doesn't.
So my question is: how come "mv" can write in a file when "cp" and "cat"
can't?
Jehan
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |