Tôi có rất nhiều thư mục và tôi muốn áp dụng một số cài đặt (ẩn tệp) cho hầu hết tất cả chúng, nhưng có 2 thư mục mà tôi muốn cài đặt khác nhau.
proftpd.conf:
<Directory /shared/A/>
  HideFiles none
  <Limit ALL>
    IgnoreHidden Off
  </Limit>
</Directory>
<Directory /shared/B/>
  HideFiles none
  <Limit ALL>
    IgnoreHidden Off
  </Limit>
</Directory>
<Directory /shared/*/>
  HideFiles "(private|\\.htaccess)$"
  <Limit ALL>
    IgnoreHidden On
  </Limit>
</Directory>
<Directory /shared/*/*/>
  HideFiles none
  <Limit ALL>
    IgnoreHidden Off
  </Limit>
</Directory>
/ shared / A và / shared / B vẫn ẩn thư mục "private" và ".htaccess".
Làm cách nào để ẩn chúng trong tất cả các thư mục, ngoại trừ "A" và "B"? Tôi muốn ẩn nó chỉ trong / shared / * /, không áp dụng thừa kế.