Searched refs:root (Results 1 – 24 of 24) sorted by relevance
/coreutils/tests/chown/ |
D | preserve-root.sh | 23 mkdir d && ln -s / d/slink-to-root 29 chown -R --preserve-root 0 / > out 2>&1 && fail=1 30 chgrp -R --preserve-root 0 / >> out 2>&1 && fail=1 35 chmod -R --preserve-root u+r / >> out 2>&1 && fail=1 41 chown -RHh --preserve-root $(id -u) d >> out 2>&1 || fail=1 42 chgrp -RHh --preserve-root $(id -g) d >> out 2>&1 || fail=1 46 chown -RLh --preserve-root $(id -u) d >> out 2>&1 && fail=1 47 chgrp -RLh --preserve-root $(id -g) d >> out 2>&1 && fail=1 51 chown: use --no-preserve-root to override this failsafe 53 chgrp: use --no-preserve-root to override this failsafe [all …]
|
D | basic.sh | 25 chown -R --preserve-root 0:1 f
|
/coreutils/src/ |
D | tsort.c | 119 search_item (struct item *root, char const *str) in search_item() argument 126 if (root->right == nullptr) in search_item() 127 return (root->right = new_item (str)); in search_item() 130 t = root; in search_item() 131 s = p = root->right; in search_item() 397 recurse_tree (struct item *root, bool (*action) (struct item *)) in recurse_tree() argument 399 if (root->left == nullptr && root->right == nullptr) in recurse_tree() 400 return (*action) (root); in recurse_tree() 403 if (root->left != nullptr) in recurse_tree() 404 if (recurse_tree (root->left, action)) in recurse_tree() [all …]
|
D | sort.c | 3340 struct merge_node *root = merge_tree; in merge_tree_init() local 3341 root->lo = root->hi = root->end_lo = root->end_hi = nullptr; in merge_tree_init() 3342 root->dest = nullptr; in merge_tree_init() 3343 root->nlo = root->nhi = nlines; in merge_tree_init() 3344 root->parent = nullptr; in merge_tree_init() 3345 root->level = MERGE_END; in merge_tree_init() 3346 root->queued = false; in merge_tree_init() 3347 pthread_mutex_init (&root->lock, nullptr); in merge_tree_init() 3349 init_node (root, root + 1, dest, nthreads, nlines, false); in merge_tree_init()
|
/coreutils/gl/modules/ |
D | root-dev-ino | 5 lib/root-dev-ino.h 6 lib/root-dev-ino.c 16 lib_SOURCES += root-dev-ino.c root-dev-ino.h 19 "root-dev-ino.h"
|
/coreutils/tests/touch/ |
D | now-owned-by-other.sh | 24 echo > root-owned || framework_failure_ 25 chgrp +$NON_ROOT_GID . root-owned || framework_failure_ 26 chmod g+w root-owned 32 touch -d now root-owned || fail=1
|
/coreutils/tests/truncate/ |
D | truncate-owned-by-other.sh | 25 echo > root-owned || framework_failure_ 26 chgrp +$NON_ROOT_GID . root-owned || framework_failure_ 27 chmod g+w root-owned 33 truncate -s0 root-owned || fail=1
|
/coreutils/lib/ |
D | t-chdir-long | 36 local root=${TMPDIR=/tmp} 37 test -n "$ROOT" && root=$ROOT 38 ( cd $root && 39 perl -e 'my $len='$n'-length "'$root'";$i=100;$d="z"x$i;
|
/coreutils/tests/mv/ |
D | sticky-to-xpart.sh | 35 echo > t/root-owned || framework_failure_ 36 chmod a+r t/root-owned || framework_failure_ 55 mv t/root-owned "$other_partition_tmpdir" 2> out-t && fail=1
|
/coreutils/tests/chcon/ |
D | chcon.sh | 33 u1=root 67 f|-uroot|root:object_r:$t2:$range 68 f|-robject_r|root:object_r:$t2:$range 69 f|-ttmp_t|root:object_r:tmp_t:$range
|
/coreutils/tests/chroot/ |
D | chroot-credentials.sh | 30 root=$(id -nu 0) || skip_ "Couldn't look up root username" 46 test $(chroot / whoami) = "$root" || fail=1 53 test "$whoami_after_chroot" != "$root" || fail=1
|
/coreutils/tests/rm/ |
D | r-root.sh | 195 rm: use --no-preserve-root to override this failsafe 233 rm: you may not abbreviate the --no-preserve-root option 253 returns_ 1 exercise_rm_r_root --preserve-root file1 '/' file2 || fail=1 293 returns_ 1 exercise_rm_r_root --preserve-root "$file" || fail=1 313 exercise_rm_r_root --interactive=never --no-preserve-root '/' \
|
/coreutils/ |
D | README-install | 76 Running tests as root: 79 If you run the tests as root, note that a few of them create files 80 and/or run programs as a non-root user, 'nobody' by default. 81 If you want to use some other non-root username, specify it via 90 sudo env PATH="$PATH" NON_ROOT_USERNAME=$USER make -k check-root 92 If you can run the tests as root, please do so and report any 95 root than when run by less privileged users.
|
D | init.cfg | 413 root) skip_ must be run as root ;; 414 non-root) skip_ must be run as non-root ;; 453 # Test whether we can run our just-built root owned rm, 472 uid_is_privileged_ || skip_ "must be run as root" 483 skip_if_root_() { uid_is_privileged_ && skip_ "must be run as non-root"; }
|
D | cfg.mk | 101 @t1=sc-root.expected; t2=sc-root.actual; \
|
D | README-release | 55 make -k -j$(nproc) check-root SUBDIRS=. \
|
D | NEWS | 435 chown and chroot now warn about usages like "chown root.root f", 506 root invoked coreutils, that are built and run in single binary mode, 935 rm --preserve-root now supports the --preserve-root=all option to 1048 `groups inva:lid root` no longer exits immediately upon failure. 1278 rm no longer accepts shortened variants of the --no-preserve-root option. 1409 df now prefers sources towards the root of a device when 1521 king directory. The new option is only permitted if the new root directory is 1724 chroot --userspec will now unset supplemental groups associated with root, 2018 A root-only test predicate would always fail. Its job was to determine 2099 root-only tests now check for permissions of our dummy user, [all …]
|
D | HACKING | 604 and root only tests, is to follow these steps (requires lcov to be installed): 609 # Add the root only tests
|
/coreutils/man/ |
D | chroot.x | 2 chroot \- run command or interactive shell with special root directory
|
/coreutils/tests/chgrp/ |
D | posix-H.sh | 35 chgrp --preserve-root -H -R $g2 1s 2 || fail=1
|
/coreutils/tests/id/ |
D | zero.sh | 37 for u in root man postfix sshd nobody ; do
|
/coreutils/tests/ |
D | local.mk | 124 tests/install/install-C-root.sh \ 132 tests/mkdir/smack-root.sh \ 140 tests/split/l-chunk-root.sh \ 145 ALL_RECURSIVE_TARGETS += check-root 146 .PHONY: check-root 147 check-root: 222 tests/rm/r-root.sh \ 358 tests/readlink/readlink-root.sh \ 477 tests/chown/preserve-root.sh \ 640 tests/ls/root-rel-symlink-color.sh \ [all …]
|
/coreutils/po/ |
D | POTFILES.in | 20 lib/root-dev-ino.h
|
/coreutils/doc/ |
D | coreutils.texi | 52 * chroot: (coreutils)chroot invocation. Specify the root directory. 453 * chroot invocation:: Run a command with a different root directory 807 * Treating / specially:: @option{--preserve-root} and the converse. 1448 the files on your system, you can use the @option{--no-preserve-root} 1450 @option{--preserve-root} option, is safer for most purposes. 1460 @option{--no-preserve-root}, but using the @option{--preserve-root} 1462 specify @option{--preserve-root} in an alias or in a shell function. 1464 Note that the @option{--preserve-root} option also ensures 10089 @vindex root @r{as default owner} 10090 If @command{install} has appropriate privileges (is run as root), set the [all …]
|