-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow absolute path in <directory> config #103
Comments
Might lead to "chroot defect" if you apply this: one can specify another root path than the software based directory said.
On windows, the first is (as far as I know) not really possible (not simply at least), but the second works too. WDYT? |
I understand and but what about preventing absolute path when loading the configuration ? |
OK, I got it.
The first and second are ok for me. But perhaps the third (during transfer initialization) is too much? WDYT if I check only the 2 first cases, not the third one? |
This shall not be to prevent "CHROOT defect". - Configuration is checked - Rule creation or modification through DAO will checked Also includes fix and optimization of LongUuid Fix issue waarp#103
This shall not be to prevent "CHROOT defect". - Configuration is checked - Rule creation or modification through DAO will checked Also includes fix and optimization of LongUuid Fix issue #103
@marakiis Done as requested (checks) |
Currently paths in the directory group of the config files are used as follow:
serverhome + value (value among in, out, work, arch, conf)
This prevent the use of absolute path in the
value
part of the configuration.A solution would be to modify the getters of the configuration java like this:
@fredericBregier what do you think ?
The text was updated successfully, but these errors were encountered: