delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/06/18:19:27

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-Server-Uuid: A6C4E0AE-A7F0-449F-BAE7-7FA0D737AC76
MIME-Version: 1.0
Subject: xemacs marking a buffer as read-only
Date: Thu, 6 Sep 2007 15:18:56 -0700
Message-ID: <09BFF2FA5EAB4A45B6655E151BBDD9030501D570@NT-IRVA-0750.brcm.ad.broadcom.com>
From: "Joseph Koenig" <jkoenig AT broadcom DOT com>
To: cygwin AT cygwin DOT com
X-WSS-ID: 6AFEA3582M81004264-01-01
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

------_=_NextPart_001_01C7F0D3.EAD3F389
Content-Type: text/plain;
 charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable


I am changing the subject here because this problem is cygwin/xemacs-specif=
ic only, so it has nothing to do with smb permissions because I can touch a=
nd edit the same file with nano and save properly. Same with vi. It's entir=
ely xemacs.=20

I've attached my config, per request.
=A0
-----Original Message-----
From: Igor Peshansky [ mailto:pechtcha AT cs DOT nyu DOT edu]
Sent: Wednesday, September 05, 2007 7:20 PM
To: Joseph Koenig
Cc: cygwin AT cygwin DOT com
Subject: Re: Passing domain credentials for a non-domain machine (similar t=
o mapping drives through the Windows shell)

On Wed, 5 Sep 2007, Joseph Koenig wrote:

> I have a desktop that I use to access a share with domain credentials
> despite not being on domain. So when I map a drive, I map it under
> "domain\user" and give it the password. This drive is mapped as Z.
>
> When I use cygwin to work on those files, it does not inherit the
> permissions that I mapped the network drive under and instead insists on
> using my local windows user and password (generated with mkpasswd)
> rather than what I mapped Z as.

You want to add "smbntsec" to your CYGWIN environment variable.=A0 See
< http://cygwin.com/cygwin-ug-net/using-cygwinenv.html> for details.

> Is there an easy way to manually edit the /etc/passwd file or change how
> cygwin reads the mapped volume to get it to use the same permissions
> that the windows shell is using?

You'll also want to use "mkpasswd -d >> /etc/passwd" to get domain user
information into it, and possibly "mkgroup -d >> /etc/group" (notice the
double ">>" to append).

> (I searched the archives for this....I'm sure it's been answered but I
> couldn't find anything - I apologize....)

It also helps to read and follow

> Problem reports:=A0=A0=A0=A0=A0=A0 http://cygwin.com/problems.html

in particular the bit about attaching the output of "cygcheck -svr".
HTH,
=A0=A0=A0=A0=A0=A0=A0 Igor
--
=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=
=A0=A0=A0=A0 http://cs.nyu.edu/~pechtcha/
=A0=A0=A0=A0=A0 |\=A0=A0=A0=A0=A0 _,,,---,,_=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=
 pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'=A0=A0=A0 -.=A0 ;-;;,_=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0 Igor Pe=
shansky, Ph.D. (name changed!)
=A0=A0=A0=A0 |,4-=A0 ) )-,_. ,\ (=A0 `'-'=A0=A0 =A0=A0=A0=A0=A0=A0=A0 old n=
ame: Igor Pechtchanski
=A0=A0=A0 '---''(_/--'=A0 `-'\_) fL=A0=A0=A0=A0 a.k.a JaguaR-R-R-r-r-r-.-.-=
.=A0 Meow!

Belief can be manipulated.=A0 Only knowledge is dangerous.=A0 -- Frank Herb=
ert

------_=_NextPart_001_01C7F0D3.EAD3F389
Content-Type: text/plain;
 name=cygcheck.txt
Content-Transfer-Encoding: base64
Content-Description: cygcheck.txt
Content-Disposition: attachment;
 filename=cygcheck.txt



------_=_NextPart_001_01C7F0D3.EAD3F389
Content-Type: text/plain; charset=us-ascii

--
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/
------_=_NextPart_001_01C7F0D3.EAD3F389--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019