veto files = /.DS_Store/[Editor's note: I haven't tested this one yet...]
|
|
|
If you mount unix servers via samba you probably end up with .DS_Store files all over the place. A way I found to keep those from showing up is to 'veto' these files in the Samba config. In the [global] section of smb.conf of the server I am mounting I added:
veto files = /.DS_Store/[Editor's note: I haven't tested this one yet...]
•
[31,298 views]
Hint Options
Um...
I presume that means that if you are mounting another machine running samba, you can veto that filename.
Sorry!
That was my fault; I wrote "Windows" in the subject when I meant to type "UNIX." So this isn't related to Windows, but rather, UNIX.
Tried it, didn't like the results
I had this set for a while, but discovered that doing this was preventing me from copying whole folders over to my fileserver. What happened is that every time I tried to do it, I'd get a permissions error because it wouldn't let me copy .DS_store files.
Tried it, didn't like the results
You need to also set
delete veto files = yes in your smb.conf. That lets you delete folders that already contain "vetoed" files (those files will be deleted along with the folder).
veto config doesn't help for ._*
The both veto lines in the smb.conf don't resolve the problem of ._*-files appearing. When I add the ._*/ clause it's not possible to create any files on the server (or at least to do that properly, the finder starts copying and fails).
.DS_Store and CVS
Does anyone have an idea of how to get CVS to globally ignore the .DS_Store files?
.DS_Store and CVS
You should be able to set the CVSIGNORE environment variable to contain .DS_Store.
.cvsignore it
You can put .DS_Store in a .cvsignore file in your home directory.
or use cvsignore in CVSROOT
If you have access to it you can also put .DS_Store in the cvsignore file in the CVSROOT project of a repository. That file is a global ignore for all users accessing that repository.
What about .DS_store on Compact Flash/SmartMedia?
What about disabling the .DS_store files on CompactFlash/SmartMedia cards? I mount my CompactFlash card for my Nikon digital camera and my Visor PDA via a USB CompactFlash Reader and I am constantly getting .DS_Store files created on the mounted volume (CompactFlash Card) even without copying files, etc. These .DS_Store files can cause problems, especially on the PDA card.
And prevent ._ files on windows shares ?
Hello, this tip would really be helpfull to me if it'd work on a windows shared partition.
And prevent ._ files on windows shares ?
This is a file system problem rather than a network protocol problem. Remember that HFS volumes contain multiple data-bearing forks. I believe that by transfering files between HFS and NTFS, FAT, FAT32, and UNIX file systems, the current technology strips the data fork from the mac file and places it in a seperate file in the single-branched pc or UNIX file system.
And prevent ._ files on windows shares ?
Do you mean that if I reinstall my Os on an UFS formatted disk (as I don't use classic anymore), this could work ?
And prevent ._ files on windows shares ?
No just reinstall OS X without classic on HFS+ Stay away from UFS
And prevent ._ files on windows shares ?
Actually I've done that and the ._ files are still created. So nix this theory it doesn't work.
And prevent ._ files on windows shares ?
I'm actually facing the same problem, but even a littlebit worst than that.
And prevent ._ files on windows shares ?
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 were to 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).
Prevent .DS_Store file creation on UNIX shares
A better option than a veto might be a hide - that way the files are still created, but you don't see them. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.33 seconds |
|