[Proposal] Moving user mount information to HKLM

2002-09-26 Thread Dan Vasaru
Problem: The mount -u command fails if a domain user's registry hive is not downloaded from the domain controller and no local hive cache exists. Solution: Change cygwin1.dll/mount to 1. store mount information under HKLM/CYGWIN/MOUNTS/{USER-SID}, or 2. let mount succeed without persisting the

[Proposal] Moving user mount information to HKLM

2002-09-28 Thread Doru Carastan
This is in reply to Christopher Faylor's message http://cygwin.com/ml/cygwin/2002-09/msg01428.html. I hope it will show up correctly in the mail list. > .. I expect that, as time progresses, there will be more checks to > ensure that doesn't happen. 1.3.13 has new checks for this, in fact. Thi

[Proposal] Moving user mount information to HKLM

2002-09-29 Thread Doru Carastan
This is in reply to Christopher Faylor's post http://cygwin.com/ml/cygwin/2002-09/msg01430.html > I am trying to set the mind set here. As the person responsible for cygwin > development, that's how we are progressing. I totally agree and apreciate the openness. > Actually, it doesn't work al

Re: [Proposal] Moving user mount information to HKLM

2002-09-26 Thread Doru Carastan
How about breaking free from using the windoze registry. There is absolutely no special need to use it IMO. All the mount info can be stored in a plain ASCII file like 'cygwin.cfg'. As part of its initialization the cygwin1.dll can use GetModuleFileName() to figure out from where it was loaded

Re: [Proposal] Moving user mount information to HKLM

2002-09-27 Thread Charles Krug
On Thu, Sep 26, 2002 at 09:38:21PM -0700, Doru Carastan wrote: > How about breaking free from using the windoze registry. There is > absolutely no special need to use it IMO. I'll second that. Relying on a single monolithic binary file for system critical information is an extraordinarily bad i

Re: [Proposal] Moving user mount information to HKLM

2002-09-27 Thread Igor Pechtchanski
On Thu, 26 Sep 2002, Doru Carastan wrote: > How about breaking free from using the windoze registry. There is > absolutely no special need to use it IMO. All the mount info can be stored > in a plain ASCII file like 'cygwin.cfg'. As part of its initialization the > cygwin1.dll can use GetModu

Re: [Proposal] Moving user mount information to HKLM

2002-09-27 Thread Robert Collins
On Fri, 2002-09-27 at 23:15, Charles Krug wrote: > On Thu, Sep 26, 2002 at 09:38:21PM -0700, Doru Carastan wrote: > > How about breaking free from using the windoze registry. There is > > absolutely no special need to use it IMO. > > I'll second that. Relying on a single monolithic binary file

RE: [Proposal] Moving user mount information to HKLM

2002-09-27 Thread Dan Vasaru
> On the user mount in HKLM idea, it's a no-goer. Normal users don't > have write access to most of HKLM, on any partly-secure install > of NT (which is where the original posters issue arose). I may be wrong, but couldn't setup, or whoever creates the original HKLM/../cygwin key, set up the se

RE: [Proposal] Moving user mount information to HKLM

2002-09-27 Thread Robert Collins
On Sat, 2002-09-28 at 00:19, Dan Vasaru wrote: > > > On the user mount in HKLM idea, it's a no-goer. Normal users don't > > have write access to most of HKLM, on any partly-secure install > > of NT (which is where the original posters issue arose). > > I may be wrong, but couldn't setup, or who

RE: [Proposal] Moving user mount information to HKLM

2002-09-27 Thread Dan Vasaru
neous users. But we'll go with it while waiting for a better mount. Thanks, Dan. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Collins Sent: Friday, September 27, 2002 4:28 PM To: Dan Vasaru Cc: [EMAIL PROTECTED] Subject: RE: [Proposal] Moving

RE: [Proposal] Moving user mount information to HKLM

2002-09-27 Thread Robert Collins
On Sat, 2002-09-28 at 00:57, Dan Vasaru wrote: > > Robert, > > Your solution only works if the users are local administrators, as a domain > user has no rights to HKLM (and hence to create a system mount). In our > case, giving all users local administrator rights is an acceptable solution, > b

RE: [Proposal] Moving user mount information to HKLM

2002-09-27 Thread Dan Vasaru
Robert, >FWIW the HKLM user mounts would have the same security >ramification (which is why it's not a generically viable solution). True, but one could fine-tune access rights to "HKLM/Software/Cygwin" such that: 1) All users have "Create subkey" permission in "HKLM/./Cygwin/Users". 2) All

Re: [Proposal] Moving user mount information to HKLM

2002-09-27 Thread Shankar Unni
On 9/26/2002 9:38 PM, Doru Carastan wrote: > How about breaking free from using the windoze registry. There is > absolutely no special need to use it IMO. All the mount info can > be stored in a plain ASCII file like 'cygwin.cfg'. As part of its > initialization the cygwin1.dll can use GetM

Re: [Proposal] Moving user mount information to HKLM

2002-09-28 Thread Doru Carastan
u Carastan - Original Message - From: "Igor Pechtchanski" <[EMAIL PROTECTED]> To: "Doru Carastan" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, September 27, 2002 6:24 AM Subject: Re: [Proposal] Moving user mount information to HKLM > On Thu

Re: [Proposal] Moving user mount information to HKLM

2002-09-28 Thread Christopher Faylor
On Sat, Sep 28, 2002 at 06:49:00PM -0700, Doru Carastan wrote: >This is totally great news. I don't monitor the deloper list but it is great >to hear that my http://www.cygwin.com/ml/cygwin/2002-02/msg00805.html >suggestion is being considered. I am totally sorry about the fact that I >couldn't ge

Re: [Proposal] Moving user mount information to HKLM

2002-09-28 Thread Christopher Faylor
On Sat, Sep 28, 2002 at 07:47:28PM -0700, Doru Carastan wrote: >>.. I expect that, as time progresses, there will be more checks to >>ensure that doesn't happen. 1.3.13 has new checks for this, in fact. > >This makes sense only if RH views Cygwin as an Microsoft Windows OS >UNIX extension and no

Re: [Proposal] Moving user mount information to HKLM

2002-09-30 Thread Joshua Daniel Franklin
> This is in reply to Christopher Faylor's post > http://cygwin.com/ml/cygwin/2002-09/msg01430.html > > With this in mind I will like you to consider publishing in the Cygwin FAQ > the guidlines one should use for distributing an (open source) application > outside the official net release. I beli

Re: [Proposal] Moving user mount information to HKLM

2002-09-30 Thread Christopher Faylor
On Mon, Sep 30, 2002 at 06:50:28AM -0700, Joshua Daniel Franklin wrote: >>This is in reply to Christopher Faylor's post >>http://cygwin.com/ml/cygwin/2002-09/msg01430.html >> >>With this in mind I will like you to consider publishing in the Cygwin >>FAQ the guidlines one should use for distributin