Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6365539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:18:23+00:00 2026-05-25T00:18:23+00:00

when I type the command mkdir rails_projects to follow along with a tutorial I

  • 0

when I type the command

mkdir rails_projects

to follow along with a tutorial I am using on http://www.railstutorial.org I get this problem:

~ DUFF$ mkdir rails_projects
mkdir: rails_projects: Permission denied

Does anyone know what this is happening? I tried to quit terminal and come back, but that didn’t work. I was thinking I may some how not have access to the current directory I am in, but I am not sure how to check that and I am the only user (that I am aware of on the computer). I looked around at the other threads but it seemed like they were not the same issue and most were PHP based.

I am not sure what commands I use to find out the directory I am currently in. Also, I am new to programming so I am not sure where these things reside on my system. Any help would be appreciated. You all were very helpful with my questions yesterday. I have seen a few posts saying you never need to use sudo and I should have access to create a directory, so I am not sure what is happening.

Again, thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T00:18:24+00:00Added an answer on May 25, 2026 at 12:18 am

    What operating system are you using? If it’s Linux/OS X, you can use the pwd command to list your current directory.

    I would recommend you then switch directories to your user’s home directory and start work there. You can do this with the cd ~

    ~ is simply a shortcut for the full path to the user’s home directory, which, in OS X is generally /Users/username

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am learning ruby from this guide http://ruby.railstutorial.org/ruby-on-rails-tutorial-book#sec:deploying , and I am trying to
If I type this line in an MS-DOS command prompt window: ipy -X:ColorfulConsole IronPython
I found this command line search and replace example: find . -type f -print0
I run dumpheap -type MyObjectType command to get the method table for MyObjectType .
Question: What command do you type in to the Run Application box on ubuntu
If you type systeminfo at the command prompt, there is a listing for Product
If you type nslookup -type=SRV _xmpp-server._tcp.gmail.com (or use the dig command in OSX) you
I currently use the following command, but it's a little unwieldy to type. What's
Looking for a PHP solution to: Perform 'tail' type shell command on a file
My OS is Ubuntu 9.04 When I maximize gVim windows And then type command:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.