bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug#107826: marked as done (can not create file through a dangling symli


From: Debian Bug Tracking System
Subject: Bug#107826: marked as done (can not create file through a dangling symlink)
Date: Mon, 19 Aug 2002 15:48:21 -0500

Your message dated Mon, 19 Aug 2002 22:38:17 +0200
with message-id <20020819203817.GC5453@212.23.136.22>
and subject line done
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 6 Aug 2001 18:44:31 +0000
>From Marcus.Brinkmann@ruhr-uni-bochum.de Mon Aug 06 13:44:31 2001
Return-path: <Marcus.Brinkmann@ruhr-uni-bochum.de>
Received: from (ulysses.g10code.de) [212.23.136.22] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 15TpMc-0004rK-00; Mon, 06 Aug 2001 13:44:30 -0500
Received: from marcus by ulysses.g10code.de with local (Exim 3.16 #3 (Debian))
        id 15TpMb-0009q0-00
        for <submit@bugs.debian.org>; Mon, 06 Aug 2001 20:44:29 +0200
Date: Mon, 6 Aug 2001 20:44:28 +0200
To: submit@bugs.debian.org
Subject: can not create file through a dangling symlink
Message-ID: <20010806204428.A13543@212.23.136.22>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
From: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
Delivered-To: submit@bugs.debian.org

Package: hurd

Hi,

the fileutils test suite fails on the Hurd.  The test touch/dangling-symlink
tries the following:

ln -s touch-target t-symlink
touch t-symlink

It expects to be able to create a file touch-target and update the
time stamp.  The Hurd returns ENOENT (on the open with O_CREAT).

I include the test below.  Is this OS specific or defined by a standard?

Thanks,
Marcus


#!/bin/sh
# Make sure touch can create a file through a dangling symlink.
# This was broken in the 4.0[e-i] test releases.

if test "$VERBOSE" = yes; then
  set -x
  touch --version
fi

rm -f touch-target t-symlink
ln -s touch-target t-symlink
fail=0

# This used to infloop.
touch t-symlink || fail=1

test -f touch-target || fail=1
rm -f touch-target t-symlink

if test $fail = 1; then
  case $host_triplet in
    *linux-gnu*)
      case "`uname -r`" in
        2.3.9[0-9]*)
          cat 1>&2 <<EOF
====================================================
$0: WARNING!!!
This version of the Linux kernel causes touch to fail
when operating on dangling symlinks.
====================================================
EOF
          exit 77
          ;;
      esac
      ;;
  esac
fi

exit $fail

---------------------------------------
Received: (at 107826-done) by bugs.debian.org; 19 Aug 2002 20:38:21 +0000
>From Marcus.Brinkmann@ruhr-uni-bochum.de Mon Aug 19 15:38:21 2002
Return-path: <Marcus.Brinkmann@ruhr-uni-bochum.de>
Received: from porta.u64.de [194.77.88.106] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 17gtI3-0007xG-00; Mon, 19 Aug 2002 15:38:19 -0500
Received: from (ulysses) [212.23.136.22] 
        by porta.u64.de with asmtp (Exim 3.12 #1 (Debian))
        id 17guCc-0007EM-00; Mon, 19 Aug 2002 23:36:46 +0200
Received: from marcus by ulysses with local (Exim 3.35 #1 (Debian))
        id 17gtI1-0001SR-00
        for <107826-done@bugs.debian.org>; Mon, 19 Aug 2002 22:38:17 +0200
Date: Mon, 19 Aug 2002 22:38:17 +0200
From: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
To: 107826-done@bugs.debian.org
Subject: done
Message-ID: <20020819203817.GC5453@212.23.136.22>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
Sender: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
Delivered-To: 107826-done@bugs.debian.org

also done.

-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus@gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]