Mantis - obex-data-server
Расширенный вид
492 FTP малая всегда 2010-10-28 11:44 2010-10-29 12:06
nami  
skirsdeda  
обычный  
отработан  
решен  
нет    
нет  
0000492: Client can create folder when server is set write denied
The server ftp service is set not allow devices to write/delete by Blueman,when client browses server, although create file and delete file operations are forbiddened,but client still can create folder on server folder.Is it a bug?
I think when server gets create folder request,server should check whether it allow write.
I write a patch to fix this problem. And I checked ,it worked well.
? file icon write_deny.patch [^] (2,478 bytes) 2010-10-28 11:44
история
2010-10-28 11:44 nami Новый вопрос
2010-10-28 11:44 nami Файл добавлен: write_deny.patch
2010-10-28 13:43 skirsdeda Состояние новый => назначен
2010-10-28 13:43 skirsdeda Ответственный => skirsdeda
2010-10-28 13:45 skirsdeda Комментарий добавлен: 0001398
2010-10-28 15:19 skirsdeda Комментарий добавлен: 0001400
2010-10-29 05:39 nami Комментарий добавлен: 0001401
2010-10-29 12:06 skirsdeda Состояние назначен => отработан
2010-10-29 12:06 skirsdeda Решение открыт => решен

Комментарии
(0001398)
skirsdeda   
2010-10-28 13:45   
Yes, this is a bug in a sense. It was overlooked when introducing read-only support. Thanks for a patch!
(0001400)
skirsdeda   
2010-10-28 15:19   
I commited a fix to svn. Had to rewrite the function a bit because there was a variable being used after freeing it. I would appreciate it if you could check if it still works OK and let me know. Thanks.
(0001401)
nami   
2010-10-29 05:39   
Yeah,I checked your version ,it worked well on this bug.