Mkdir at Home: Input/output Error

I want to make at home/alex using Mac OS

1. sudo mkdir -p /home/alex

Keeps saying Input/Output error.

2. sudo chmod 755 /home
drwxr-xr-x   2 root        wheel         1 Oct 21 15:07 home

What solution is for it?

Thanks.
LVL 1
suredazzleAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
omarfaridConnect With a Mentor Commented:
Please look into the link provided on how to let normal none privileged users run commands as root
0
 
omarfaridCommented:
what exactly you want to do? Are you running the command as root or as normal user? To use sudo please see:

http://www.gratisoft.us/sudo/man/sudoers.html
0
 
suredazzleAuthor Commented:
bash-3.2$ pwd
/

mkdir at root
/alex  -->works

Just can't mkdir under home. keep saying the error.

Running command as root without -u.

Mac OS won't allow you to make dir /home/alex. It says Wheel not Admin.

Please give feedback to solution?
0
All Courses

From novice to tech pro — start learning today.