delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/21/11:37:41

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: Permissions problem - odd setup
Date: Tue, 21 Feb 2006 08:38:06 -0800
Lines: 43
Message-ID: <dtffj7$38n$1@sea.gmane.org>
References: <dt0fgf$ent$1 AT sea DOT gmane DOT org> <dt4sb2$le8$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5 (Windows/20051201)
In-Reply-To: <dt4sb2$le8$1@sea.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Andrew DeFaria wrote:
> Andrew DeFaria wrote:
>> I have a somewhat odd setup here and am having a permissions problem 
>> with my userid and authentication.
>>
>> In general I'm trying to have one home directory that is shared 
>> between Windows and Linux. On Windows I use Cygwin. Normally this 
>> involves mounting my Windows oriented home directory and proper 
>> generation of my domain userid in /etc/passwd. Here things are a bit 
>> different.
>>
>> My home directory here is on a Linux box running Samba. I login as 
>> <domain>\defaria on my Windows box. I have generated my /etc/password 
>> entry with mkpasswd -d -u defaria > /etc/passwd. However the Linux 
>> box running Samba does not participate in a domain rather it is using 
>> a workgroup.
>>
>> The symptoms that I see are as follows:
>>
>> While I can create a file in my home directory I cannot edit it - 
>> access denied:
>>
>> $ cp opts.cfg opts.cfg.new
>> cp: cannot create regular file `opts.cfg.new': Permission denied
>> $ ls -l opts.cfg*
>> -rw-rw-r-- 1 ???????? ???????? 98 Feb 14 11:17 opts.cfg
>> -rwxr--r-- 1 ???????? ????????  0 Feb 15 16:01 opts.cfg.new*
>>
>> You'll note that the uid and gid is not correct.
>>
>> I suspect the problem is that /etc/passwd has my domain SID yet my 
>> home directory is on a samba server that is not in the domain.
>>
>> Is there any way to configure this properly? If so how?
>>
>> Thanks.
> Nobody has any ideas?!?
OK I'm quite shocked that nobody has any ideas at all on this, nothing 
to try, no suggestions, etc. Is this even getting through at all or is 
everybody stumped? I'd really like to get this working for me.
-- 
Why do people point to their wrist when asking for the time, but not to 
their crotch when they ask where the toilet is?


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

- Raw text -


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