From: Andreas W. <And...@em...> - 2021-11-26 09:06:41
|
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 -- Dr. Andreas Wagner Project "The School of Salamanca" Academy of Sciences and of Literature, Mainz and Institute of Philosophy Goethe University Frankfurt/Main http://salamanca.adwmainz.de Grüneburgplatz 1 (Pf 116, R. 2.455) 60629 Frankfurt am Mainz Tel. +49 (0)69/798-32774 Fax +49 (0)69/798-32794 |