From: Christian W. <cwi...@gm...> - 2021-11-26 10:59:35
|
Dear Andreas, Good point, thank you very much. Indeed 775 on collections and 664 on resources is what I will need. If I only could get it work... Juri Leino hinted that it might be an eXide issue, I am on eXide 3.2.0 and will open an issue there. All the best, Christian On 26/11/2021 17.50, Andreas Wagner wrote: > Dear Christian, dear list, > > while I cannot say anything about how eXist handles this, I would like > to point out that you probably want 775 on collections and 664 on > resources. What makes a 7 out of a 6 is the executable bit, which you > probably want on collections (like folders, you cannot "enter" without > this executable bit). On individual resources, executable queries need > the "7" or they cannot be executed by the respective user, but regular > xml files normally don't need this. What makes a 6 out of a 4 (or a 7 > out of a 5) is the writeable bit. > > This can certainly be better explained than I just did. Or you play > with different values at http://permissions-calculator.org/ ... > > Perhaps trying with other values already helps? > > Best, > Andreas > > > Quoting Christian Wittern <cwi...@gm...>: > >> Dear eXist users, >> >> I am using eXist 5.3.0, the latest released version. Without >> specific configuration, the files and collections uploaded via the >> eXide manage interface will end up with permissions >> >> -rw-r-----, or numerically 0640. I would like change this to >> -rw-rw-r--, that is numerically 0774 (I think). Now, the eXist-db >> documentation on [1] implies that this can be configured in conf.xml >> within the db-connection, such as: >> >> <db-connection cacheSize="256M" checkMaxCacheSize="true" >> collectionCache="64M" database="native" >> files="../data" pageSize="4096" nodesBuffer="1000" >> cacheShrinkThreshold="10000" >> minDiskSpace="1024M" posix-chown-restricted="true" >> preserve-on-copy="false"> >> <default-permissions collection="0774" resource="0774"/> >> ... >> >> </db-connection> >> >> I changed this and restarted the server, but the observed behavior >> does not change. What am I doing wrong? Or has this been changed? >> >> Any help appreciated, all the best, >> >> Christian Wittern >> >> >> [1] https://exist-db.org/exist/apps/doc/configuration >> >> >> >> _______________________________________________ >> Exist-open mailing list >> Exi...@li... >> https://lists.sourceforge.net/lists/listinfo/exist-open > > > |