Message128467
> Ok.
>
> But that makes the whole method inconsistent.
>
> Basically, if it's on the same filesystem, rename the file, and thus
> not inheriting ACL. If it's on another use copy2, and inherit ACL.
I think you're misunderstanding copy2. It will copy the ACL from the
source file, not from the target directory or filesystem.
Actually, if you look at copy2's implementation, it's just copyfile()
followed by copystat(). |
|
Date |
User |
Action |
Args |
2011-02-12 20:24:35 | pitrou | set | recipients:
+ pitrou, tarek, brian.curtin, Anders.Østhus |
2011-02-12 20:24:34 | pitrou | link | issue11202 messages |
2011-02-12 20:24:34 | pitrou | create | |
|