Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section FTP Server
  • Search

FTP user and group ubuntu - password not working

Questions regarding the FTP Server
vsFTPd, ProFTPd
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
webass
Posts: 86
Joined: Sat Nov 15, 2014 1:16 am
Contact:
Contact webass
Skype

Os: Ubuntu 15x
Web: nginx + php-fpm
FTP user and group ubuntu - password not working
  • Quote

Post by webass » Fri Aug 26, 2016 12:12 pm

Hello, I want to achieve, that FTP users I give access to only presentation media, not are able to delete files.

How can I do this?

Thx.
Andre

P.S.: I tried to set over the shell console (ubuntu) an ftp admin and a user and the user to a group, and then moved the files to the place where I wanted them to be, gave chown to the user group and all looked fine.
But the user cannot enter with the given password.
Tried also to re-change it on shell, but doesnt work over filezilall to loign as user
Top

webass
Posts: 86
Joined: Sat Nov 15, 2014 1:16 am
Contact:
Contact webass
Skype

Os: Ubuntu 15x
Web: nginx + php-fpm
Re: FTP user and group ubuntu - password not working
  • Quote

Post by webass » Tue Aug 30, 2016 11:30 am

I observed, that when I copy files as root user in shell over to a folder in a web users directory, they get 0:0 as user:group.
But still when the webuser logs into FTP with the credentials created as FTP user in panel, the user CAN delete what belongs to root.

How can I avoid this?
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: FTP user and group ubuntu - password not working
  • Quote

Post by mehargags » Tue Aug 30, 2016 12:45 pm

chown -R root:root: <dirpath> should let the user's see (Read) the files but not Change/Delete
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “FTP Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password