mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2025-01-08 15:44:11 +00:00
Return not supported when hard linking
This is more correct than permission denied.
This commit is contained in:
parent
a442e843be
commit
43c6ef560e
@ -1550,7 +1550,7 @@ static int s3fs_rename(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);
|
||||
return -EPERM;
|
||||
return -ENOTSUP;
|
||||
}
|
||||
|
||||
static int s3fs_chmod(const char* path, mode_t mode)
|
||||
|
Loading…
Reference in New Issue
Block a user