File_Passwd_Custom::save()

File_Passwd_Custom::save() -- Save changes

Synopsis

mixed File_Passwd_Custom::save ()

Beschreibung

Apply changes and rewrite passwd file.

Rückgabewert

Gibt bei Erfolg TRUE zurück, bei einem Fehler ein Objekt der Klasse PEAR_Error.

Tabelle 38-1. Mögliche Fehler-Arten

Error CodeSummary
FILE_PASSWD_E_DIR_NOT_CREATEDdirectory in which the passwd file should reside couldn't be created
FILE_PASSWD_E_FILE_NOT_OPENEDpasswd file couldn't be opened in write mode
FILE_PASSWD_E_FILE_NOT_LOCKEDpasswd file couldn't be locked exclusively
FILE_PASSWD_E_FILE_NOT_UNLOCKEDpasswd file couldn't be unlocked
FILE_PASSWD_E_FILE_NOT_CLOSEDpasswd file couldn't be closed

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.