nelze 'odevzdat' soubor?
Hana Skoumalova
Hana.Skoumalova na ff.cuni.cz
Úterý Duben 9 16:33:05 CEST 2002
Pokud to ještě někoho zajímá, tak na Solarisu to taky nejde a man chown
praví mj. toto:
The operating system has a configuration option
{_POSIX_CHOWN_RESTRICTED}, to restrict ownership changes.
When this option is in effect the owner of the file is
prevented from changing the owner ID of the file. Only the
super-user can arbitrarily change owner IDs whether or not
this option is in effect. To set this configuration option,
include the following line in /etc/system:
set rstchown = 1
To disable this option, include the following line in
/etc/system:
set rstchown = 0
{_POSIX_CHOWN_RESTRICTED} is enabled by default. See sys-
tem(4) and fpathconf(2).
Takže se to dá vypnout, ale defaultně je zapnutá "ochrana" uživatele
před sebou samým.
Hanka
--
Hana Skoumalova Charles University, Faculty of Arts
Institute of Theoretical
tel: +420 2 24491858 & Computational Linguistics (UTKL)
fax: +420 2 24491875 Celetna 13, 110 00 Praha 1
http://utkl.ff.cuni.cz/~skoumal Czech Republic
Další informace o konferenci Linux