[linux] permissions

Andrej Hosna andrej.hosna na iblsoft.com
Pondělí Říjen 13 09:26:44 CEST 2003


On Monday 13 October 2003 09:15 am, Matus UHLAR - fantomas wrote:
> On 11.10 23:05, Jozo Botka wrote:
> > Chcem sa opytat ako zmenim jednym prikazom, alebo co napisat do
> > /etc/fstab, aby som zmenil "permissions" suborov na 644, ale len suborov,
> > nie adresarov. Pytam sa preto, lebo ked vo fstab zadam umask=0133, tak to
> > zamietne automaticky pristupy do vsetkych adresarov...
>
> neda sa to. pre fatku pouzivam hack zvany showexec, ktory nastavi x bit iba
> na .exe .com (a mozno este daco)
> ale rad by som to privital.
       umask=value
              Set  the  umask  (the  bitmask  of  the permissions that are not
              present). The default is the umask of the current process.   The
              value is given in octal.

       dmask=value
              Set  the  umask applied to directories only.  The default is the
              umask of the current process.  The  value  is  given  in  octal.
              Present since 2.5.43.

       fmask=value
              Set the umask applied to regular files only.  The default is the
              umask of the current process.  The  value  is  given  in  octal.
              Present since 2.5.43.
[1] man mount
-- 
Andrej HOSNA (Andrej.Hosna na iblsoft.com) 
IBL Software Engineering, http://www.iblsoft.com 
Stare Zahrady 35, 82105 Bratislava, Slovakia 
Tel: +421-2-43427449, fax: +421-2-43427214




Další informace o konferenci linux