1

I have an SFTP server running on Debian. The directory is chrooted and is set up with privileges as such:

/sftp/+---testagent2----writespace 750 | 755 755 +---testagent3----writespace | 755 755 +---testagent4----writespace 755 755 

All agents can log in without issues. The problem is only testagent2 can write within his writespace, the rest cannot, even though testagent3 and testagent4 can still download files.

I have experimented with various permission settings, such as 750,755,775, and 777 but it doesn't make a difference. How can I correct this error?

2
  • Who owns the directories? Commented May 3, 2014 at 1:42
  • That was the answer! The owners never had ownership of */writespace. I am now able to write to those directories with each respected user. Are you able to turn this into an answer so I can mark it as such? Commented May 3, 2014 at 2:06

1 Answer 1

0

Given the 755 permissions, make sure that the appropriate users own their respective writespaces!

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.