I have a client who has a bunch of macs accessing some samba shares, and they write these ._filename and .DS_STORE files all over the place, he would perfer it to not write these files at all. Anyone ran into this issue? what would be the best way to prevent these files from getting written onto the shares? veto? -- Matt Pruett <entelin@logicaldreams.net>
Under Macintosh OSX .DS_Store holds the information which controls the way a folder will be opened; i.e., the shape and size of the window, the position of the window on the desktop and whether file, folder or icon view has been selected. If you delete the .DS_Store the folder would revert to the system default next time it is opened and a new blank .DS_Store would appear (invisibly). I for one gave up trying to clean them up. At one point I was running a script to clean them up until I found out what they were used for. So, I live with them as long as it makes the mac happy ;-) Ed At 03:50 PM Sunday, 4/3/2005, you wrote -=>>I have a client who has a bunch of macs accessing some samba shares, and >they write these ._filename and .DS_STORE files all over the place, he >would perfer it to not write these files at all. Anyone ran into this >issue? what would be the best way to prevent these files from getting >written onto the shares? veto? > >-- >Matt Pruett <entelin@logicaldreams.net> > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/listinfo/samba. . . . . . . . . . . . . . . . . . Randomly Generated Quote (125 of 479): "Labor to keep alive in your breast that little spark of celestial fire called conscience." --George Washington
On Sunday 03 April 2005 15:50, Matt Pruett wrote:> I have a client who has a bunch of macs accessing some samba shares, and > they write these ._filename and .DS_STORE files all over the place, he > would perfer it to not write these files at all. Anyone ran into this > issue? what would be the best way to prevent these files from getting > written onto the shares? veto? > > -- > Matt Pruett <entelin@logicaldreams.net>You can use the "hide files" directive, but windows clients can override it with a "show hidden files" option in the tools menu of a directory window. If most users have the default view options, this is an excellent way to hide the files. "veto files" works too. If the macintosh clients are accessing the share via netatalk or some other appletalk-on-unix service, then the veto files directive will not affect them at all. And likely, if they are using MacOSX windows networking, it won't prevent them from accessing the share, but they may be annoyed about how it looks. Here's what I have: veto files = /Network Trash Folder/TheVolumeSettingsFolder/Desktop Folder/TheFindByContentFolder/Temporary Items/.DS_Store/
Matt Pruett wrote:>I have a client who has a bunch of macs accessing some samba shares, and >they write these ._filename and .DS_STORE files all over the place, he >would perfer it to not write these files at all. Anyone ran into this >issue? what would be the best way to prevent these files from getting >written onto the shares? veto?The ._filename file is a part of the Macintosh file - if you prevent it being written then you will get errors when a Mac tries to write files on the share, if you delete it then you will damage the file (from the Macs point of view). Whilst many applications these days can cope with this damage (they don't use the resource fork, and can use the file extension to identify the file type), in other cases deleting the ._filename will make the file totally useless. Simon -- Simon Hobson MA MIEE, Technology Specialist Colony Gift Corporation Limited Lindal in Furness, Ulverston, Cumbria, LA12 0LD Tel 01229 461100, Fax 01229 461101 Registered in England No. 1499611 Regd. Office : 100 New Bridge Street, London, EC4V 6JA.