Skip to content

Commit 368e90a

Browse files
committed
Fixed mount error for Linux (auto_xattr is OSX).
1 parent 899f7dc commit 368e90a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

yas3fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2172,8 +2172,7 @@ In an EC2 instance a IAM role can be used to give access to S3/SNS/SQS resources
21722172
'atime':False,
21732173
'max_read':131072,
21742174
'max_write':131072,
2175-
'max_readahead':131072,
2176-
'auto_xattr':True
2175+
'max_readahead':131072
21772176
}
21782177

21792178
if options.uid:
@@ -2187,6 +2186,7 @@ In an EC2 instance a IAM role can be used to give access to S3/SNS/SQS resources
21872186
mount_options['volname'] = os.path.basename(mountpoint)
21882187
mount_options['noappledouble'] = True
21892188
mount_options['daemon_timeout'] = 3600
2189+
mount_options['auto_xattr'] = True
21902190
# mount_options['local'] = True # local option is quite unstable
21912191
else:
21922192
mount_options['big_writes'] = True # Not working on OSX

0 commit comments

Comments
 (0)