Subject: Re: Symlink ownership
To: None <current-users@NetBSD.ORG>
From: Mike Long <mike.long@analog.com>
List: current-users
Date: 07/27/1995 10:35:52
>The least requirement one can pose on symlinks is that if you were able
>to make a symlink in a directory, you should also be able to remove it
>(just like it works with normal files and everything else). This would
>require that
>
>1. everybody (who can write in the directory) can remove the symlink. This
> is however undoing the effect the sticky bit is supposed to have.
> or
>2. the symlink has an owner.
How about:
3. Don't let a user create symlinks in a sticky directory he/she
doesn't own.
This solution satisfies the 'if you can create it, you can destroy it'
requirement. AFAIK it should be easy to check for this condition and
return EPERM, but I haven't actually looked at the code.
--
Mike Long <mike.long@analog.com> http://www.shore.net/~mikel
VLSI Design Engineer finger mikel@shore.net for PGP public key
Analog Devices, CPD Division CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA assert(*this!=opinionof(Analog));
Date: Thu, 27 Jul 1995 15:43:39 -0400
From: Mail Delivery Subsystem <MAILER-DAEMON@analog.com>
To: Mike.Long@spd.analog.com
Subject: Returned mail: Cannot send message for 5 hours
----- Transcript of session follows -----
421 NetBSD.ORG (ILE_EMX)... Deferred: Connection refused by pain.lcs.mit.edu
----- Recipients of this delivery -----
Bounced, cannot deliver:
<netbsd-help@NetBSD.ORG>
----- Unsent message follows -----
(InterLock SMTP Gateway 3.0 for <netbsd-help@NetBSD.ORG>);
Thu, 27 Jul 1995 10:39:19 -0400
id AA22440; Thu, 27 Jul 95 10:38:19 EDT
Date: Thu, 27 Jul 95 10:38:19 EDT
Message-Id: <9507271438.AA22440@cthulhu>
From: Mike Long <mike.long@analog.com>
To: @analog.com:lauzon@cs.wisc.edu
Cc: @analog.com:netbsd-help@NetBSD.ORG
In-Reply-To: <9507262139.AA02122@sun25.cs.wisc.edu> (lauzon@cs.wisc.edu)
Subject: Re: PPP help needed
Organization: Analog Devices CPD
Reply-To: Mike Long <mike.long@analog.com>
>From: lauzon@cs.wisc.edu (Shawn Lauzon)
>Date: Wed, 26 Jul 1995 16:39:31 -0500 (CDT)
>
>I need some help hooking up my computer (486) to the Internet
>via my modem (tty01). If I try to do pppd, it says:
>
>Sorry - PPP not available on this system
>
>Why is this? I thought NetBSD came with PPP. Any suggestions
>are appreciated. I've used SunOS for years, but I've never set
>up PPP connections or much of any sys admin stuff, so please
>be somewhat direct. Thanks very much!
You don't have any ppp interfaces built into your kernel. Add
pseudo-device ppp 1
to your kernel config file, update your kernel, and reboot.
--
Mike Long <mike.long@analog.com> http://www.shore.net/~mikel
VLSI Design Engineer finger mikel@shore.net for PGP public key
Analog Devices, CPD Division CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA assert(*this!=opinionof(Analog));