WebFaction
Community site: login faq

I wanna give read access to my developers on the webapps folder, so that don't have to ssh only in their application folder. But I can't do it. Is there a way?

asked 09 Apr, 13:58

avalsorya's gravatar image

avalsorya
111
accept rate: 0%


You can grant access to applications to specific users following the instructions here.

You could modify step 3 in that documentation to grant read access to the directories within webapps like this:

setfacl -m u:secondary_username:r-- $HOME/webapps/*

You can't make any changes to $HOME/webapps itself. When connecting via SSH, your users will start in their home directories. Your users can make navigating to specific areas easier by creating symbolic links in their home directories. For example, if user2 uses /home/user1/webapps/name_of_app frequently, he could run this command in his own home directory:

ln -s /home/user1/webapps/app_name app_name

Then, instead of using:

cd /home/user1/webapps/app_name

to change to the application's directory, the user could enter:

cd app_name

I hope this helps!

permanent link

answered 09 Apr, 15:39

maryh's gravatar image

maryh ♦♦
1.2k6
accept rate: 36%

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:

×25
×23
×14

question asked: 09 Apr, 13:58

question was seen: 162 times

last updated: 09 Apr, 15:39

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2016 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