Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How do I give a user certain read/write permissions?

share|improve this question

closed as not a real question by quanta, Iain, mailq, Shane Madden, Scott Pack Oct 4 '11 at 2:06

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
to a specific directory? –  quanta Oct 3 '11 at 6:20
    
possible duplicate of FTP and Apache permission issues –  quanta Oct 3 '11 at 6:32
    
possible duplicate of serverfault.com/questions/115648/… –  mailq Oct 3 '11 at 9:24

2 Answers 2

On UNIX, users have read/write permissions by default in their home directories. If that's not working, we need to know more (eg, what's the username, and what's the output of ls -la ~user). If instead you want to give a user write permissions elsewhere, we need to know where, and who else you want to have read/write permissions on that other location.

share|improve this answer
    
I am setting up one my users on my amazon ec2 server to have ftp access and I can't seem to delete/add files to it's own directory –  David Meyer Oct 3 '11 at 6:23
    
So, as I already asked, could you give us the output of ls -al ~user? Also, your question asked about giving an ssh user r/w permissions, but already you're suggesting that the problem occurs under ftp, which is a completely different service. Might I suggest you also take a moment to phrase your question more carefully? Tell us a lot more about what you're doing, and what the results are? –  MadHatter Oct 3 '11 at 6:35

If multiple users need permission to the same set of files you will want add that user to the group that has permissions. Which OS and structure of the filesystem are you working with?

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.