Date: Mon, 18 Oct 1999 17:24:08 +0400 (MSD) From: "Aleksandr A.Babaylov" <babolo@links.ru> To: Doug@gorean.org (Doug) Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: how mkdir without .. ? Message-ID: <199910181324.RAA09383@aaz.links.ru> In-Reply-To: <3808BAF9.9E8A2474@gorean.org> from "Doug" at "Oct 16, 99 10:50:49 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Doug writes: > "Aleksandr A.Babaylov" wrote: > > I need in directories without link to parent in it > > or with link to parent renamed to something exotic name. > What are you trying to accomplish? If you are trying to create > directories that users cannot "escape" out of, all you need to do is > remove the world rx permissions on the parent directory, and make sure > that they don't have access via the group permissions. You might also > want to look at chroot. I have several GByteg archives, some of it have .. members in it. Archives have different format (.rar, .zip, .arj so on). When I try to inspect archives on regular basis, .. members waste my filesystem or produse errors (it depends on safty methods on filesystem) Presence of ../../../.. directory which is NOT the path back will do all I want. I remember, that in really old UNIXes creating a dirertory and populating it with "." and ".." entryes was different steps, but I dont remember method (I was young and dumb then) -- @BABOLO http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910181324.RAA09383>