Re: base-files 3.4-2: Permission denied!

2005-05-19 Thread John Morrison
On Thu, May 19, 2005 12:01 am, Angelo Graziosi said:

 With this new release there is a

Permission denied

 when a NOT-ADMIN user starts the X system (startxwin.bat)
   

 He has not access to remove .X11-unix (see startxwin.bat) when /tmp has
 the t permission.

 Every user (or only Administrator?) should remove manually .X11-unix
 before the disconnetion from the machine.

 In this case there is not permission denied for the simple user.

 angelo.

Sorry, I don't use startxwin.bat, I can't help with that.  3.4-2 simply
2/dev/null's the error, perhaps startxwin.bat should too?

J.

PS, *please* don't reply to everyone just the list :)



Re: Base-files 3.4-1: Problems for users with Non-Admin. priv. (atn: Corinna)

2005-05-16 Thread John Morrison
On Sun, May 15, 2005 9:38 pm, Angelo Graziosi said:

 When loging as user without admn. priv.
 (e.g.: owner= Graziosi, group= Users)
 the standard bash shell (cygwin.bat) says:

chmod: changing permissions of `/tmp': Permission denied

 This is caused by

 if [ -d /tmp ]; then
   chmod 1777 /tmp
 fi

 in /etc/profile.

 It assign the permission t to /tmp but this was already a problem
 with xorg-x11-xwin-6.8.2.0-1 and org-x11-xwin-gl-6.8.2.0-1.
 The next, 6.8.2.0-2, was released exactly to fix that problem.
 The solution was to not assign the t permission to /tmp and
 to whatever it contans!

 See:
 http://cygwin.com/ml/cygwin-xfree/2005-04/msg00076.html
 http://cygwin.com/ml/cygwin-xfree/2005-04/msg00054.html
 http://cygwin.com/ml/cygwin-xfree/2005-04/msg00053.html
 http://cygwin.com/ml/cygwin-xfree/2005-04/msg00050.html
 http://cygwin.com/ml/cygwin-xfree/2005-04/msg00049.html
 http://cygwin.com/ml/cygwin-xfree/2005-04/msg00048.html

 angelo.

Corinna, this was a change you asked for... what would you like me to do?
http://cygwin.com/ml/cygwin-apps/2005-04/msg00206.html

J.



Re: Base-files 3.4-1: Problems for users with Non-Admin. priv. (atn: Corinna)

2005-05-16 Thread John Morrison
On Sun, May 15, 2005 9:38 pm, Angelo Graziosi said:

 When loging as user without admn. priv.
 (e.g.: owner= Graziosi, group= Users)
 the standard bash shell (cygwin.bat) says:

chmod: changing permissions of `/tmp': Permission denied

 This is caused by

 if [ -d /tmp ]; then
   chmod 1777 /tmp
 fi

 in /etc/profile.

 It assign the permission t to /tmp but this was already a problem
 with xorg-x11-xwin-6.8.2.0-1 and org-x11-xwin-gl-6.8.2.0-1.
 The next, 6.8.2.0-2, was released exactly to fix that problem.
 The solution was to not assign the t permission to /tmp and
 to whatever it contans!

 See:
 http://cygwin.com/ml/cygwin-xfree/2005-04/msg00076.html
 http://cygwin.com/ml/cygwin-xfree/2005-04/msg00054.html
 http://cygwin.com/ml/cygwin-xfree/2005-04/msg00053.html
 http://cygwin.com/ml/cygwin-xfree/2005-04/msg00050.html
 http://cygwin.com/ml/cygwin-xfree/2005-04/msg00049.html
 http://cygwin.com/ml/cygwin-xfree/2005-04/msg00048.html

 angelo.

Corinna, this was a change you asked for... what would you like me to do?
http://cygwin.com/ml/cygwin-apps/2005-04/msg00206.html

J.



RE: bad installation ?

2005-03-10 Thread John Morrison (Cygwin)
Hi Matthew,

Although the message is from base-files the reason is
due to installation.  In my experience this only
occurs when installing for a domain user although
others have reported other reasons for it.

For me, the message occurs because the base-passwd
(which I also maintain) doesn't and (for a number of
reasons, see archives) can't add domain users.

The outcome is, for this user, is that you get added
to a special group.  In an effort to stop or at least
slow ;) the number of emails to the list when stuff
didn't work because their user/group wasn't setup
correctly some detection code was added to base-files
along with some instruction as to what to do.


