WebFaction
Community site: login faq

I created a new ssh/ftp user account according to the instructions here:

http://docs.webfaction.com/software/general.html#granting-access-to-specific-users

I gave the following commands in my own bash account:

setfacl -m u:tinaztitiz:x ~
setfacl -R -m u:tinaztitiz:rwx ~/webapps/otrf/
setfacl -R -m d:u:tinaztitiz:rwx ~/webapps/otrf/
setfacl -R -m d:u:mertnuhoglu:rwx ~/webapps/otrf/
setfacl -R -m u:tinaztitiz:r ~/logs/user/

Then, I defined a symbolic link from new user's bash account:

ln -s /home/mertnuhoglu/webapps/otrf/ ~

Now, the user can see otrf in his home directory. But he can also see my own directories. I don't want him to see any directory except ~/webapps/otrf/. What should I do?

asked 26 Feb '13, 07:48

mertnuhoglu
284613
accept rate: 0%


You can open a support ticket and we can run "chmod o-r" on your $HOME/webapps directory for you. This will prevent additional SSH users from seeing the contents of that directory.

permanent link

answered 26 Feb '13, 18:47

ryans ♦♦
5.0k93160
accept rate: 43%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×62
×37

question asked: 26 Feb '13, 07:48

question was seen: 2,896 times

last updated: 26 Feb '13, 18:47

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM