summaryrefslogtreecommitdiffstats
path: root/src/basic/mkdir.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* format-utils: Expose FORMAT_UID and FORMAT_GIDAdrian Vovk2024-02-141-9/+3
* mkdir: Add support for creating subvolumes to mkdir_p_root()Daan De Meyer2023-08-141-5/+10
* basic/mkdir: simplify error handlingZbigniew Jędrzejewski-Szmek2023-04-031-5/+2
* chase-symlinks: Rename chase_symlinks() to chase()Daan De Meyer2023-03-241-3/+3
* mkdir: fix error code on failureYu Watanabe2023-03-031-1/+4
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-2/+2
* mkdir: Add mkdirat_parents()Daan De Meyer2022-11-091-23/+37
* mkdir: Add mkdirat_safe()Daan De Meyer2022-11-091-11/+12
* mkdir: chase_symlinks_and_stat() does not return 0Yu Watanabe2022-09-191-2/+6
* mkdir: don't allow us to get confused by symlinks in mkdir_p_root()'s chownin...Lennart Poettering2022-08-231-1/+1
* tree-wide: port things dirname_malloc() → path_extract_directory()Lennart Poettering2022-08-231-19/+22
* basic: do not warn in mkdir_p() when parent directory existsZbigniew Jędrzejewski-Szmek2022-02-111-1/+4
* mkdir: allow to create directory whose path contains symlinkYu Watanabe2022-02-021-1/+1
* mkdir: CHASE_NONEXISTENT cannot used in chase_symlinks_and_stat()Yu Watanabe2022-02-021-1/+1
* mkdir: drop mkdir_errno_wrapper(), use mkdirat_errno_wrapper() insteadLennart Poettering2021-11-161-21/+17
* mkdir: use chase_symlinks_and_stat() where appropriateLennart Poettering2021-11-161-4/+1
* mkdir: make sure mode is setLennart Poettering2021-11-161-0/+1
* mkdir: tighten permission checkLennart Poettering2021-11-161-3/+2
* tree-wide: use new RET_NERRNO() helper at various placesLennart Poettering2021-11-161-6/+2
* alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhereLennart Poettering2021-10-141-1/+1
* basic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch]Lennart Poettering2021-10-051-0/+1
* mkdir: rewrite mkdir_parents() with path_find_{first,last}_component()Yu Watanabe2021-09-071-27/+35
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* mkdir: add new mkdir_p_root() helperLennart Poettering2020-08-241-0/+52
* mkdir: handle mkdir_p() of simple filename gracefullyLennart Poettering2020-08-111-1/+1
* basic/mkdir: use uid_is_valid instead of manual checkLuca Boccassi2020-07-161-2/+2
* basic/mkdir: introduce safe recursive variantsLuca Boccassi2020-06-231-11/+31
* mkdir: use log_full_errno() where appropriateLennart Poettering2020-06-091-17/+20
* tree-wide: drop stat.h or statfs.h when stat-util.h is includedYu Watanabe2019-11-031-1/+0
* basic/fs-util: change CHASE_OPEN flag into a separate output parameterZbigniew Jędrzejewski-Szmek2019-10-241-1/+1
* headers: remove unneeded includes from util.hZbigniew Jędrzejewski-Szmek2019-03-271-0/+1
* basic/label: introduce mkdirat_label()/mkdirat_errno_wrapper() helpersFranck Bui2018-07-301-0/+6
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-3/+0
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* tree-wide: warn when a directory path already exists but has bad mode/owner/typeZbigniew Jędrzejewski-Szmek2018-03-231-4/+24
* basic/mkdir: convert bool flag to enumZbigniew Jędrzejewski-Szmek2018-03-221-5/+7
* Add mkdir_errno_wrapper() and use instead of mkdir() in various placesZbigniew Jędrzejewski-Szmek2017-12-161-9/+19
* Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
* mkdir: introduce follow_symlink flag to mkdir_safe{,_label}()Yu Watanabe2017-10-061-3/+17
* mkdir: chmod_and_chown() returns errors as "return -errno", not in errno itselfLennart Poettering2017-08-101-3/+6
* tree-wide: remove Emacs lines from all filesDaniel Mack2016-02-101-2/+0
* basic: re-sort includesThomas Hindoe Paaboel Andersen2015-12-011-1/+1
* basic: include only what we useThomas Hindoe Paaboel Andersen2015-11-301-1/+3
* tree-wide: sort includesThomas Hindoe Paaboel Andersen2015-11-161-1/+1
* user-util: move UID/GID related macros from macro.h to user-util.hLennart Poettering2015-10-271-0/+1
* util-lib: split stat()/statfs()/stavfs() related calls into stat-util.[ch]Lennart Poettering2015-10-271-0/+1
* util-lib: move a number of fs operations into fs-util.[ch]Lennart Poettering2015-10-271-2/+3
* build-sys: split internal basic/ library from shared/Kay Sievers2015-06-111-0/+125