Basically adding your user (using the domain flag if
appropriate) to the passwd and group files which is
what the message attempts to help the user to do.  It
appears (judging from the number of times this
question isn't now appearing on the lists) to have
worked for most people, but I'm always looking for
perfection ;)

Hope this helps explain things,

J.

On Thu, March 10, 2005 7:22 pm, Matthew Johnson said:
 Hi, John-

 Since I myself have no idea why it is outputting that
 message, no I cannot suggest a better message. And I
 notice that when I did a fresh installation of cygwin
 and cygwin/x on a brand new system yesterday, now I am
 getting that message too. Do _you_ have any idea why
 fresh installations did not used to output this
 message, but now they do? Is it a new message, or did
 something change in cygwin or cygwin/x, such that the
 group now gets initialized to 'mkpasswd' (and did not
 get so initialized before)?

 --- Morrison, John [EMAIL PROTECTED]
 wrote:

 As maintainer of the package which outputs that
 message I'm
 always glad to hear of ways to improve it.  Can you
 suggest
 a better message?

 J.

  -Original Message-
  From: Matthew Johnson
 
  Well, Phil, I read what she posted,
  and I do NOT think
  it tells all Banibrata needs to know.
 
  The big unanswered question that is probably still
  bothering Banibrata is, how on earth did the
 group get to be 'mkpasswd' in the first place?
  I very much doubt that Banibrata set it to that.

 And now I can add, I _know_ I did not set it to that,
 yet now I get the message too, when starting up the
 bash shell.

 [snip]




 __
 Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site!
 http://smallbusiness.yahoo.com/resources/






Re: New mouse...

2005-01-24 Thread John Morrison
 On Mon, 24 Jan 2005, John Morrison wrote:

 The mouse is a Microsoft (I know, but I won it!) Wireless Optical Mouse
 2.0
 It's the one with the side-ways scrolling functionality which I think is
 what is messing up the paste.  xev outputs...

 Click the scroll: Is two button 1's

 I guess this is a driver problem. Most likely it is configured to produce
 a
 double click instead of a middle button press.

 see http://hardware.mcse.ms/message127168.html

Oh joy!

I knew it was configured to 'double-click' but, for the life of me
couldn't figure out what to change it to!

 BTW: I've cc'ed the mailing list so it will end up in the public archives.

np :)

Thanks ago!

J.



RE: About box

2004-03-26 Thread John Morrison
 From: Harold L Hunt II

 By all means, please just commit code that does blue links in the dialog
 box.  I was aiming to do that and didn't see a way to do it the first
 time through.

Hi Harold,

Try these :)

http://www.codeguru.com/Cpp/controls/controls/hyperlinkcontrols/article.php
/c2185
http://www.codeproject.com/miscctrl/hyperlink.asp
http://www.codeproject.com/editctrl/hyperedit.asp?target=dialog%7Curl


All the best,

J.



RE: Debatable: Rootless Mode is an Important and Needed Feature

2002-09-27 Thread John Morrison

I'm sure Harold would appreciate any patch contributions
you make towards this...

Seriously, very week (or so) somebody asks for this, but
nobody puts code forwards.  *shrug*, I think Harold is
doing a fantastic job, and when he eventually gets around
to scratching that itch I'll thank him again.  However,
I am not in a position to aid the xfree development; so
I don't feel I can insist on something that would take
so much effort...

J.




RE: Java in Windows on X

2002-08-09 Thread John Morrison

Ooh, if you need anyone to help test! I will!  I've
been wanting somebody to do this since I started cygwin
and Java development!

 From: Nicholas Wourms

 Well, I can't make any promises, but I've been kicking around the
 notion of porting the Sun Community Sources version of java to
 Cygwin/XFree.  Currently, my first hurdle is to get OpenMOTIF fully
 ported, as the jdk won't compile with lesstif.  There are some
 licensing issues regarding that, but I really don't give a damn what
 the Open Group says.  So, once that's done, then comes the hard part.
  We'll see how far along cygwin's threading capabilities are, as that
 is probably the most worrisome aspect.  Currently, there has been
 much work done in progressing sysV IPC, so when the time comes it
 should be ready to roll.  Hopefully I can get a useful vm out of it,
 but it's really just for fun.  Anyhow, swing and awt support is just
 plain dreadful, if not non-existent, in the various gpl'd vms.  So, I
 don't need to be reminded about them, because they are frankly
 useless.  Since I'm not about to write the X11 interface from the
 ground up, I figure this would be the best bet.  Besides, who knows,
 if this is successful I might submit my build to Sun and see if
 they'll allow redistribution.
 
 Cheers,
 Nicholas