Article 4TKAG help with tur-request

help with tur-request

by
alinghi
from LinuxQuestions.org on (#4TKAG)
Hi again,

trying to get tur-request (https://github.com/PCFiL/tur-request/blob/master/README) to work on my glftpd.

followed the installation tutorial from the link, until:

# Will create a .requests file (definable) and optionally the #

# directories (REQ-Release and FILLED-Release).

# reqfile = File to store requests in. You can put this in ....#

# Make sure this file exists and has perms so #

# anyone can write to it.

The file wasn't created automatic, so I created a .requests file and put it on my requests folder (/mnt/ftp/requests)

gave it right perms with the cmd

chmod 777 /mnt/ftp/requests/.requests

The file exists at the requests dir:

root@debian:/mnt/ftp/requests# ls -la
total 12
drwxrwxrwx 3 root root 4096 Nov 3 03:04 .
drwxr-xr-x 10 root root 4096 Nov 2 20:11 ..
drwxrwxrwx 2 root root 4096 Nov 2 20:11 _filled
-rwxrwxrwx 1 root root 0 Nov 3 03:04 .requests
root@debian:/mnt/ftp/requests#

But when I try to create a folder there, I got the same error everytime:

[R] site request somefolders.s01.e01-req
[R] 200- Can not find /site/REQUESTS/.requests. Create it and set proper perms on it (777)
[R] 200 Command Successful.

What i'm doing wrong ? how can I fix this ?

ps: here is my tur-request.conf settings:

https://pastebin.com/p5vnNnBK

PS1: fixed those errors, but got a new ones now:

[R] 200- cat: /site/requests/_filled: Is a directory
[R] 200- cat: /site/requests/_filled: Is a directory
[R] 200- Ok, [ 1:] site request test-req added to requests.
[R] 200- Error: Can not write to tur-request.log. Create and set chmod 666.
[R] 200- /bin/tur-request.sh: line 974: /site/requests/_filled: Is a directory

I have created tur-request.log at /jail/glftpd/bin

chmod 666 tur-request.log

-rw-rw-rw- 1 root root 0 Nov 3 03:57 tur-request.log

PS2: can't fix this error

https://pastebin.com/T2TiExhD

of course the folder exists

root@debian:/jail/glftpd/site/requests# ls -la
total 16
drwxrwxrwx 4 root root 4096 Nov 3 04:12 .
drwxr-xr-x 10 root root 4096 Nov 2 20:11 ..
drwxrwxrwx 2 root root 4096 Nov 2 20:11 _filled
drwxrwxrwx 2 root root 4096 Nov 3 04:12 FILLED
-rwxrwxrwx 1 root root 0 Nov 3 03:04 .requests
root@debian:/jail/glftpd/site/requests#latest?d=yIl2AUoC8zA latest?i=Zgy9bXWXToE:wXKsnlfu5fg:F7zBnMy latest?i=Zgy9bXWXToE:wXKsnlfu5fg:V_sGLiP latest?d=qj6IDK7rITs latest?i=Zgy9bXWXToE:wXKsnlfu5fg:gIN9vFwZgy9bXWXToE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments