* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Check
return code from GetFileSize and set file size to 0 if necessary. * fhandler_netdrive.cc (fhandler_netdrive::fstat): Set permissions to read/execute for all.
This commit is contained in:
@ -65,7 +65,7 @@ fhandler_netdrive::fstat (struct __stat64 *buf)
|
||||
|
||||
(void) fhandler_base::fstat (buf);
|
||||
|
||||
buf->st_mode = S_IFDIR | S_IXUSR | S_IXGRP | S_IXOTH;
|
||||
buf->st_mode = S_IFDIR | STD_RBITS | STD_XBITS;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user