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. Is there any other directive that should be used along with "veto files" directive? Thanks in advance. -- Subba Rao subb3@attglobal.net http://pws.prserv.net/truemax/
On 0, Jan Kuhn <jkuhn@siumed.edu> wrote:> try: > > hide dot files = yes > hide files = /.*/lost+found/ > > Subba Rao wrote: > > > 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. > > > > Is there any other directive that should be used along with "veto files" > > directive? > > > > Thanks in advance. > >That did not do it. The error message still continues. -- Subba Rao subb3@attglobal.net http://pws.prserv.net/truemax/
On 0, Mike Fedyk <mfedyk@matchmail.com> wrote:> Subba Rao wrote: > > > > On 0, Jan Kuhn <jkuhn@siumed.edu> wrote: > > > try: > > > > > > hide dot files = yes > > > hide files = /.*/lost+found/ > > > > > > > That did not do it. The error message still continues. > > > The problem is in the ".*" Keep "hide dot files = yes" but take out the veto > files and hide files directives. > > You are trying to hide and veto all files and directories under "." which is the > current directory, very bad stuff. ;P >The solution you suggested was the first thing I tried. Since that did not work, I went along with the "veto file" directive. The "veto files" directive worked but would not allow me to write any files to the directory. After you note, I tried it again to test it. The "hide dot files" alone does not hide the dot files. The "vet file" with the the file syntax will hide those files. -- Subba Rao subb3@attglobal.net http://pws.prserv.net/truemax/
try: hide dot files = yes hide files = /.*/lost+found/ Subba Rao wrote:> 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. > > Is there any other directive that should be used along with "veto files" > directive? > > Thanks in advance. > > -- > > Subba Rao > subb3@attglobal.net > http://pws.prserv.net/truemax/-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 1477 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.samba.org/archive/samba/attachments/20001019/50bb292c/smime.bin
Oh for goodness sake... RTFM. hide dot files = yes veto files = /AllMyFiles/.?*/ Bruce.>Subba Rao wrote: >> >> On 0, Jan Kuhn <jkuhn@siumed.edu> wrote: >> > try: >> > >> > hide dot files = yes >> > hide files = /.*/lost+found/ >> > >> >> That did not do it. The error message still continues. >> >> -- >> >> Subba Rao >> subb3@attglobal.net >> http://pws.prserv.net/truemax/ >The problem is in the ".*" Keep "hide dot files = yes" but take out the veto >files and hide files directives. > >You are trying to hide and veto all files and directories under "." which >is the >current directory, very bad stuff. ;P > >-- > >Mike Fedyk "They that can give up essential liberty >Information Systems to obtain a little temporary safety >Match Mail Productions Inc. deserve neither liberty nor safety." >mfedyk@matchmail.com Ben Franklin
Subba Rao wrote:> > On 0, Jan Kuhn <jkuhn@siumed.edu> wrote: > > try: > > > > hide dot files = yes > > hide files = /.*/lost+found/ > > > > That did not do it. The error message still continues. > > -- > > Subba Rao > subb3@attglobal.net > http://pws.prserv.net/truemax/The problem is in the ".*" Keep "hide dot files = yes" but take out the veto files and hide files directives. You are trying to hide and veto all files and directories under "." which is the current directory, very bad stuff. ;P -- Mike Fedyk "They that can give up essential liberty Information Systems to obtain a little temporary safety Match Mail Productions Inc. deserve neither liberty nor safety." mfedyk@matchmail.com Ben Franklin
Try hide dot files = yes veto files = /AllMyFiles/.?*/ Bruce. \>On 0, Mike Fedyk <mfedyk@matchmail.com> wrote: >> Subba Rao wrote: >> > >> > On 0, Jan Kuhn <jkuhn@siumed.edu> wrote: >> > > try: >> > > >> > > hide dot files = yes >> > > hide files = /.*/lost+found/ >> > > >> > >> > That did not do it. The error message still continues. >> > >> The problem is in the ".*" Keep "hide dot files = yes" but take out the >>veto >> files and hide files directives. >> >> You are trying to hide and veto all files and directories under "." >>which is the >> current directory, very bad stuff. ;P >> > >The solution you suggested was the first thing I tried. Since that did not >work, I went along with the "veto file" directive. The "veto files" directive >worked but would not allow me to write any files to the directory. > >After you note, I tried it again to test it. The "hide dot files" alone does >not hide the dot files. The "vet file" with the the file syntax will hide >those files. > >-- > >Subba Rao >subb3@attglobal.net >http://pws.prserv.net/truemax/