Solved

Mkdir at Home: Input/output Error

Posted on 2008-10-21
3
1,913 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
  • 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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

808 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