Open tuaris opened 3 years ago
Here is a ktrace for v2.6.0 showing the path is being resolved correctly
18303 owncloud RET fstatat 0
18303 owncloud CALL access(0x809a11af8,0<F_OK>)
18303 owncloud NAMI "/usr/local/etc/ownCloud/sync-exclude.lst"
18303 owncloud RET access 0
18303 owncloud CALL write(0x1f,0x80763fa58,0x7c)
18303 owncloud GIO fd 31 wrote 124 bytes
"01-18 14:25:08:637 [ info sync.configfile ]: Adding system ignore list to csync: "/usr/local/etc/ownCloud/sync-exclude.lst"
I was able to work around the problem by passing -DSYSCONF_INSTALL_DIR="${PREFIX}/etc"
to the cmake args. (where PREFIX is an env usually set to /usr/local
).
This wasn't necessary in any previous versions, but it's fine if it required going forward.
This issue was marked stale because it has been open for 30 days with no activity. Remove the stale label or comment or this will be closed in 7 days.
I am upgrading the owncloudclient FreeBSD port from v2.6.0 to v2.7.4 and I am receiving an error saying ownCloud "Could not read system exclude file".
Expected behavior
ConfigFile::excludeFileFromSystem()
should return/usr/local/etc/ownCloud
Actual behavior
ConfigFile::excludeFileFromSystem()
is returningetc/ownCloud
Steps to reproduce
Client configuration
Client version: 2.7.4
Operating system: FreeBSD
OS language: English
Logs
Ktrace shows that it is resolving to a relative path: