RE: [Samba] Files are showing up as hidden when view from windows ...

2002-10-12 Thread Schoep, Grant @ STORM



>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 :-(


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


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Files are showing up as hidden when view from windows ...

2002-10-12 Thread Malte Starostik
On Saturday 12 October 2002 19:51, [EMAIL PROTECTED] 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 = no
map 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";

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Files are showing up as hidden when view from windows ...

2002-10-12 Thread Schoep, Grant @ STORM
>All but the first of these defaults to off. Now this makes me wonder why
map 
>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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Files are showing up as hidden when view from windows ...

2002-10-12 Thread Malte Starostik
On Saturday 12 October 2002 20:04, [EMAIL PROTECTED] wrote:
> >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 :-(
>
> Ah thanks, I've set it now. Everyone here is most a UNIX user so they
> assume thats the way to make them hidden.
Good.

> 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.
There are three options for X-bits:
"map archive" maps the owner x-bit to the DOS "archive" attribute
"map hidden" maps the world x-bit to the DOS "hidden" attribute
"map system" maps the group x-bit to the DOS "system" attribute

All but the first of these defaults to off. Now this makes me wonder why map 
hidden seems to have been in effect for you. Was it set to yes/true in the 
global section?

Regards,
-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";

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Files are showing up as hidden when view from windows...

2002-10-12 Thread Schoep, Grant @ STORM



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: '[EMAIL PROTECTED]'
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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba