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

  • SEARCH
  • Home
  • 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 6558083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:09:20+00:00 2026-05-25T13:09:20+00:00

I just installed XAMPP on OSX. I can’t add folder on the htdocs via

  • 0

I just installed XAMPP on OSX. I can’t add folder on the htdocs via Finder. I can add a folder via the terminal using sudo mkdir foldername. However I want to add folder by not using the sudo command.

I execute ls -ld htdocs and got this output:

drwxr-xr-x@ 7 root  admin  238 Sep 13 14:11 .htdocs

How do I add myaccount so that I can create folder without having to use sudo? I’m really confused on the use of chown or chmod.

Thanks.

  • 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-25T13:09:21+00:00Added an answer on May 25, 2026 at 1:09 pm

    The .htdocs directory belongs to root, which means, as a simple user, you can’t modify anything in without using sudo.
    Try changing the ownership of that folder, or change permissions on it : chmod 757 .htdocs.( rwx r-x rwx ).

    After that you might be able to create a directory in it, either from the command line, or via the Finder.

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

Sidebar

Related Questions

Have just installed docblox on windows using PEAR. Am running into the error 'can
I've just installed xampp, and am using command line to write mySQL. I am
I just installed XAMPP beta with PHP 5.3 on Vista, but installed it in
Just installed EE everything seems clear however I can't seem to find a solution
I just installed FuzzyFinder for gvim, though for some reason it's using an ultra
I just installed xampp and I brought one of my live sites into it
I have an Apache server installed on my windows machine using XAMPP. Now I'm
I have just installed xampp 1.7.7. I need to know what I need to
I've just installed XAMPP and just wondering what are the benefits of running Apache
So I've just installed XAMPP today, and I noticed that the index.php had a

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.