Hi guys,
As written before we use NetApp on Linux with NFS and CIFS for Windows, so far so good. One remaining problem is that Windows-Users keep seeing the dot-files (.gnome or whatever), which is a bit disturbing for the normal user. I thought there are some flags I can set that those files are shown as hidden files on Windows, but I couldn't find anything useful in the docs.
Anyone knows how I can do that (if at all)? Again, OnTap at the moment is 6.5.4
cu
Adrian
Hi guys,
As written before we use NetApp on Linux with NFS and CIFS for Windows, so far so good. One remaining problem is that Windows-Users keep seeing the dot-files (.gnome or whatever), which is a bit disturbing for the normal user. I thought there are some flags I can set that those files are shown as hidden files on Windows, but I couldn't find anything useful in the docs.
Anyone knows how I can do that (if at all)? Again, OnTap at the moment is 6.5.4
We set the hidden bit on dot files from Unix using smbclient.
setmode filename +h
We are using unix style file security, so we login to smbclient as the Unix root user.
To do this in bulk, I suggest building a file of setmode commands and using it as input to a single smbclient session, which is very fast.
Steve Losen scl@virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support
On Tue, 06 Sep 2005 16:22:34 +0200, Adrian Gschwend wrote:
As written before we use NetApp on Linux with NFS and CIFS for Windows, so far so good. One remaining problem is that Windows-Users keep seeing the dot-files (.gnome or whatever), which is a bit disturbing for the normal user. I thought there are some flags I can set that those files are shown as hidden files on Windows, but I couldn't find anything useful in the docs.
Anyone knows how I can do that (if at all)? Again, OnTap at the moment is 6.5.4
Thanks to the feedback by Mats and G. it is resolved:
options cifs.show_dotfiles off
does exactly what I need
thanks!
cu
Adrian