diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-06-03 20:54:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-03 20:54:09 +0200 |
commit | 85a338295859bd14817df675f9ce045f39658920 (patch) | |
tree | d655d77755d81cc2babbbfcaad0c875e9a7753d5 /core/io/file_access_network.cpp | |
parent | 8cc8383a7fa3097eb67c58da5379c0bc566e1331 (diff) | |
parent | cbd31d9f0b046711669ebdc95234134892d68dbd (diff) | |
download | redot-engine-85a338295859bd14817df675f9ce045f39658920.tar.gz |
Merge pull request #29431 from Calinou/fix-unix-permissions-errors
Fix errors when attempting to set UNIX permissions when unavailable
Diffstat (limited to 'core/io/file_access_network.cpp')
-rw-r--r-- | core/io/file_access_network.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/io/file_access_network.cpp b/core/io/file_access_network.cpp index 2572602e16..5dd167c581 100644 --- a/core/io/file_access_network.cpp +++ b/core/io/file_access_network.cpp @@ -501,13 +501,13 @@ uint64_t FileAccessNetwork::_get_modified_time(const String &p_file) { } uint32_t FileAccessNetwork::_get_unix_permissions(const String &p_file) { - //could be implemented, not sure if worth it + ERR_PRINT("Getting UNIX permissions from network drives is not implemented yet"); return 0; } Error FileAccessNetwork::_set_unix_permissions(const String &p_file, uint32_t p_permissions) { - - return FAILED; + ERR_PRINT("Setting UNIX permissions on network drives is not implemented yet"); + return ERR_UNAVAILABLE; } void FileAccessNetwork::configure() { |