You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Allow other processes to read/write/delete the file. This emulates the
When attempting to perform usdcat from a CLI we are running into the errors: Insufficient permissions to write to destination directory and Runtime Error: in Replace at line 138 of /dependencies-7.0.0-source/USD/working/OpenUSD-23.05/pxr/base/tf/safeOutputFile.cpp.
However, we are able to do touch /fs/shows/astro/assets/environment/spcInt/publish/model/spcInt_centerConsole_prod/v001/usd/spcInt_01_model_prod_v001.usd
Error message: Error exporting "/fs/shows/astro/assets/environment/spcInt/publish/model/spcInt_centerConsole_prod/v001/abc/spcInt_01_model_model_prod_v001.abc" to "/fs/shows/astro/assets/environment/spcInt/publish/model/spcInt_centerConsole_prod/v001/usd/spcInt_01_model_prod_v001.usd" - Insufficient permissions to write to destination directory '/fs/shows/astro/assets/environment/spcInt/publish/model/spcInt_centerConsole_prod/v001/usd' Unable to open /fs/shows/astro/assets/environment/spcInt/publish/model/spcInt_centerConsole_prod/v001/usd/spcInt_01_model_prod_v001.usd for write Runtime Error: in Replace at line 138 of /dependencies-7.0.0-source/USD/working/OpenUSD-23.05/pxr/base/tf/safeOutputFile.cpp -- Insufficient permissions to write to destination directory '/fs/shows/astro/assets/environment/spcInt/publish/model/spcInt_centerConsole_prod/v001/usd' Runtime Error: in StartPacking at line 2491 of /dependencies-7.0.0-source/USD/working/OpenUSD-23.05/pxr/usd/usd/crateFile.cpp -- Unable to open /fs/shows/astro/assets/environment/spcInt/publish/model/spcInt_centerConsole_prod/v001/usd/spcInt_01_model_prod_v001.usd for write
Therefore wondering if this section of the code is trying to open the USD file with some change in the permissions for the requested USD file, that's probably not allowed/happening in our NFSv4+Kerberos (sec=krb5) environment, and if that's causing this failure.
Would you recommend a way to handle/fix this behavior without modifying the file-system permission, as that seems to be working for most other file-system operations?
getfacl: Removing leading '/' from absolute path names # file: fs/shows/astro/assets/environment/spcInt/publish/model/spcInt_centerConsole_prod/v001/usd # owner: sshrestha # group: domain\040users user::rwx group::rwx other::---
and since this is a mixed-mode storage with NFS4+Kerberose (sec=krb5) we are able to see below the effective access for the user for the above given path.
Given the nature of this error/behavior would you suggest any fixes/workarounds that will allow us to get the usdcat working without having to change the permissions?
Thanks,
The text was updated successfully, but these errors were encountered:
@bsukhadia-fractal , I suspect your problems may be similar to those reported in Issue #849 , which we are planning on tackling very soon. If you are Houdini users, you might be able to verify this by seeing if you encounter similar problems writing out USD from Solaris, as SideFX has internally done something very similar to what we are planning on doing.
OpenUSD/pxr/base/arch/fileSystem.cpp
Line 81 in 0b18ad3
When attempting to perform
usdcat
from a CLI we are running into the errors:Insufficient permissions to write to destination directory
andRuntime Error: in Replace at line 138 of /dependencies-7.0.0-source/USD/working/OpenUSD-23.05/pxr/base/tf/safeOutputFile.cpp
.However, we are able to do
touch /fs/shows/astro/assets/environment/spcInt/publish/model/spcInt_centerConsole_prod/v001/usd/spcInt_01_model_prod_v001.usd
CLI:
/fs/shows/tools/gaffer/linux/gaffer-3delight-build/bin/usdcat '/fs/shows/astro/assets/environment/spcInt/publish/model/spcInt_centerConsole_prod/v001/abc/spcInt_01_model_model_prod_v001.abc' -o '/fs/shows/astro/assets/environment/spcInt/publish/model/spcInt_centerConsole_prod/v001/usd/spcInt_01_model_prod_v001.usd'
Error message:
Error exporting "/fs/shows/astro/assets/environment/spcInt/publish/model/spcInt_centerConsole_prod/v001/abc/spcInt_01_model_model_prod_v001.abc" to "/fs/shows/astro/assets/environment/spcInt/publish/model/spcInt_centerConsole_prod/v001/usd/spcInt_01_model_prod_v001.usd" - Insufficient permissions to write to destination directory '/fs/shows/astro/assets/environment/spcInt/publish/model/spcInt_centerConsole_prod/v001/usd' Unable to open /fs/shows/astro/assets/environment/spcInt/publish/model/spcInt_centerConsole_prod/v001/usd/spcInt_01_model_prod_v001.usd for write Runtime Error: in Replace at line 138 of /dependencies-7.0.0-source/USD/working/OpenUSD-23.05/pxr/base/tf/safeOutputFile.cpp -- Insufficient permissions to write to destination directory '/fs/shows/astro/assets/environment/spcInt/publish/model/spcInt_centerConsole_prod/v001/usd' Runtime Error: in StartPacking at line 2491 of /dependencies-7.0.0-source/USD/working/OpenUSD-23.05/pxr/usd/usd/crateFile.cpp -- Unable to open /fs/shows/astro/assets/environment/spcInt/publish/model/spcInt_centerConsole_prod/v001/usd/spcInt_01_model_prod_v001.usd for write
Therefore wondering if this section of the code is trying to open the USD file with some change in the permissions for the requested USD file, that's probably not allowed/happening in our NFSv4+Kerberos (sec=krb5) environment, and if that's causing this failure.
Would you recommend a way to handle/fix this behavior without modifying the file-system permission, as that seems to be working for most other file-system operations?
getfacl: Removing leading '/' from absolute path names
# file: fs/shows/astro/assets/environment/spcInt/publish/model/spcInt_centerConsole_prod/v001/usd
# owner: sshrestha
# group: domain\040users
user::rwx
group::rwx
other::---
and since this is a mixed-mode storage with NFS4+Kerberose (sec=krb5) we are able to see below the effective access for the user for the above given path.
Given the nature of this error/behavior would you suggest any fixes/workarounds that will allow us to get the
usdcat
working without having to change the permissions?Thanks,
The text was updated successfully, but these errors were encountered: