[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
pristupova-prava-pomoci-acl [2014/03/18 08:34]
zeman Rekurzivní přidělování práv.
pristupova-prava-pomoci-acl [2014/05/25 11:25]
zeman Jak odebrat právo zápisu.
Line 19: Line 19:
  
 <code bash>$ ls -l nejaky-soubor <code bash>$ ls -l nejaky-soubor
--rw-r-----+ 1 janicek ufal_ext 0 2008-06-26 22:14 nejaky-soubor</bash>+-rw-r-----+ 1 janicek ufal_ext 0 2008-06-26 22:14 nejaky-soubor</code>
  
 Pro lepší výpis práv musíme použít ''getfacl'': Pro lepší výpis práv musíme použít ''getfacl'':
Line 49: Line 49:
 <code bash>find -type d -exec setfacl -m g:ufal_ext:rx {} \; <code bash>find -type d -exec setfacl -m g:ufal_ext:rx {} \;
 setfacl -R g:ufal_ext:r *</code> setfacl -R g:ufal_ext:r *</code>
 +
 +===== Jak odebrat rekurzivně právo zápisu pro kohokoli? =====
 +
 +Revoking write access from all groups and all named users (using the effective rights mask):
 +
 +<code bash>setfacl -R -m m::rx .</code>
 +

[ Back to the navigation ] [ Back to the content ]