[SOLVED] How to recreate home folder subdirectories

I have accidentally removed home folder stuff (shame on me), and i have recovered data,
but now I don't have sub-directories like Downloads, Music ...
How to recreate those? I can't find anything on this topic for arch.
I can make them using mkdir but that won't for example in future place Chromium downlaods in it (at least i think so).
Thanks!
EDIT: This is file list of /etc/skel
.bash_logout  .bash_profile  .bashrc  .config  .xscreensaver
Last edited by mirko28 (2015-03-18 20:03:23)

@nullified and @Radioactiveman
Thanks a lot! I needed to create them manually and change ~/.config/user-dirs.dirs variables to those folders.
@karol
I used sass --watch to compile my .scss files, and sass created ~ folder in my project (I have no idea why). After that i was trying to delete that damned folder using rm -r ~ and that deleted my real ~ folder. I was in project folder i don't know why it deleted home.
Thanks guys you saved me, I was about to reinstall arch !
Last edited by mirko28 (2015-03-18 20:06:01)

Similar Messages

  • How to change home folder name

    How to change home folder name ?

    Here are the instructions from Apple on changing user short name or home directory name. I've used this on a couple of used MacBooks I've bought on eBay. And remember to go into System Preferences>Sharing and change the Computer Name in there.
    http://support.apple.com/kb/HT1428

  • How to replace home folder after yosemite erase-reinstall?

    Hi, I did an erase-reinstall and then simply copied my backed-up home folder (administrator's home folder) back into the new home folder but this has not worked well. Can anyone tell me the correct procedure of how to restore the home folder. I have a Time Machine back-up from a previous online Yosemite install (not an erase-install) as well as a regular back-up on a separate drive. Can I fix this up (i.e. remove the whole current home folder and replace it properly) without doing another erase-install of yosemite? Many thanks, Barak

    baltwo, out of interest, I just found this at:  http://www.theinstructional.com/guides/how-to-re-run-the-os-x-setup-assistant
    How to Re-Run the OS X Setup Assistant
    Under certain circumstances, it can be advantageous to re-run the Setup Assistant. Using some command-line trickery, we can do just this without having to erase and reinstall OS X...
    Option?

  • How to Backup Home Folder Only?

    How do I backup only my home folder. I only want to backup my data not all the system stuff and applications. Time Machine only lets me exclude things. So what it the best way of telling it to exclude everything except my HOME folder? Thanks....

    If you just want to do... then don't use Time Machine...
    You should be looking at Backup... it was just updated.
    You can use it to easily schedule a backup of your home folder.

  • How to relocate Home folder to second internal drive

    What is the process to migrate my Home Folder from the boot drive (256Gb SSD) to a new internal drive (960Gb SSD)? Can this be accomplished in finder or should one use the Terminal window?

    Interesting, I'm having the same issue on my MacBook Pro that has both an SSD (for the OS and Apps) and a Hard Disk in place of the Superdrive. This config worked just fine with Mountain Lion; since upgrading to Mavericks this morning, I am unable to log into my personal account that has its home folder on the hard disk.
    Unfortunately, it also seems to be an issue with the library folder, as I've been able to solve this issue with symlinks just fine with the exception of Library: the system keeps asking me to key in my password because the Library folder "needs to be repaired".
    I can't move my Library folder to the SSD, as it is way too big (for whatever reason) - the SSD is only 96 Gig.
    What is so different here is that the hard disk in the system is encrypted - I think this is the problem. I don't understand why, though, because under ML, I just logged in as admin after every reboot, which mounted the encrypted disk and then logged out / logged back in with my user account - it worked just fine.
    Something seems to have changed with Mavericks regarding making available the encrypted HD...
    Oddly enough, on my Mac Mini at home, which also has the SSD/HD pair, the moved home folder works fine - of course, here the HD isn't encrypted...
    I hope someone has a fix for this, otherwise I'll have to go back to ML!

  • [Solved] Xfce 4 displays Home folder, not just ~/Desktop folder...

    When normally Xfce should display icons linking to Home, Trash, and any mounted volumes, Xfce, in Arch, at least, seems to be showing every unhidden file in my home folder.
    I've deleted every file in my ~/.config file related to Xfce, so it's not a bad config file.  I'm launching it from my .xinitrc with xinit, using the command "exec ck-launch-session startxfce4," and have reinstalled several times, and deleted my .config/xfce4 folder each time.  When I uninstall, there's nothing related to Xfce in /etc/xdg.  Has anybody else had this issue?  Is there a solution that can be found? 
    This doesn't happen in my Debian Sid, which is running the same version of Xfce (assuming Arch has 4.6.2), which makes it even weirder, and all I've done to that is change the panels, wallpaper, and add a couple programs to startup on that install (wicd-client and avant-window-navigator, specifically).
    Last edited by arinlares (2010-10-09 05:58:15)

    Until now, nope.
    Thanks!  I figured it was important, and did a search before posting back, installing xdg-user-dirs, running it xdg-user-dir, and editing the file accordingly.  Log out, log back in, and it's all fine now.  Funny that it should work out this way, despite using XFCE with no problems in the past.
    Last edited by arinlares (2010-10-09 06:05:09)

  • How to Encrypt Home Folder Located on External Drive

    I have an iMac 5K with a 512GB internal SSD.  I decided to relocate my users' home folders to an external HDD due to their size (won't all fit on the SSD).
    That part is working fine.  However, it has now dawned on me that I would like to encrypt those home folders in case that external HDD is stolen.  The problem, of course, is that by encrypting that external HDD, those users won't be able to login, since you can't login if your home folder is not immediately available.
    Only solution that I read about is to have another user (with a home folder on the SSD) login first after startup and decrypt the HDD.  The would then allow the other users to login successfully.
    Is that the solution I should go with here?  Or is there some other approach that will work better?  Or should I move my home folders back to the SSD and just keep the large stuff on the external HDD?

    If your pictures, music, movies are not sensitive, you could relocate those to the external drive.

  • How to reset home folder permissions ?

    Hello everyone I have a pretty tough problem that I would really like to fix
    Here's the little story... I bought a macbook pro (mid 2010) and I accidentally broke it.. I made a ghost of my hard drive before erasing it and sending the macbook to be repaired. It came back as I sent it, because the cost to repair was almost equal as getting a new macbook..
    So I bought the brand new (2011) macbook pro and I'm trying to get my data back onto it.. I took out the new hard drive, ran my ghost program (Ghost 4 Linux in RAW mode in case you want to know) and I put the hard drive back into the mac. I just won't boot.
    It appears that the new macbooks require some new kexts or files to be able to boot up. I couldn't even boot my 10.6.3 retail DVD...
    I reinstalled Snow Leo with no problems, and I wanted to copy directly my previous home folder (or all content inside) to my new one. It appears to be impossible, because I had a password on my previous macbook.. Chmod or Chown (as root) do nothing at all, programs like Batchmod or permission reset do not work either. Linux can't reset permissions saying it's a "read only file system" (although I can see the name of all files inside folders while it's trying to change permissions even if it always fails). I can't manually modify permissions by pressing Command + i because it says I have "custom access rights"...
    I'm really stuck on this one, I've done some searching and I'm astonished I couldn't find any answer about that. I'm pretty sure many pple have had that problem before.
    I hope you guys will have an answer for me, otherwise I've lost all my family pictures, music, documents and.....everything else ?
    Thank you.

    No, I didn't say that. If you weren't using FileVault, you should be fine, unless something is wrong with the old drive.
    In the Finder, select the icon of the drive you're trying to copy from, and open the Info window. In the Sharing & Permissions section, there's a checkbox labeled "Ignore ownership on this disk." If that box is not checked, click the lock icon in the corner of the window, authenticate with your administrator name and password, check the box, then try the copy again.

  • How to clean home folder?

    Can't use Mail as message comes up to clean up home folder first. I know this must be elementary, but I can't figure it out. I've cleaned up everywhere! What could cause this? Any tips welcome!

    what version of the OS and Mail are you using and what is the exact error message?

  • How to change name on Home folder?

    I have an Apple iBook PPC G4 1.33 GHz running Leopard OS X version 10.5.8 and with 1 GB Memory. I just purchased this machine, which is in excellent condition, but I have a problem. It is not earthshattering and doesn't threaten the life of the machine in any way, but it is my machine and I would like the Home directory to reflect that.
    The name in the System Preferences for Administrator is "gdavies", which is myself, but the Home Folder in the Finder sidebar is named "macuser". I went in as root user and came close to complete disaster, but got out in time. Having me named as administrator in Accounts but not on the Home directory is unusual. If both were called "macuser" I believe I could fix it, but this requires a greater level of expertise than I have.
    Any ideas how to make home folder read "gdavies"? I just bought this iBook and it came with the Home folder named as "macuser". I changed the computer's name in "Sharing" in system prefs and I believe I may have changed the name in the Accounts. I know I should not have done it that way, but it doesn't help changing it back.
    When I open the Users folder in the Mac HD there are there folders, one called "gdavies" with 10 items, most empty, such as desktop, downloads and so on, though dropbox is there.
    The next folder is the house icon for the Home directory named "macuser" with 38 items and is the working folder. Then there is a folder called "shared", which contains no items.
    How do I change the Home directory name in the Finder window sidebar to "gdavies'?

    Kappy, you are indeed working overtime to help me and I just want you to know how appreciative I am.
    Now, I shall take your answer step by step.
    1. Log into Accounts using the admin password for "macuser". That password and the "other" admin password for gadvies is one and the same. However, done.
    2. Click on Login Options, done - verify gdavies has admin status - done - answer "yes, gadvies has admin status".
    3. Turn off Auto login - done.
    4. Logged out then logged into "gdavies".
    5. Returned to Accounts pane authenticating with "gdavies" password - done. But remember that the admin password is one and the same for "macuser" and "gdavies". Now, I did *not* set it up like that. It just seemed to happen. do I :- )  or do I :- (    ???
    6. Select "macuser" account and using Login options delete. Select the option to remove completely.
    I am sorry Kappy, but this pesky "macuser" sits in the home directory without any account in Accounts. So there is no "macuser" account to delete.
    I went through all the motions and I was sort of hoping that a "macuser" account would *appear* in the Accounts pane beneath the Guest account so that I could delete it, but no such luck. You know, sometimes things like that do happen.
    Thanks a heap for the try, Kappy, I do appreciate you exercising on my behalf "those little grey cells" as Hercule Poirot would say - my favorite Private Eye (Agatha Christie).
    Cheers, Gareth

  • How I Solved My "Can't Import My Home Folder" Problem While Staying Sane

    This may be a well-known work-around for Time Machine and Migration Assistant, but I didn't find any reference to it in searching in Google (which included some threads here), so I thought I'd post it in case anyone else is experiencing similar problems.
    I was having problems with some program install permissions and tried fixing them in more traditional ways without success, so I decided it was a good day for an Erase and Reinstall of Leopard.
    I didn't want to copy my entire Home directory's contents and I have 6 HDs (four internal and two external) totaling about 1.5TBs. So, to prepare for the reinstall, rather than use Backup, I copied all important files to my other drives and then I copied my Home directory to another drive in the machine. Satisfied that everything was backed-up, I reinstalled Leopard using the Erase and Install option and soon had a good system, fully updated.
    However, when I went to copy the Home Directory I kept getting errors saying that I can't alter these files and folders, even when I drilled down into the subdirectories. I didn't try copying individual files, but then I had no desire to do so given the amount of time that would take.
    I looked around but could find no good solution. However, I did come up with a workaround and this is what I did:
    First, I moved my Home Folder designation to the one on the backup hard drive by:
    1) Go to System Preferences
    2) Click the lock to make changes and enter your user password
    3) Right-Click on your User Account and select "Advanced Options"
    4) From the drop-down window, to the right of the "Home Directory" box select "Choose..."
    5) Navigate to the backup User Account home folder and select it and click "OK
    6) Relock the Accounts pane
    7) Now you can delete the "old" Home Folder under your OS drive: Users/user account
    8) Now just copy the backed-up Home Folder (that is now your real Home Folder) to the OS drive: Users/user account
    9) Repeat steps2, 3 and 4, this time selecting your now moved Home Folder in the OS drive: Users/user account
    10) Now you can delete the backup or keep it AS a backup.
    I know this is a kludgey, wrong way to do backup and that Backup is the way to go, but for those out there who don't do it or have some problem restoring it, this is a possible way around so that you don't end up having to restore everything by hand.
    This workaround may have already been discussed and well-known, but I had not seen it and am posting this in the hopes that it will help someone in trouble.
    JoeL

    joeldm,
    There is a "proper" way to do what you have done. First, one must create an account within the new installation using the exact same username and short name that was used in the old installation. Then, one enables the "root" account and logs in as root.
    Within the root account, the local HOME folder that was created for the user is placed in the trash, then replaced with a (same-named) copy from the backup. THat HOME folder copy will be onwed by root, so this command must be run in Terminal:
    <pre style="overflow:auto; font-family: 'Monaco'; font-size: 10px">chown -R username:staff /Users/username</pre>
    In the above command, all instances of "username" are replaced with the user's short name. For example, if the user's name is "fred," the command would be typed exactly like this:
    <pre style="overflow:auto; font-family: 'Monaco'; font-size: 10px">chown -R fred:staff /Users/fred</pre>
    The command is executed when <RETURN> is pressed. NOTE: The specific command listed above applies only to 10.5.
    One would then log out of the "root" account, and into the account in question. If all seems well, one would log back into the root account, empty the trash, then log out of and disable the root account.
    Alternatively, if there is a Time Machine backup that can be used, the Time Machine interface can be used in the root account to replace the trashed HOME folder, instead of copying manually in the Finder. This would generally be a better method to use, if possible.
    Scott
    EDIT: If one wishes to replace/restore only certain portions of a HOME folder, this is possible. The same methods would apply to only limited segments within a HOME folder. -s

  • Solved: how to delete those pesky "require" folders in Home folder

    I was bummed that OS X now tries to "require" you to have folders like Sites, Downloads and so on in the home folder. Force Delete 1.2 will make short work of these, in case anyone else is stumped about how to delete the folders.
    Download it at http://mac.softpedia.com/get/System-Utilities/Force-Delete.shtml

    I have attached a vi. Is this the one that you need?
    Anand kumar SP
    Senior Project Engineer
    Soliton Technologies Pvt Ltd
    Attachments:
    plot selector modified.vi ‏14 KB

  • How do I create an alias of my home folder with the little house icon to appear on my desktop, please?

    In Mavericks, how do I create an alias to my home folder, complete with the little house icon, to put on my desktop, please? I can get the folder, but not with the icon.
    Chris Mack
    As you were, solved, thank you. CM
    Message was edited by: ccrm

    Open Finder. Under Preferences > Sidebar > Devices > check Hard disks.
    Navigate to your home folder from "Macintosh HD" (or whatever the name of your boot volume is) in the finder. Set the view to column.
    Once you reach the path of your home folder, select it, hold down the key combination option + command and drag the alias to your desktop.

  • HT1428 How do I revert settings from renaming the home folder?

    *PREFACE* I've read plenty of articles today on why NOT to attempt to rename the home folder.. This was done mistakenly by a friend attempting to help with my wifes macbook air.
    While they were able to rename the home folder, upon reboot, all system settings are gone, and she cannot access anything on the macbook air. Basically I need any help on how to go about restoring her air to the point before this incident occured, if that's possible (and I REALLY hope it is!!). We only had one user profile on the air, it was hers and is an admin account. When I try to access files on the HD now I get access denied messages. Based on what I've read, I thought if I could get to system preferences I could attempt to rename it back to the original name, reboot, and things would revert back, but when I click on system preferences, it bounces up, and then the light under it goes out.
    I own a time machine, and I have plenty of backup data there, I'm curious though of two things. 1st, how exactly do I go about this process, and 2nd, if I restore it, is it going to restore everything back to how it was before the rename happened, or would I have to do something else?
    On a scale of 1-5 in terms of knowledge, I'm about a 3. I'm faily new to Mac computing, but I own several other Mac products. I haven't had to replace my current PC laptop (yet, but its days are VERY numbered), but intend to go Mac from that point on. I hope all of this gives someone smarter than me enough information on what my situation is and hopefully how to solve it! Thanks!!

    Problem solved, time capsule worked!

  • How to fix permission denied for home folder with Apache in Mavericks?

    I recently activated the apache that ships with OS X Mavericks. I followed some tutorial to set up the web-server, however. When I browse to my home-filter at http://localhost/~nazeem, I get the following error: You don't have permission to access /~nazeem/ on this server.
    Installation steps
    To set up the webserver, I took the following steps:
    1. activated the webserver with command: apachectl start
    2. enabled PHP by checking if the module is loaded
    3. checked if the home folder module is loaded
    4. made the user based configuration file, in /etc/apache2/users/nazeem.conf The content is as follows:
    <Directory "/Users/nazeem/Development/Websites/">
    Options Indexes MultiViews FollowSymLinks AllowOverride All
    </Directory>
    Permissions
    ~/nazeem : drwxr-xr-x+ ~/nazeem/Development : drwxr-xr-x ~/nazeem/Development/Websites : drwxr-xr-x
    Log
    The apache log says the following:
    [Mon May 19 21:22:57 2014] [error] [client ::1] client denied by server configuration: /Users/nazeem/Sites
    In my opinion this is remarkable, as the path /Users/nazeem/Sites is nog what I defined in my user configuration.
    Versions
    OS X Mavericks 10.9.3
    Apache 2.2.26
    Does anybody know how to solve this?

    nzm_aak wrote:
    I recently activated the apache that ships with OS X Mavericks. I followed some tutorial to set up the web-server, however. When I browse to my home-filter at http://localhost/~nazeem, I get the following error: You don't have permission to access /~nazeem/ on this server.
    Does anybody know how to solve this?
    You will have to contact the author of that tutorial and ask. Apache can be configured an infinite number of ways. You seem to be attempting to configure it in two conflicting methods. You can define specific directories on your web server or you can use mod_userdir. You can't hack up a combination of the two.
    I posted my own User Tip on how to configure Apache: https://discussions.apple.com/docs/DOC-3083
    This user tip only covers mod_userdir and will serve content out of $(HOME)/Sites. I strongly suggest starting there and only trying a custom location later, if you see the need.

