If I search for "filestore" in the script I give you the link, it is not in the script. This means the directory is created by openerp. If I search in the source of the server: $ cd /usr/lib/python2.5/site-packages/openerp-server $ sudo grep -i -R --include=*.py 'oppor' ./ It shows that most probably it is located in addons/document/document.py. In it, there is in _data_set: path = self._get_filestore(cr) if not os.path.isdir(path): try: os.makedirs(path) except: raise except_orm(_('Permission Denied !'), _('You do not permissions to write on the server side.')) This means that the document module, each time you want to write an attachment file , it checks if the directory exist and if not it create it. If it cannot, then you should have an error in your log file. >From your first post, it seems it is the case. Your issue is probably that the user you use to launch openerp-server.py has not the right to create directories in the server directory. In the console, you can try manually by CD to to that directory and try to create a directory with this user.
Post from Quentin was pointing exactly your issue. So if you currently have checked that the user starting the server has the right to create directory in the server directory, you just need to add an attachment from within openerp client and then the document module will create that directory if it see that it don't exist. If you get an error as in your first post, it means that the user right are not solved. By my install, the openerp-server deamon is strarted (/etc/init.d) using an user 'openerp'. It is this user that is the owner of the folder: /usr/lib/python2.5/site-packages/openerp-server where is my server. Hope it helps. -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=56297#56297 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users
