Date: Tue, 06 Sep 2011 19:13:48 -0400 From: Fbsd8 <fbsd8@a1poweruser.com> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: Freebsd-questions@freebsd.org Subject: Re: wheel group & mkdir Message-ID: <4E66A92C.8030406@a1poweruser.com> In-Reply-To: <4E664F1C.5050702@infracaninophile.co.uk> References: <4E6640F0.5060902@a1poweruser.com> <4E664F1C.5050702@infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman wrote: > On 06/09/2011 16:49, Fbsd8 wrote: >> I have a user that belongs to the wheel group but when the user tries to >> issue mkdir command it gets a permission denied error. >> >> How do I fix this? > > Make the directory that contains where your user is trying to create a > new subdirectory writable by group wheel. Either that, or teach your > user to use su(1) or sudo(1) so they can mkdir as root. (Adding users > to group wheel so they are permitted to run su(1) is a BSD-ism, and is > the usual reason for adding anyone to wheel.) > > Cheers, > > Matthew > Matthew Thanks for your reply. I have a user id that is in the wheel group. I su and get prompted for the user id's password after which I get returned to the command line. Running the script with the mkdir command embedded still returns Permission Denied message. I have read the su man page to no joy. Could you please explain the sequence of events to get su to work. Thanks
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E66A92C.8030406>