From owner-freebsd-questions@FreeBSD.ORG Thu Aug 26 10:40:40 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38FA116A4CE for ; Thu, 26 Aug 2004 10:40:40 +0000 (GMT) Received: from ux11.ltcm.net (ux11.ltcm.net [64.215.98.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FCED43D5A for ; Thu, 26 Aug 2004 10:40:39 +0000 (GMT) (envelope-from mipam@ibb.net) Received: from ux11.ltcm.net (mipam@localhost.ltcm.net [IPv6:::1]) by ux11.ltcm.net (8.12.9/8.12.9/UX11TT) with ESMTP id i7QAebIo007507; Thu, 26 Aug 2004 12:40:37 +0200 (MEST) Received: from localhost (mipam@localhost) by ux11.ltcm.net (8.12.9/8.12.9/Submit) with ESMTP id i7QAea16028215; Thu, 26 Aug 2004 12:40:36 +0200 (MEST) X-Authentication-Warning: ux11.ltcm.net: mipam owned process doing -bs Date: Thu, 26 Aug 2004 12:40:36 +0200 (MEST) From: Mipam X-X-Sender: mipam@ux11.ltcm.net To: Subhro In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD-questions Subject: Re: cannot remove own file from tmp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 10:40:40 -0000 On Thu, 26 Aug 2004, Subhro wrote: > Silly me :-(, Login as root and type "mount" without the "s. Also > could we have a listing of /etc/fstab and uname -a. $ mount /dev/wd0f on / (local, read-only) /dev/wd0a on /config (local) /dev/wd0d on /var (local) /dev/wd0e on /opt (local) procfs on /proc (local) /etc/fstab: /dev/wd0a /config ufs rw 1 2 /dev/wd0b none swap sw 0 0 /dev/wd0d /var ufs rw 1 2 /dev/wd0e /opt ufs rw 1 2 /dev/wd0f / ufs ro 1 1 proc /proc procfs rw 0 0 In / i do ls -l: lrwxr-xr-x 1 root wheel 8 Aug 25 13:30 tmp -> var/tmp2 in /var i do ls -l: drwxrwxrwt 5 root wheel 1024 Aug 26 12:38 tmp2 Bye, Mipam. > > Regards > S. > > On Thu, 26 Aug 2004 12:34:23 +0200 (MEST), Mipam wrote: > > On Thu, 26 Aug 2004, Subhro wrote: > > > > > Could we have a look at mount -a please? > > > > /dev/wd0a on /config: Operation not permitted > > /dev/wd0d on /var: Operation not permitted > > /dev/wd0e on /opt: Operation not permitted > > /dev/wd0f on /: Operation not permitted > > procfs: Operation not permitted > > > > Bye, > > > > Mipam. > > > > > > > > > > Regards > > > S. > > > > > > On Thu, 26 Aug 2004 12:18:06 +0200 (MEST), Mipam wrote: > > > > Hi, > > > > > > > > I have a system where tmp is a symlink to /var/tmp > > > > The permissions or /var/tmp are as follows: > > > > (doing a ls -l in /tmp): > > > > drwxrwxrwt 3 root wheel 512 Aug 26 11:48 tmp > > > > > > > > in tmp is created a file test: > > > > > > > > ls -lo test > > > > > > > > -rw-rw-r-- 1 mipam wheel - 8 Aug 26 11:46 test > > > > > > > > However, i cannot remove this file as mipam eventhough i own it. > > > > No chflags have been said as can be seen. > > > > How is this possible, why can i not remove a file in here eventhough > > > > i created it myself and own it myself? > > > > Bye, > > > > > > > > Mipam. > > > > _______________________________________________ > > > > freebsd-questions@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > > > > > > > > > > -- > > > Subhro Sankha Kar > > > School of Information Technology > > > Block AQ-13/1 Sector V > > > ZIP 700091 > > > India > > > > > > > > -- > Subhro Sankha Kar > School of Information Technology > Block AQ-13/1 Sector V > ZIP 700091 > India >