I'm currently setting up apache on a Linux server and need to create a new user which can log in and only edit files in a particular directory.
I currently have my website set-up as
The permissions on this are apache:apache
Now what I need to do is create a new user "joeblogs" and restrict this user to only access /data/htdocs/mywebsite/store/
The users should be able to SSH in and also SFTP, but always be directed directly to this folder, also the user should be able to have full access to the /store/ folder but not be able to see any other folders or files on the system/
Any help on this would be appreciated I have been running round in circles for hours.