Lines Matching refs:UnixInfo
560 RTFSOBJINFO UnixInfo;
561 int rc = RTVfsObjQueryInfo(hVfsObj, &UnixInfo, RTFSOBJATTRADD_UNIX);
589 if (!RTFS_IS_SYMLINK(UnixInfo.Attr.fMode))
594 else if (RTFS_IS_SYMLINK(UnixInfo.Attr.fMode))
611 switch (UnixInfo.Attr.fMode & RTFS_TYPE_MASK)
614 return rtZipTarCmdExtractFile(pOpts, hVfsObj, rcExit, szDst, &UnixInfo, &Owner, &Group);
617 rc = RTDirCreateFullPath(szDst, UnixInfo.Attr.fMode & RTFS_UNIX_ALL_ACCESS_PERMS);
649 rc = RTPathSetTimesEx(szDst, NULL, &UnixInfo.ModificationTime, NULL, NULL, RTPATH_F_ON_LINK);
675 if (!RTFS_IS_SYMLINK(UnixInfo.Attr.fMode)) /* RTPathSetMode follows symbolic links atm. */
678 if (RTFS_IS_DIRECTORY(UnixInfo.Attr.fMode))
679 fMode = (UnixInfo.Attr.fMode & (pOpts->fDirModeAndMask | RTFS_TYPE_MASK)) | pOpts->fDirModeOrMask;
681 fMode = (UnixInfo.Attr.fMode & (pOpts->fFileModeAndMask | RTFS_TYPE_MASK)) | pOpts->fFileModeOrMask;
709 RTFSOBJINFO UnixInfo;
710 int rc = RTVfsObjQueryInfo(hVfsObj, &UnixInfo, RTFSOBJATTRADD_UNIX);
714 RT_ZERO(UnixInfo);
747 pszLinkType = RTFS_IS_SYMLINK(UnixInfo.Attr.fMode) ? "->" : "link to";
749 else if (RTFS_IS_SYMLINK(UnixInfo.Attr.fMode))
756 switch (UnixInfo.Attr.fMode & RTFS_TYPE_MASK)
771 szMode[1] = UnixInfo.Attr.fMode & RTFS_UNIX_IRUSR ? 'r' : '-';
772 szMode[2] = UnixInfo.Attr.fMode & RTFS_UNIX_IWUSR ? 'w' : '-';
773 szMode[3] = UnixInfo.Attr.fMode & RTFS_UNIX_IXUSR ? 'x' : '-';
775 szMode[4] = UnixInfo.Attr.fMode & RTFS_UNIX_IRGRP ? 'r' : '-';
776 szMode[5] = UnixInfo.Attr.fMode & RTFS_UNIX_IWGRP ? 'w' : '-';
777 szMode[6] = UnixInfo.Attr.fMode & RTFS_UNIX_IXGRP ? 'x' : '-';
779 szMode[7] = UnixInfo.Attr.fMode & RTFS_UNIX_IROTH ? 'r' : '-';
780 szMode[8] = UnixInfo.Attr.fMode & RTFS_UNIX_IWOTH ? 'w' : '-';
781 szMode[9] = UnixInfo.Attr.fMode & RTFS_UNIX_IXOTH ? 'x' : '-';
791 "%u", UnixInfo.Attr.u.Unix.uid);
795 "%u", UnixInfo.Attr.u.Unix.gid);
804 pTime = RTTimeLocalExplode(&ModTime, &UnixInfo.ModificationTime);
806 pTime = RTTimeExplode(&ModTime, &UnixInfo.ModificationTime);
818 switch (UnixInfo.Attr.fMode & RTFS_TYPE_MASK)
823 RTDEV_MAJOR(UnixInfo.Attr.u.Unix.Device), RTDEV_MINOR(UnixInfo.Attr.u.Unix.Device));
826 cchSize = RTStrPrintf(szSize, sizeof(szSize), "%RU64", UnixInfo.cbObject);