summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 1.2.311.2.31Colin Guthrie2014-12-211-1/+1
|
* Make the is_real_(user|group) functions take just a nameColin Guthrie2014-11-171-13/+16
| | | | | | | | | While this may cause a few unnecessary getpwnam/getgrnam calls this makes the API much simpler for using externally and means we cannot be called with bogus information for u/gid, homedir and shell and such like. mga#14346
* Add an is_real_group APIColin Guthrie2014-11-171-1/+27
| | | | | | | | | | | | | This is similar to the is_real_user() API added in the previous commit and will be useful in higher level code which might need to filter the display appropriately. Here we use the heuristic that if the GID is in the range 500-999 then we check to see whether the group is the primary group of a user with the same name (and the user is considered a 'real' user) or that the group has any member who is considered 'real'. mga#14346
* Fix list_users() to filter on new uid range.Colin Guthrie2014-11-171-5/+21
| | | | | | | | | | | | | | | The first assigned uid has now changed to 1000 (from 500) to fall in line with most other distros. This number seems hardcoded in a few places to try to do a little bit of refactoring and add a new exported function, is_real_user(), to try and centralise this logic a little. This should ultimately fix the likes of drakboot's autologin user list. mga#14346
* whereis_binary: shows bogus callerThierry Vignaud2014-06-211-1/+2
|
* 1.2.301.2.30Thierry Vignaud2014-05-061-1/+1
|
* document that typeFromMagic() accepts function refsThierry Vignaud2012-12-071-0/+9
|
* refresh example in docThierry Vignaud2012-04-041-1/+1
|
* use an explicit glob() in order to make perl_checker not to pukeThierry Vignaud2012-04-021-1/+1
|
* perl_checker cleanupsThierry Vignaud2012-04-021-2/+3
|
* enable perl_checker to run hereThierry Vignaud2012-04-021-0/+1
|
* kill comment obsolet since long...Thierry Vignaud2011-12-191-2/+0
|
* 1.2.291.2.29Thierry Vignaud2011-09-141-1/+1
|
* fix namepsace in docThierry Vignaud2011-09-141-0/+1
|
* 1.2.281.2.28Olivier Blin2011-04-121-1/+1
|
* substInFile: fix writing to zero-sized or nonexistent files (#460),Olivier Blin2011-04-121-3/+7
| | | | | | | eof does not seem to return true anymore for filehandles vivified through select (behavior change seems introduced by upstream perl commit 32e653230c7ccc7fa595b1ab68502c6eb66ff980)
* Synthesized commit during git-svn import combining previous Mandriva history ↵Mageia SVN-Git Migration2011-04-122-1/+3
| | | | | | | | | | | | with Mageia. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r870 | blino | 2011-04-12 00:22:14 +0100 (Tue, 12 Apr 2011) | 1 line import perl-MDK-Common ------------------------------------------------------------------------
* 1.2.27:1.2.27Eugeni Dodonov2011-02-022-2/+54
| | | | | | - added cp_afx option for copying files without crossing file systems
* Revert previous commit, easier to do it elsewhere.Eugeni Dodonov2011-02-022-7/+2
|
* 1.2.27:Eugeni Dodonov2011-02-022-2/+7
| | | | | | - add cp_afx command
* 1.2.26.11.2.26.1Thierry Vignaud2010-10-241-1/+1
|
* perl_checker cleanupsThierry Vignaud2010-10-241-2/+2
|
* append_to_file: better error message making easier to pinpoint actual place ↵Thierry Vignaud2010-10-241-1/+1
| | | | of error
* (substInFile) typo fixThierry Vignaud2010-10-241-1/+1
|
* 1.2.261.2.26Thierry Vignaud2010-07-201-1/+1
|
* (if_, if__) make easier to debug (#60153)Thierry Vignaud2010-07-201-2/+2
|
* (if__) more precise exception messageThierry Vignaud2010-07-201-1/+1
|
* preserve sockets and pipes in cp_af1.2.25Pascal Terjan2010-06-022-2/+2
|
* fix whereis_binary to work on absolute symlinks inside chroot1.2.24Pascal Terjan2010-01-122-2/+22
|
* Release 1.2.231.2.231.2.22Pascal Terjan2009-12-141-1/+1
|
* get available size of requested partition not / in dfPascal Terjan2009-12-141-1/+1
|
* 1.2.22Thierry Vignaud2009-12-011-1/+1
|
* use a more portable df()Thierry Vignaud2009-10-071-11/+3
|
* Update commentPascal Terjan2009-10-071-1/+1
|
* substInFile: do not unlink the symlink to recreate it later to the same targetPascal Terjan2009-10-071-4/+0
|
* 1.2.211.2.21Thierry Vignaud2009-10-071-1/+1
|
* (substInFile) call fsync() when editing a non empty fileThierry Vignaud2009-10-071-0/+2
|
* (substInFile) ensure we kept old file as file.bak until we wrote new fileThierry Vignaud2009-10-071-1/+2
|
* fix df on mips, statfs structure is different from x86 (from Arnaud Patard)Olivier Blin2009-10-071-1/+7
|
* 1.2.201.2.20Aurélien Lefebvre2009-08-131-1/+1
|
* - Call fsync after writing to ensure that files are writtenAurélien Lefebvre2009-08-131-3/+4
|
* 1.2.19Eugeni Dodonov2009-06-091-1/+1
|
* Correctly handling '#' when loading shell variables (#50670, #51457).Eugeni Dodonov2009-06-091-3/+3
|
* decode ' inside '' properly in getVarsFromShPascal Terjan2009-04-142-2/+7
|
* add spaces to please perl_checkerPascal Terjan2009-03-111-3/+3
|
* - quote correctly ' inside ''Pascal Terjan2009-03-111-1/+1
|
* protect various chars in setExportedVarsInSh and setExportedVarsInCshPascal Terjan2009-03-102-13/+15
|
* - protect ;<>&#[]~{}*? in setVarsInShPascal Terjan2009-02-022-2/+2
|
* protect parenthesis in setVarsInSh and drop dead code (#47298)Pascal Terjan2009-01-262-3/+2
|
* 1.2.14Pascal Rigaux2008-10-011-1/+1
|