[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: No os.copy or lfs.copy?
- From: Rob Kendrick <lua-l@...>
- Date: Thu, 10 Apr 2008 11:37:21 +0100
On Thu, 2008-04-10 at 03:24 -0700, gary ng wrote:
> interesting. what you mentioned are 'metadata' which
> is very much OS dependent(NTFS has ACL, linux has
> similar thing) that must be done in OS dependent way
> like as you said os.execute().
>
> In fact, even with os.execute('cp ...'), I am not sure
> it can handle all the metadata.
It won't be able to, no: it can't recreate metadata it doesn't have
permissions to. For example, file ownership.
B.