herve_02
(herve_02)
December 15, 2025, 10:46am
1
as shown here : Attachement with proteus
when you deal with protheus and sao for attachments (in the file systems) the system rights management cannot permit tryton-sao to manage tryton-proteus files.
we could use a cron task to change recursively owners but it is so bad practice. Is there a way somewhere to tell tryton-sao to be able to manage tryton-protheus files ?
herve_02
(herve_02)
December 15, 2025, 10:58am
2
i solved it.
tryton must be in the user using protheus group
herve_02
(herve_02)
December 15, 2025, 12:45pm
3
there is still a problem when the file you want to create must be in a directory created by tryton
herve_02
(herve_02)
December 15, 2025, 1:21pm
4
well the solution is not so simple
tryton-server must run under another-group
in /usr/lib/systemd/system/tryton-server.service
set tryton’s group with the one you want to share attachments
[Service]
User=tryton
Group=THE_GROUP
let directories created be rwx for the group
setfacl -m “default:group::rwx” /var/lib/tryton
setfacl -m “default:group::rwx” /var/lib/tryton/tryton
for directories already created
hmod -R g+x /var/lib/tryton
chmod -R g+w /var/lib/tryton
restart tryton server
system
(system)
Closed
December 16, 2025, 1:22pm
5
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.