Shared FTP user access for a folder but restrict acces to subfolders

Blakie86

Registered
Jan 4, 2015
2
0
1
cPanel Access Level
Root Administrator
Hi, I've read many posts to try to determine if the folder permission structure that I am trying to set up is possible but I haven't found anything definitive.

I would like to make a folder containing images available to a number of FTP users. But I would like to create subfolders within that folder that are restricted to certain users.

eg. The initial folder for each FTP user would be /images.

But the subfolders would be secured:
/images/account01 accessed only by FTP user [email protected]
/images/account02 accessed only by FTP user [email][email protected]
/images/account03 accessed only by FTP user [email][email protected]
/images/account03 accessed only by FTP user [email][email protected]

We have tried to configure this but the subfolders always seem to be accessible by all FTP users who have access to the parent folder.

Any help would be most appreciated.

Thanks.
 

MilesWeb

Well-Known Member
PartnerNOC
May 23, 2012
173
2
68
India
cPanel Access Level
Root Administrator
Twitter
As the folders starting with account are under sub folder images, it won't be possible to restrict it. It is because you have already provided access to images folder to these FTP accounts.
 

Blakie86

Registered
Jan 4, 2015
2
0
1
cPanel Access Level
Root Administrator
As the folders starting with account are under sub folder images, it won't be possible to restrict it. It is because you have already provided access to images folder to these FTP accounts.
Thank you for your guidance milesgeek. I was afraid that would be the answer.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
Hello :)

You could create individual FTP accounts and only grant those accounts access to a specific subdirectory, however as mentioned, you can't grant access to a higher level directory and then limit access to directories beneath it.

Thank you.