X-Recipient: archive-cygwin AT delorie DOT com Resent-Message-ID: <20070907142345 DOT 15447 DOT qmail AT sourceware DOT org> Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: cygwin/xemacs marking a buffer as read-only Date: Thu, 6 Sep 2007 15:17:02 -0700 Message-ID: <09BFF2FA5EAB4A45B6655E151BBDD9030501D56C@NT-IRVA-0750.brcm.ad.broadcom.com> From: "Joseph Koenig" To: cygwin AT cygwin DOT com Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C7F0D3.A6CBEB83" Resent-From: root AT sourceware DOT org Resent-Date: Fri, 7 Sep 2007 14:23:45 +0000 Resent-To: cygwin AT cygwin DOT com X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 ------_=_NextPart_001_01C7F0D3.A6CBEB83 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.A6CBEB83 Content-Type: text/plain; name=cygcheck.txt Content-Transfer-Encoding: base64 Content-Description: cygcheck.txt Content-Disposition: attachment; filename=cygcheck.txt ------_=_NextPart_001_01C7F0D3.A6CBEB83 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.A6CBEB83--