From: Nicolas Boisselier Date: Mon, 6 Feb 2017 00:06:05 +0000 (+0000) Subject: etc/profile.d/functions X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=5858ea59f493232f6043565d3b11fc353817b003;p=nb.git etc/profile.d/functions --- diff --git a/etc/profile.d/functions b/etc/profile.d/functions index 9583d9fb..82159cc9 100644 --- a/etc/profile.d/functions +++ b/etc/profile.d/functions @@ -853,7 +853,7 @@ uncomment() { } gid_from_to() { - local cmd="find / -xdev -uid $1 -exec chgrp -v $2 {} \;" + local cmd="find / -uid $1 -exec chgrp -v $2 {} \;" echo "Press a key to run:" echo "$cmd" read @@ -861,7 +861,7 @@ gid_from_to() { } uid_from_to() { - local cmd="find / -xdev -uid $1 -exec chown -v $2 {} \;" + local cmd="find / -uid $1 -exec chown -v $2 {} \;" echo "Press a key to run:" echo "$cmd" read