|
From: TJ S. <tj...@ca...> - 2010-07-26 21:10:53
|
> Directories into "data/" have the good rights but not the "data/" > directory itself, like, I had done "/home/user/monsite/*/data/*" > > here the commands I did[3] and the result, and below, log debug server > side[4], client side[5] and conf file[6] > > 3.http://file.mistur.org/proftpd/command_result.log > 4.http://file.mistur.org/proftpd/serveur-debug.log > 5.http://file.mistur.org/proftpd/client-debug.log > 6.http://file.mistur.org/proftpd/proftpd.conf > > the default umask is 027 and the custom umask is 007. > > /home/user/monsite/dir1/data should have rwxrwx---, isn't it ? > > cf [1] : "Then that Umask value will be used within the > "/path/to/dir/subdir/" directory as well." > > to match only subdir, I should add "/* at the end. > > cf [1] "applies the section's configuration directives only to the > contents of dir, not to the directory itself." > > and > > /home/user/monsite/dir2/dir22/data/dir221 souldn't have rwxrwx--- > > cf [1] : "since * does not expand to some/other/ or /some/other/level/; > they cover multiple levels." > > maybe I misunderstand the doc, but if not maybe it's a bug in the > interpretation of the regexp. I tracked this down; turns out to be a bug in how proftpd is matching the given path against the various <Directory> patterns. I've opened a bug report for this: http://bugs.proftpd.org/show_bug.cgi?id=3491 Cheers, TJ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The more we study, the more we discover our ignorance. -Percy Bysshe Shelley ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |