Schoep, Grant @ STORM
2002-Oct-12 17:52 UTC
[Samba] Files are showing up as hidden when view from windows ...
Well I started digging into it, and it seems its making executables show up as hidden. Which seems really odd, here's an ls -l from my Solaris machine... -rw-r--r-- 1 iacm staff 0 Oct 12 11:10 notHidden -rwxr-xr-x 1 iacm staff 0 Oct 12 11:09 showsUpHidden The file names describe which one is which. If I did a chmod 755 on notHidden, it would then show up hidden. Any clues to why this is happening? It doesn't seem to be on all our shares... but from one share in particular... its smb settings are [home] comment = Home directories browseable = yes path = /home public = yes writeable = no printable = no -----Original Message----- From: Schoep, Grant @ STORM [mailto:GSchoep@storm.l-3com.com] Sent: Thursday, October 10, 2002 3:10 PM To: 'samba@lists.samba.org' Subject: [Samba] Files are showing up as hidden when view from windows... I have a string occurance one one machine. We have a Solaris 2.6 machine, running Samba 2.2.4. When going through the files from my Win2000 SP3 machine, I see some files are showing up as hidden. When I copy them over to my machine, they stay marked as hidden files. I can't figure out what is making it think these files are hidden. They don't have a . prefix or anything. Any clues? -grant -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Malte Starostik
2002-Oct-12 18:00 UTC
[Samba] Files are showing up as hidden when view from windows ...
On Saturday 12 October 2002 19:51, GSchoep@storm.l-3com.com wrote:> Well I started digging into it, and it seems its making executables show up > as hidden. Which seems really odd, here's an ls -l from my Solaris > machine... > > -rw-r--r-- 1 iacm staff 0 Oct 12 11:10 notHidden > -rwxr-xr-x 1 iacm staff 0 Oct 12 11:09 showsUpHidden > > The file names describe which one is which. > > If I did a chmod 755 on notHidden, it would then show up hidden.It's because of the map hidden config option. You can add map hidden = no as below. The downside is that you then cannot make any file in the homedir share hidden except by making it a dotfile :-(> Any clues to why this is happening? It doesn't seem to be on all our > shares... but from one share in particular... > > its smb settings are > [home] > comment = Home directories > browseable = yes > path = /home > public = yes > writeable = no > printable = nomap hidden = no -Malte -- #!/usr/bin/perl $t='char|short|int|long|void';%m=qw(U "unsigned\040$3" W "w$3_t");while(<>) {/#define UNICODE/and$m{T}=$m{W};s/\b(LP)?([UWT])?($t)\b/lc(eval$m{$2}||$3) .($1?'*':'')/gei;print;}print"/* Cleaned by Malte's WinAPI sanitizer */\n";
Schoep, Grant @ STORM
2002-Oct-12 18:05 UTC
[Samba] Files are showing up as hidden when view from windows ...
>It's because of the map hidden config option. You can add map hidden = noas>below. The downside is that you then cannot make any file in the homedir >share hidden except by making it a dotfile :-(Ah thanks, I've set it now. Everyone here is most a UNIX user so they assume thats the way to make them hidden. Question, what was making them show up as hidden? The fact that they were executable? Since some files did not show up hidden, just the executable ones. -grant
Schoep, Grant @ STORM
2002-Oct-12 18:23 UTC
[Samba] Files are showing up as hidden when view from windows ...
>All but the first of these defaults to off. Now this makes me wonder whymap>hidden seems to have been in effect for you. Was it set to yes/true in the >global section?Yes, it was in the global area. I pulled it out. The person who set up Samba on our network years ago probably put it in there while trying to get it to work. He even commented the setting sith something that didn't make sense at all... something like "make the service hidden". Probably just a case of assuming a flag did somethign else... -grant
Possibly Parallel Threads
- 3 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_function.c test/trace
- multi-homed samba PDC and NetApp filers
- should dir(all=TRUE) return "." and ".."?
- [LLVMdev] [RFC] What options should be hidden/not-hidden for opt command
- [LLVMdev] [RFC] What options should be hidden/not-hidden for opt command