lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.