Dusan Zatkovsky
2009-Oct-14 09:57 UTC
[Samba] How to disallow to create files with bad charracters
Hi. I would like to ask you, if it is possible to disallow to create files which contains 'bad' charracters in filenames. I have blocked filenames with national charracters by specifying unix charset = ascii, but it is still possible to create file named: "my stupid file ... . . .doc". I'd like to disallow this ( allowing only alphanums and underscore ["my_stupid_file.doc"] ). Is it possible? Thank you. -- Dusan
morgan at tuxedo.darktech.org
2009-Oct-14 12:21 UTC
[Samba] How to disallow to create files with bad charracters
On Wed 14/10/09 5:57 AM , Dusan Zatkovsky wrote: I'd like to disallow this ( allowing only alphanums and underscore ["my_stupid_file.doc"] ). Is it possible? I don't think so (at least not on Samba 3.x), but you can always access files with "bad" names via their mangled (short) name if you have filename mangling turned on. ------------------------- Message sent via Atmail Open - http://atmail.org/
Dusan Zatkovsky
2009-Oct-15 07:03 UTC
[Samba] How to disallow to create files with bad charracters
On Wednesday 14 of October 2009 14:21:52 morgan at tuxedo.darktech.org wrote:> I don't think so (at least not on Samba 3.x), but you can always > access files with "bad" names via their mangled (short) name if you > have filename mangling turned on.This is not what I am looking for. I need to have "simple and clean" ascii filenames without special charracters and spaces on linux filesystem. I don't care filenames on windows behind samba share, there should remain 'native'. -- Dusan