mirror of
https://github.com/sheumann/smbfst.git
synced 2025-11-02 15:46:46 -08:00
Report an invalid access error for STATUS_STOPPED_ON_SYMLINK.
Since the GS has no concept of symlinks, we can't really support them.
This commit is contained in:
@@ -42,6 +42,7 @@ Word ConvertError(ReadStatus rs) {
|
||||
case STATUS_CANNOT_DELETE:
|
||||
case STATUS_DIRECTORY_NOT_EMPTY:
|
||||
case STATUS_QUOTA_EXCEEDED:
|
||||
case STATUS_STOPPED_ON_SYMLINK:
|
||||
return invalidAccess;
|
||||
|
||||
case STATUS_SHARING_VIOLATION:
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
|
||||
#define STATUS_BUFFER_OVERFLOW 0x80000005
|
||||
#define STATUS_NO_MORE_FILES 0x80000006
|
||||
#define STATUS_STOPPED_ON_SYMLINK 0x8000002D
|
||||
|
||||
#define STATUS_ACCESS_DENIED 0xC0000022
|
||||
#define STATUS_CANNOT_DELETE 0xC0000121
|
||||
|
||||
Reference in New Issue
Block a user