Prevent storage of .DS_Store, etc.?

Prevent storage of .DS_Store, etc.?

Postby dhoelzer » Mon Nov 27, 2017 2:05 am

Is there any way to prevent the storage of .DS_Store and the other miscellaneous files that Macs create? I tried adding a veto to the samba configuration, but it doesn't seem to have any effect.

Thanks!
dhoelzer
 
Posts: 8
Joined: Thu Nov 09, 2017 3:04 pm

Re: Prevent storage of .DS_Store, etc.?

Postby Jocko » Mon Nov 27, 2017 8:24 am

Hi dhoelzer,

Yes, we can do it. Your issue is samba conf is overwritten at each time you edit an user account or a share.

So I go to add some veto directives by default. Can you confirm me the list. I assume it is : .DS_Store ; .Trashes ; .TemporaryItems
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Prevent storage of .DS_Store, etc.?

Postby dhoelzer » Mon Nov 27, 2017 11:09 am

Jocko wrote:Hi dhoelzer,

Yes, we can do it. Your issue is samba conf is overwritten at each time you edit an user account or a share.

So I go to add some veto directives by default. Can you confirm me the list. I assume it is : .DS_Store ; .Trashes ; .TemporaryItems



Yes, that's the list of what I'm rejecting... Also, ._*

How do I set it up so that the vetos are re-added every time?
dhoelzer
 
Posts: 8
Joined: Thu Nov 09, 2017 3:04 pm

Re: Prevent storage of .DS_Store, etc.?

Postby Jocko » Mon Nov 27, 2017 11:32 am

Ok,

dhoelzer wrote:How do I set it up so that the vetos are re-added every time?
You can not as smb.conf file it created by running a firmware script.

So I go to edit it for including them and send you to see if your issue is fixed

---edit---
I need to do the same thing with afp server
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Prevent storage of .DS_Store, etc.?

Postby dhoelzer » Mon Nov 27, 2017 2:23 pm

Jocko wrote:Ok,

dhoelzer wrote:How do I set it up so that the vetos are re-added every time?
You can not as smb.conf file it created by running a firmware script.

So I go to edit it for including them and send you to see if your issue is fixed

---edit---
I need to do the same thing with afp server


Thank you very much! Which firmware script is it?
dhoelzer
 
Posts: 8
Joined: Thu Nov 09, 2017 3:04 pm

Re: Prevent storage of .DS_Store, etc.?

Postby Jocko » Tue Nov 28, 2017 10:32 am

Hi dhoelzer,

I sent you a pm to install a patch.

Check if it works like you want.
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Prevent storage of .DS_Store, etc.?

Postby dhoelzer » Wed Dec 27, 2017 12:00 am

Jocko wrote:Hi dhoelzer,

I sent you a pm to install a patch.

Check if it works like you want.


Thanks for the patch! Sorry for the delay. I've been away for a few weeks.

Still, I'd be very interested to know where I can edit the smb.conf to permanently filter these files.

In the meantime, it looks like I'll have to set up a cronjob to delete them.
dhoelzer
 
Posts: 8
Joined: Thu Nov 09, 2017 3:04 pm


Return to Lacie 5Big Network vs1

Who is online

Users browsing this forum: No registered users and 1 guest