diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2019-06-03 14:20:43 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2019-06-03 14:35:33 +0200 |
commit | cbd31d9f0b046711669ebdc95234134892d68dbd (patch) | |
tree | 034b06d25e6df74cc033284567ffc00e931707e0 /core/io/file_access_encrypted.cpp | |
parent | 1abca6269780d08409c5907cb2b2ba54a674514d (diff) | |
download | redot-engine-cbd31d9f0b046711669ebdc95234134892d68dbd.tar.gz |
Fix errors when attempting to set UNIX permissions when unavailable
This makes exporting from Windows to Linux work again.
This closes #29416.
Diffstat (limited to 'core/io/file_access_encrypted.cpp')
-rw-r--r-- | core/io/file_access_encrypted.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/file_access_encrypted.cpp b/core/io/file_access_encrypted.cpp index 3ff9fa569c..7dea749a43 100644 --- a/core/io/file_access_encrypted.cpp +++ b/core/io/file_access_encrypted.cpp @@ -308,8 +308,8 @@ uint32_t FileAccessEncrypted::_get_unix_permissions(const String &p_file) { } Error FileAccessEncrypted::_set_unix_permissions(const String &p_file, uint32_t p_permissions) { - - return FAILED; + ERR_PRINT("Setting UNIX permissions on encrypted files is not implemented yet"); + return ERR_UNAVAILABLE; } FileAccessEncrypted::FileAccessEncrypted() { |