Return not supported when hard linking

This is more correct than permission denied.
This commit is contained in:
Andrew Gaul 2019-01-30 16:43:04 -08:00
parent a442e843be
commit 43c6ef560e

View File

@ -1550,7 +1550,7 @@ static int s3fs_rename(const char* from, const char* to)
static int s3fs_link(const char* from, const char* to) static int s3fs_link(const char* from, const char* to)
{ {
S3FS_PRN_INFO("[from=%s][to=%s]", from, to); S3FS_PRN_INFO("[from=%s][to=%s]", from, to);
return -EPERM; return -ENOTSUP;
} }
static int s3fs_chmod(const char* path, mode_t mode) static int s3fs_chmod(const char* path, mode_t mode)