Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Sep 2011 13:29:33 -0500 (CDT)
From:      Robert Bonomi <bonomi@mail.r-bonomi.com>
To:        fbsd8@a1poweruser.com, Freebsd-questions@freebsd.org
Subject:   Re: wheel group & mkdir
Message-ID:  <201109061829.p86ITXEJ018955@mail.r-bonomi.com>
In-Reply-To: <4E6640F0.5060902@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> From owner-freebsd-questions@freebsd.org  Tue Sep  6 11:07:48 2011
> Date: Tue, 06 Sep 2011 11:49:04 -0400
> From: Fbsd8 <fbsd8@a1poweruser.com>
> To: Freebsd-questions@freebsd.org
> Cc: 
> Subject: wheel group & mkdir
>
> 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?

First, figure out _why_ the user is getting that error. <grin>

exactly -what- executable named 'mkdir' are they trying to run?
  'which mkdir'
What are the permissions on that file
*WHERE* are they trying to create the file, and what are the permissions
on -that- directory?

Note: Including the _exact_ error message is a GOOD IDEA(tm).

There is a *SIGNIFICANT* difference between:
   $ mkdir foo
   mkdir: permission denied
and
   $ mkdir foo
   mkdir: foo: permission denied



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109061829.p86ITXEJ018955>