Cannot SYNOEARename

I’m recently seeing a strange behavior when renaming files on a Synology NAS box through am SMB mounted share on Ubuntu: Nautilus shows an error message, saying the file cannot be renamed, but after refreshing the folder, it turns out it has successfully been renamed.

/var/log/messages says:

May 7 16:36:15 smbd: modules/vfs_default.c:1230 Cannot SYNOEARename [Foo] to [Bar], SynoErr=[0x3900]

The problem started appearing after rsync’ing a share from another NAS to this one.

This has to do with the @eaDir directories you’ll find on your volume when looking at them in a shell. I can fix the problem by setting the permissions of these directories recursively to 777. Looking at the source of the Synology Samba extensions, that is supposed to be the default (synoea.c).

The strange thing is, though, that for some reason, I’ve found them set to 007, which should be good enough we all. What’s more, I have a sneaking suspicion that I’ve fixed permissions on the same @eaDir more than once now – which would mean they reset. I’ll have to keep an eye on this.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s