SSH-2.0-OpenSSH_6.6.1 & VSFTP issue

Issues related to applications and software problems
arktex54
Posts: 8
Joined: 2017/03/09 06:03:52

Re: SSH-2.0-OpenSSH_6.6.1 & VSFTP issue

Post by arktex54 » 2017/03/09 23:38:39

Anytime I apply chmod g+w to a user directory is when the sftp-server denies access. I cannot get my mind around why it denies access to SFTP when you give something a privilege; it should be the exact opposite - only deny when you take away privileges.

User avatar
TrevorH
Site Admin
Posts: 33221
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: SSH-2.0-OpenSSH_6.6.1 & VSFTP issue

Post by TrevorH » 2017/03/10 00:00:17

It's not safe so it stops you.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

arktex54
Posts: 8
Joined: 2017/03/09 06:03:52

Re: SSH-2.0-OpenSSH_6.6.1 & VSFTP issue

Post by arktex54 » 2017/03/10 02:36:18

TrevorH wrote:It's not safe so it stops you.
SELinux is already disabled, so what prevents me from doing it? It appears I need it on that ONE user directory.

User avatar
TrevorH
Site Admin
Posts: 33221
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: SSH-2.0-OpenSSH_6.6.1 & VSFTP issue

Post by TrevorH » 2017/03/10 07:20:01

Did you try my other suggestion yet?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

arktex54
Posts: 8
Joined: 2017/03/09 06:03:52

Re: SSH-2.0-OpenSSH_6.6.1 & VSFTP issue

Post by arktex54 » 2017/03/10 09:19:05

I did try the other suggestion [-d]. Thank you for that. However, it failed.

I have even done the below and also tried -m 700,750,770,777 ... not even 777 will let me create a file.

Code: Select all

Subsystem sftp internal-sftp
Match Group sftpgroup
        ChrootDirectory /ftproot/users/%u
        ForceCommand internal-sftp -m 770
        X11Forwarding no
        AllowTcpForwarding no

Post Reply