Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Aug 2004 22:39:08 +0930
From:      Malcolm Kay <malcolm.kay@internode.on.net>
To:        Mipam <mipam@ibb.net>, freebsd-questions@freebsd.org
Subject:   Re: cannot remove own file from tmp
Message-ID:  <200408262239.08015.malcolm.kay@internode.on.net>
In-Reply-To: <Pine.BSO.4.56.0408261212320.26651@ux11.ltcm.net>
References:  <Pine.BSO.4.56.0408261212320.26651@ux11.ltcm.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 26 August 2004 19:48, 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
>
This seems rather strange. If you are actually in /tmp
(I take it you mean by 'cd /tmp') then 
 % ls -l
should not report a tmp directory unless you have 
another tmp as a subdirectory of /tmp i.e. /tmp/tmp

If you are actually in the root directory and 
/tmp is a truly symbolic link to /var/tmp then 'ls -l'
should report something like:
   l?????????  ? root  wheel ?? Aug 26 11:48 tmp -> /var/tmp

Please check your information.

Malcolm
 
> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408262239.08015.malcolm.kay>