Solved

Mkdir at Home: Input/output Error

Posted on 2008-10-21
3
1,916 Views
Last Modified: 2013-11-12
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.
0
Comment
Question by:suredazzle
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 40

Expert Comment

by:omarfarid
ID: 22773054
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
 
LVL 1

Author Comment

by:suredazzle
ID: 22773173
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
 
LVL 40

Accepted Solution

by:
omarfarid earned 500 total points
ID: 22773224
Please look into the link provided on how to let normal none privileged users run commands as root
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The /etc/authorization file in Mac OS X 10.x can be used to control access to the various panes of the System Preferences amongst other things. It’s used by some of us Mac Sys Admin’s to give Standard Users access to System Prefs panes that only adm…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question