rename and chmod (was: cp -p)
Pietro Cerutti
gahr at gahr.ch
Fri Feb 8 11:31:07 UTC 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080208/d765d02b/signature.pgp
More information about the freebsd-questions
mailing list