Maybe you are looking for

  • ITunes 10.7 and AS working perfectly on Mavericks! But now I want to add an iPod-

    Somehow- I don't know how or why- my computer running Mavericks is completely happy with iTunes 10.7 installed, and the App Store apparently works perfectly! I'm very, very happy about this (and happy with Apple lately for other reasons) because I do

  • Unable to install Windows 7! Black screen?

    Unable to install Windows 7! Black screen? Hey everyone! Some background info: I built my computer ~2 years ago and it worked fine for about half a year, until it crashed. Since then I've been unable to reinstall Windows and I kinda forgot about it..

  • Sharing a local printer over AE's

    I have two Airport Extreme (802.11.g) base stations and one is using WDS to extend my coverage to a second floor and garage. I have a shared printer on an iMac connected to one base station (the master) and can't seem to access it while connected to

  • Include attributes in View criteria which are outside of written query

    I have a select query which is group by on a state column If i use date and status columns in my above query ... then i need to include those in my group by function and my number of rows displayed is increasing based on date and status My use case q

  • Created Infobects in DEV server and Transported to QA now I want to delete

    Hello All Created Infobects(10) in DEV server and Transported to QA now I want to delete two infobjects from QA/NOW how to delete in QA? should I delete in DEV and transport to QA,if I do like this will that deleted objects will disappear from QA?sho