bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mkdir owner:group option


From: Pádraig Brady
Subject: Re: mkdir owner:group option
Date: Tue, 10 Mar 2009 09:43:27 +0000
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

Caleb Cushing wrote:
> be awesome if mkdir had a way to specify the user:group ownership
> being made. given this would be limited by perms. but as root it could
> be good.
> 
> just throwing it out there.

Perhaps a simple wrapper around install would be better?

mkudir() { u="$1"; g="$2"; shift 2; install -d -o$u -g$g "$@"; }

cheers,
Pádraig.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]