mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Zip - set owner/group before mode
(cherry picked from commit 2b0d593338)
This commit is contained in:
parent
3c5af1f6ff
commit
568da03d67
1 changed files with 4 additions and 4 deletions
|
|
@ -2309,15 +2309,15 @@ begin
|
|||
end;
|
||||
end;
|
||||
end;
|
||||
{$IF DEFINED(UNIX)}
|
||||
if (FUserID = 0) or (FUserID = CurItem.UserID) then
|
||||
fpLChown(UseName, TUid(CurItem.UserID), TGid(CurItem.GroupID));
|
||||
{$ENDIF}
|
||||
if (CurItem.Mode and $F000) <> AB_FMODE_FILELINK then
|
||||
begin
|
||||
AbSetFileTime(UseName, CurItem.LastWriteTime);
|
||||
AbSetFileAttr(UseName, CurItem.NativeFileAttributes);
|
||||
end;
|
||||
{$IF DEFINED(UNIX)}
|
||||
if (FUserID = 0) or (FUserID = CurItem.UserID) then
|
||||
fpLChown(UseName, TUid(CurItem.UserID), TGid(CurItem.GroupID));
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
procedure TAbTarArchive.ExtractItemToStreamAt(Index: Integer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue