Re: [SLUG] Samba - veto files directive

2000-10-20 Thread Subba Rao

On  0, Patrick Mougin <[EMAIL PROTECTED]> wrote:
> Hi there,
> 
> > The syntax is as follows,
> >
> > veto files = /.*/
> >
> Here's a possible solution: if that is a regex you're trying to specify, i
> can see the problem. Basically, if you type just .* for the regex, it'll
> match _every_ file it comes into contact with. An alternative to try out
> would be this:
> 
> veto files = /^\..*/
> 
> That should match a dot at the beginning of the line and then anything else
> for the rest.
> 

Thanks for replying. I did the following,

hide dot files = yes
veto files = /.?*/

and it works. This hides the dot files and allows me to write to the Samba
server.

-- 

Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Samba - veto files directive

2000-10-20 Thread Patrick Mougin

Hi there,

> The syntax is as follows,
>
> veto files = /.*/
>
Here's a possible solution: if that is a regex you're trying to specify, i
can see the problem. Basically, if you type just .* for the regex, it'll
match _every_ file it comes into contact with. An alternative to try out
would be this:

veto files = /^\..*/

That should match a dot at the beginning of the line and then anything else
for the rest.

> Thanks in advance.
>
> Subba Rao
> [EMAIL PROTECTED]
> http://pws.prserv.net/truemax/
>

Hope this helps you out,

Patrick



--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



[SLUG] Samba - veto files directive

2000-10-19 Thread Subba Rao


Hi,

I have used the "veto files" flags for my users home directory shares.
The syntax is as follows,

veto files = /.*/

This is to hide all the dot files in the samba client.
I stoped and restarted samba and sure enough the dot files do not get listed.

One problem that has showed up is, when I try to save a file from the samba
client (windows system) to the samba server, I get the "Error Copying File" 
message box,

"Cannot copy xyz:A file with the name you specified already exists. Specify
a different filename"

This happens to any file that I am trying to move to the samba server.

I have already tried "hide dot files" directive and that does not hide the
files.

Is there any other directive that should be used along with "veto files" 
directive?

Thanks in advance.

-- 

Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug