Files
ports/graphics/openusd/files/patch-pxr_base_tf_fileUtils.cpp
T
2026-10-04 04:07:15 +00:00

12 lines
463 B
C++

--- pxr/base/tf/fileUtils.cpp.orig 2025-10-24 16:21:56 UTC
+++ pxr/base/tf/fileUtils.cpp
@@ -230,7 +230,7 @@ TfIsWritable(string const& path)
bool
TfIsWritable(string const& path)
{
-#if defined(ARCH_OS_LINUX)
+#if defined(ARCH_OS_LINUX) || defined(ARCH_OS_FREEBSD)
// faccessat accounts for mount read-only status. For maintaining legacy
// behavior, use faccessat instead of access so we can use the effective
// UID instead of the real UID.