From owner-freebsd-questions@FreeBSD.ORG Thu Aug 26 10:45:39 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 1782816A4CE for ; Thu, 26 Aug 2004 10:45:39 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id B996A43D49 for ; Thu, 26 Aug 2004 10:45:38 +0000 (GMT) (envelope-from subhro.kar@gmail.com) Received: by mproxy.gmail.com with SMTP id 80so172361rnk for ; Thu, 26 Aug 2004 03:45:38 -0700 (PDT) Received: by 10.38.8.46 with SMTP id 46mr2591083rnh; Thu, 26 Aug 2004 03:45:38 -0700 (PDT) Received: by 10.38.206.18 with HTTP; Thu, 26 Aug 2004 03:45:38 -0700 (PDT) Message-ID: Date: Thu, 26 Aug 2004 16:15:38 +0530 From: Subhro To: FreeBSD-questions In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: cc: Mipam Subject: Re: cannot remove own file from tmp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Subhro List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 10:45:39 -0000 Your / is mounted as read only and that is most likely creating problems. Try mounting it with rw and go ahead. Let us know if that worked. Regards. S. On Thu, 26 Aug 2004 12:40:36 +0200 (MEST), Mipam wrote: > 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 > > > -- Subhro Sankha Kar School of Information Technology Block AQ-13/1 Sector V ZIP 700091 India