Linux Security
--
Questions
--
Followers
Top Experts
> cd ..
They are able to leave that directory and see the directories above them in the tree structure. Though they are unable to write to them I still see this as a bit of a problem.
How can I restrict them to there home directories but still allow them to create folders and write files in side of that jome directory.
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
http://www.engardelinux.org/howto/vsftp_howto.html
I would add that If you want to enable users to have access to any files or binaries while in a chrooted environment they have to be duplicated in the chroot jail.
Also of note, both vi and the ftp client can enable a user shell access that will bypass most chroot environments.
Hope this helps.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Linux Security
--
Questions
--
Followers
Top Experts
The Linux operating system, in all its flavors, has its own share of security flaws that allow intrusions, but there are various mechanisms by which these flaws can be removed, generally divided into two parts: authentication and access control. Authentication is responsible for ensuring that a user requesting access to the system is really the user with the account, while access control is responsible for controlling which resources each account has access to and what kind of access is permitted.