Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.053 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'subject:files': 0.09; 'filesystem': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.16; '(which': 0.19; 'cc:no real name:2**0': 0.20; 'cc:2**0': 0.22; 'header:In-Reply-To:1': 0.22; 'tue,': 0.23; 'aug': 0.24; 'fine': 0.26; 'cc:addr:python.org': 0.30; 'received:mail.yandex.net': 0.30; 'received:yandex.net': 0.30; 'header:User-Agent:1': 0.34; 'charset:us-ascii': 0.36; 'file': 0.36; 'but': 0.37; 'think': 0.38; 'hello,': 0.38; 'some': 0.38; 'subject:: ': 0.39; 'files,': 0.39; "it's": 0.40; 'link': 0.63; 'heard.': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1312787248; bh=ArGpk5nZ07QneQ7YoVQXh0DDwh1DAaTngALBN43jEDA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=dMRHicHqmpSd70sNFhSNjcfcbdMdWMbWms/pMJa6OApHkGzq63tAKcD6LSmoeWd3l XuASOP4WMIMf3WYX9wY5eLkwsreyAdXiQ4IR6byTZBQwJkcQkioBLUNKKzAotqKeuj ztXRgso97iqkP5F7Bv9yu81UlA53C8XlwA+iXOIQ= X-Yandex-Spam: 1 Date: Mon, 8 Aug 2011 10:07:25 +0300 From: Alexander Gattin To: loial Subject: Re: Hardlink sub-directories and files Mail-Followup-To: Alexander Gattin , loial , python-list@python.org References: <3d2c3d3b-085e-4f3b-903d-726a31e607f4@b34g2000yqi.googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3d2c3d3b-085e-4f3b-903d-726a31e607f4@b34g2000yqi.googlegroups.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1312787365 news.xs4all.nl 23889 [2001:888:2000:d::a6]:35356 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:11027 Hello, On Tue, Aug 02, 2011 at 02:32:54AM -0700, loial wrote: > This works fine for files, but the directory > also contains sub- directories (which themselves > contain files and sub-directories). However I > do not think it is possible to hard link > directories ? On some Unices it is, as I heard. But in general, it's not always possible to even hardlink to an ordinary file: 1) across filesystem boundary 2) on GRSEC system, if you don't own the original file -- WBR, xrgtn