This has been fixed in update: chown share_seafile by an enviroment var by wacmkxiaoyi · Pull Request #387 · haiwen/seafile-docker · GitHub