Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Fail Creating directory

272 views
Skip to first unread message

apogeus...@gmail.com

unread,
May 15, 2008, 8:34:57 AM5/15/08
to

Hi:

Can you tell me why I cannot create this directory with root id ?

solaris # mkdir /export/home/john
mkdir: Failed to make directory "/export/home/john"; Permission denied
solaris# id
uid=0(root) gid=0(root)

Franco

unread,
May 15, 2008, 8:53:28 AM5/15/08
to

try mkdir -p /export/home/john

If that doesnt work, check permissions on /export

apogeus...@gmail.com

unread,
May 15, 2008, 9:15:36 AM5/15/08
to


I issued this command without success:


solaris> # id
uid=0(root) gid=0(root)
solaris> # mkdir -p /export/home/john
mkdir: "/export/home/john": Permission denied
solaris> # ls -alF /export
total 8
drwxr-xr-x 3 root sys 512 May 10 2006 ./
drwxr-xr-x 50 root root 2048 May 15 09:28 ../
drwxr-xr-x 25 root root 512 Apr 8 11:44 home/

Martin Paul

unread,
May 15, 2008, 9:25:55 AM5/15/08
to
apogeus...@gmail.com wrote:
> Can you tell me why I cannot create this directory with root id ?
>
> solaris # mkdir /export/home/john
> mkdir: Failed to make directory "/export/home/john"; Permission denied

Is /export/home an NFS mount point? What do you get from:

cd /export/home ; df .

mp.
--
SysAdmin | Institute of Scientific Computing, University of Vienna
PCA | Analyze, download and install patches for Solaris
| http://www.par.univie.ac.at/solaris/pca/

Wolfgang

unread,
May 20, 2008, 3:19:38 AM5/20/08
to
apogeus...@gmail.com schrieb:

by solaris default installation, it is a automounted dir.
W.

Fred. Oger

unread,
May 20, 2008, 4:06:39 AM5/20/08
to
Wolfgang a écrit :

Try disabling autofs and retry the mkdir.

svcadm disable svc:/system/filesystem/autofs:default

Best regards,

Fred. Oger

Chris Mattern

unread,
May 28, 2008, 2:58:59 PM5/28/08
to

You can't write to the filesystem. Either it is mounted read-only or
it's an NFS mount; I'm guessing the latter.


--
Christopher Mattern

NOTICE
Thank you for noticing this new notice
Your noticing it has been noted
And will be reported to the authorities

0 new messages