On 11/30/09 14:23, Dr. Martin Mundschenk wrote:
Hi!

Is it possible to hide unix invisible .files in CIFS shares, so windows users 
won't see these files?

        find . -name '\.*' -type f -exec chmod S+cH {} \;

If you want to see the files on which the hidden attribute is
being set:

        find . -type f -name '\.*' -exec chmod S+cH {} \; -print

To see the DOS attributes on a '.' file (H = hidden):

        ls -a/c

        -rw-r--r--   1 root  root  0 Nov 30 18:42 .test
                {AH-----m--}

More details are available in the ls(1) and chmod(1) man pages.

Alan

_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss

Reply via email to