I need to use a NAS to stock data (from personal git and other type of service).

7777 is very permissive but it seems that the 0640 actually in use is not enough to works correctly with the services.

Also, I would like to know if this NAS could be encrypted to improve its security.

This NAS is used for internal package mirror and git repository

model: FreeNAS

closed as too broad by Matthew, Xander, John Deters, Steffen Ullrich, Rory Alsop Feb 11 '17 at 19:26

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    This is too broad. How can anyone give a meaningful anwer as to which access permission mask to set on the files without knowing how the NAS manages users and services, and which services are in use? You need to give much more specific information about the NAS you're using. – Out of Band Nov 27 '16 at 10:54
  • You are right Pascal, I bring some more informations – aurelien Nov 27 '16 at 11:01
  • @Pascal do you need something more? – aurelien Nov 27 '16 at 11:01
  • 2
    Yes, this is still way too broad. If this NAS is a commercial product, you need to provide us with the exact model so people who have experience with it can answer your question. If you built it yourself, you need to explain whether the services you are using run under their own user and group ids, which os you're using (to determine what kind of encryption is supported) and so on. – Out of Band Nov 27 '16 at 11:13
  • 2
    doc.freenas.org/9.3/freenas_storage.html#encryption This seems fairly clear to me. Do you have specific questions about it? You will never get a satisfactory answer if you aren't specific with your questions. – Nstr10 Dec 5 '16 at 20:01