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.

If CMOD 755 is not possible and 767 is not either, what is the next best permission? So far I have checked 775 and it works, but is it safe? It is an upload directory and the only people uploading to it are a select few of admins (ie not worries with them).

share|improve this question
1  
what are you trying to accomplish? –  Zypher Oct 4 '10 at 0:03

2 Answers 2

up vote 1 down vote accepted

If you have a several users in the same group that need to write the directory, then yiou want 770 or 775. (Which should apply to your admins.) Use 770 if you only want the group to be able to read the directory. If you want all users to be able to read the directory use 775. Chgrp the directory to a group that only the admins belong to.

share|improve this answer
    
BillThor is correct. If you only want people in a select group to access the directory then the last number - the "world" - should be 0. –  David M Williams Oct 4 '10 at 4:27

767 seems odd. is that person RWX, Group RW, anyoen RWX. That doesn't seem like it would work because everyone has higher permissions than your group.

Im assuming your talking 1) about a directory in which case execute means search 2) that all these admins are seperate users but in the same group.

in which case 775 might be what you want.

You read/write/search dir You freinds read/write/search dir everyone else can only read/search dir.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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