Link to home
Start Free TrialLog in
Avatar of suredazzle
suredazzle

asked on

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.
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

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
Avatar of suredazzle
suredazzle

ASKER

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?
ASKER CERTIFIED SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial