Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Feb 2008 12:30:57 +0100
From:      Pietro Cerutti <gahr@gahr.ch>
To:        Wouter Oosterveld <wouter@fizzyflux.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: rename and chmod (was: cp -p)
Message-ID:  <47AC3D71.4060409@gahr.ch>
In-Reply-To: <b4950de90802080328w1ef8c2c8if87c93381fbef7a0@mail.gmail.com>
References:  <47AC2018.6010403@gahr.ch> <b4950de90802080328w1ef8c2c8if87c93381fbef7a0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Wouter Oosterveld wrote:
>> Now, from a logical point of view, why moving a file into a directory
> doesn't fall into the "created into them" case?
> 
> Because (if on the same filesystem) you don't create a new file. You
> just link the file in the destination dir and unlink the file from the
> source dir.

Exactly. But from a /*logical*/ point of view, shouldn't this case be
treated /*as if*/ the file was created inside the target directory?

> 
> Regards,
> 
> Wouter


-- 
Pietro Cerutti

PGP Public Key:
http://gahr.ch/pgp


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iEYEAREKAAYFAkesPXUACgkQwMJqmJVx945SZACeJKvdj5qli+Af1bprKrELYvwJ
xZAAoKSPDgfcyvmTLt6ls4JrvfeORcR9
=Aovw
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47AC3D71.4060409>