This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: Symlinks under /proc
On Sat, 26 Feb 2005, Christopher Faylor wrote:
> On Wed, Feb 02, 2005 at 12:03:52PM -0500, Igor Pechtchanski wrote:
> >a) mknod cannot set the mode of many devices.
> > Even though I run "mknod -m666" for all of them, everything except fd*,
> > mem, port, sd*, and scd* has mode 600. I've compared strace outputs
> > for "mem" and "kmem", and chmod succeeds in both cases, but the mode
> > for kmem is not changed. Weird.
>
> I was thinking of making a 1.5.13 release and thought I'd fix this bug.
> However, I can't duplicate it anymore. I didn't try to get rid of the
> special /dev handling from the DLL but all of the device nodes have the
> correct permissions after running your script and I can change them
> afterwards without a problem.
>
> Can you still duplicate this problem, Igor?
Now[*] I get the reverse of the problem. The mode is set correctly (and
is changeable) for all devices *except* fd*, mem, port, sd*, and scd*.
For those, the mode is fixed at 666. There is no error code returned, and
chmod simply does nothing. This, BTW, is happening in a regular directory
(/ddev), with the virtual /dev still in place...
There also were some glitches with the /ddev devices (notably clipboard,
which I've exercised quite often), but nothing I could pin down, and all
with 1.5.12 (unfortunately, I couldn't switch to a snapshot for my
everyday use -- maybe on next reboot).
Another glitch that *is* reproducible for me is that bash cannot
tab-complete any top-level directory or file (unless PWD=/, in which case
"ls ^I^I" works, but "ls ./^I^I" doesn't). I can provide more details if
needed.
Igor
[*] CYGWIN_NT-5.1 pechtcha 1.5.13(0.122/4/2) 2005-02-26 21:52 i686 unknown unknown Cygwin
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT