This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

FTP ro/wo/full access
#1
FTP ro/wo/full access
HI,

Testing ftp user modes ( ro, wo, full access ) on Sentora ( Centos7 ) created within my resellers "admin" account.
Proftpd is accepting connections with process started as nobody user, when connection is established seems that he fork with apache user, that seems little strange i guess -->

nobody 8545 0.0 0.4 197000 2264 ? Ss 00:05 0:00 proftpd: (accepting connections)
apache 8558 0.0 0.9 275404 4736 ? S 00:06 0:00 proftpd: novi2 - X.X.X.X IDLE

Then we come to this part, dirs are acctualy created with 777 permissions -->

drwxrwxrwx 2 apache apache 4096 Mar 6 00:07 novi2

Then ro, wo, and full access set through panel are acctualy full access.

I check database and there is a set uid i gid for apache -->

| 4 | novi2 | xxxxxxxxxx | 48 | 48 | /var/sentora/hostdata/admin/novi2

Well this could be the way proftpd handle user permmissions, changing effective uid of forked process into one set in the database. Still 777 permisions on created dirs overrun this.

Can someone comment this observation, i do not exclude the possibility that something is not configured well on my side ?

Regards,
Stefan
Thanks given by:


Messages In This Thread
FTP ro/wo/full access - by StefanMNS - 03-06-2015, 09:35 AM
RE: FTP ro/wo/full access - by Me.B - 03-06-2015, 09:16 PM
RE: FTP ro/wo/full access - by StefanMNS - 03-07-2015, 01:00 AM
RE: FTP ro/wo/full access - by StefanMNS - 03-07-2015, 04:21 AM
RE: FTP ro/wo/full access - by Me.B - 03-07-2015, 06:33 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
How to setup ftp to access only certain folders? nomis56 4 16 ,265 10-03-2017, 07:22 PM
Last Post: FayeArmistead
ROOT FTP ACCESS Ubuntu 14.03 Server OpenApp 3 15 ,364 06-12-2016, 06:37 AM
Last Post: Ludaking
how to access root ftp? wormsunited 16 49 ,944 04-01-2015, 03:05 AM
Last Post: wormsunited

Forum Jump:


Users browsing this thread: 1 Guest(s)