The /home directory or partition contains user-specific configuration files, caches, application data and media files.

learn more… | top users | synonyms

0
votes
3answers
44 views

How to change the Home directory of the currently logged In user

I am currently logged in into a CentOS server and I would like to change my home directory from /home/myuserName/ to /var/www/html/ I tried the below command : > sudo usermod -d /var/www/html ...
1
vote
3answers
41 views

Installing files in ~/.local

When installing software compiled from source, I normally place them in /usr/local/, which is by far the most common default in my experience, and standard practice at least on Debian and its ...
1
vote
2answers
50 views

How to move hidden config files to sub folder in the home directory

I know we can config file explorer to hide hidden files, but in the open dialogue box of some program, it is not an option. I am just tired of scrolling through hidden folder and files in my home ...
1
vote
1answer
35 views

Symlink to clean up home directory

I'm currently trying to clean up my Mac. I hate it when my home directory (~) is full with config files and stuff I don't want to see all the time (.bash_history, .bash_sessions, etc.). My idea about ...
3
votes
1answer
20 views

Are configuration files which are desirable to keep when reinstalling normally kept in /home?

It is my understanding that on a desktop/laptop for normal, personal use (not servers or for other specialized tasks), one of the primary benefits of having /home on its own partition is keeping the ...
1
vote
2answers
23 views

Fate of home folder after reallocation to other partition

Yesterday I moved my home directory from the root partition to another partition following the steps here. Basically copied all files to the new partition and added a new fstab entry with the ...
1
vote
1answer
31 views

changing $HOME directory name

I'm Using Arch Linux + Xfce4 (Edit: running as VBox OS guest) and I wanted to change a username and it's home directory accordingly. I followed these steps as root: 1.Renamed the home directory # mv ...
0
votes
4answers
58 views

Root home is not /root on my debian?

When I use su to get root, and then I cd ~ I am not on the /root, when I ls it shows me a Desktop file and some hidden files like .bashrc, but nothing else. root@debian:~# ls -a . .. .adobe ...
2
votes
1answer
15 views

Which FHS dirs can I outsource and how?

At the moment I have a computer w/ Ubuntu on a HDD with everything on one partition. I'd like to add a SSD and move / to it, outsourcing /boot to a separate partition (on the SSD, too) and leave /home ...
0
votes
1answer
32 views

Home folder list from /etc/passwd, does not match what is in /home

I was looking at the list of created users in /etc/passwd. There are about 10 users, who show up like this in the list in /etc/passwd: user1:x:500:500::/home/user1:bin/bash ...
1
vote
3answers
43 views

What is .gnupg directory in the home directory?

I found a strange directory in my home directory on Linux Mint 17.2 Cinnamon (though I'm pretty confident it's on all Linux distros) called .gnupg. It has no access given to ANYONE other than root. So ...
0
votes
0answers
14 views

How can I clean my /home directory from all dotfiles which are no longer needed? [duplicate]

I really don't want to go through every single folder one by one to check if I still need them or not. For most folders in there I don't even have a clue which application ever created them in the ...
2
votes
3answers
448 views

To secure my data, is it good to have separate data partition (along with separate home partition)

I am installing fresh Ubuntu 15.10 on my laptop after erasing my hard disk completely. Now, what I am interested to know is whether it is good to have a separate data partition along with separate ...
1
vote
0answers
33 views

What is single user equivalent for /opt?

I'm creating the installer for my application. The app comes with specific versions of some popular libraries and binaries (Tcl/Tk and Python), so I can't install it to standard locations. If the app ...
1
vote
2answers
72 views

Keep home folder from OpenSuse 12 to Leap

I currently run OpenSuse 12.3 (Dartmouth) and since it is no longer supported I would like to perform a clean install for latest OpenSuse Leap and keep my existing files inside home folder. I have a ...
3
votes
3answers
201 views

How do I write a script to count the total number of files, and directories in my home directory then display it?

Question is in the title been trying to do this. I want to do it with a for loop. This is what I've come up with so far which does not work. for home in /home/ {.,/}*; do echo "$home"; done I would ...
1
vote
0answers
36 views

Apache, can't link to Home directory, Alias does not work

I am trying to make a folder in which I can build websites (using php). I have switched from a Windows system where I was using Uniserver (http://www.uniformserver.com/) which is a setup with MySQL, ...
1
vote
1answer
100 views

Choosing File Format of /home between NTFS and Ext4, Understanding Trade Offs in Performance vs Data sharing with WinXP in Dual boot [closed]

I have Win Xp on first Primary Partition. I am leaving another 2 primaries for a future possible Win install. I am planning my Logical partitions to install a Linux Mint. I read that a separate ...
0
votes
0answers
107 views

What is /.pulse folder purpose

I run into folder called /.pulse and it contains symbolic links to /tmp/pulse-* folders. So I'm really wondering what are those for. Do anyone have any idea what is their purpose ? Thanks in advance. ...
9
votes
1answer
151 views

How can I create an account with a copy of the same home folder?

I have a 'user1' account with the home folder set up. I'd like to create a 'user2' account with a copy of the same home folder setup. Is it possible to do this?
13
votes
3answers
380 views

Clean $HOME directory

During a few years, in my $HOME directory a lot of hidden files and directories appeared. I would like to continually delete the unneeded ones. How can I find out which applications created those ...
0
votes
0answers
61 views

Symbolic link not allowed or link target not accessible: /home

I cannot access http://localhost/~user. The error message is: Symbolic link not allowed or link target not accessible: /home I do not have a /home. In my case it's: /RAID/home/*/public_html I ...
0
votes
3answers
39 views

Where should I install packages built from source as a non-root user?

I'm building several (> 10) packages as a non-root user from source, and want to install them (for the sake of this question, choose the --prefix= value). Two obvious options are: Use my home ...
1
vote
2answers
35 views

How do you access the contents of a previous mount after switching to a different the partition?

I installed an additional Linux installation into a separate partition set the /home directory into that partition as well and afterwards I modified /etc/fstab to point to the old partition. How can ...
5
votes
2answers
78 views

Using ~ in symlink target or making a symlink with a variable

I would like to create a symlink to ~/foo/ but when I write that, ~ is always resolved to the absolute home path. I've used ../s in the past and they work fine, is ~ not allowed? The reason I'd like ...
7
votes
2answers
571 views

how to prevent a user from changing his home directory permissions?

If user smith's home directory has the following permissions: $ ls -l /home/staff drwxr-x--- 51 smith staff 4096 Sep 18 09:08 smith/ is it possible, somehow, to prevent him to change his ...
1
vote
1answer
43 views

pushd home dir, and not have it use tilde?

Using the pushd command in your home directory give you ~, but when I try to access it with cd $(dir +1), it gives an error cd: ~: No such file or directory, after some research, (please correct me if ...
1
vote
2answers
66 views

Lock a user with his home folder

Is there any way of making a user only able to see and modificate his home folder? I am currently on arch linux. Just explaining a little better, the user would not be able to see /etc or any other ...
3
votes
1answer
242 views

Mint - Can't login “your home directory…” error

I've recently installed Mint Linux, and when I try to login in the GUI it gives the following error message your home directory is listed as /home/username but does not appear to exist Then ...
2
votes
2answers
64 views

Is there any standard on the permissions for system directories?

The /root directory on CentOS 6 has permissions 0550 but on Debian 7 it is 0700. The Filesystem Hierarchy Standard (FHS) tells about directory organization but remains silent about permissions. Do ...
1
vote
1answer
79 views

Merge two different /home folders together with same user accounts, keeping newest files

This is a little bit tough. In order to reinstall/upgrade a Linux OS, and both keep the /home folder and contents, reformat the target partition, install the new OS, and merge the /home folder and ...
1
vote
1answer
62 views

Use existing encrypted directory as home directory

In the past, I installed Ubuntu 12.04 with /dev/sda4 mounted as /home. I encrypted my home directory. Today, I erased all the partitions except /dev/sda4 and I installed Xubuntu 14.04 on a new ...
1
vote
1answer
27 views

Is there a way to get Arch to run fully after deleting the home partition?

I tried dual booting Kali Linux on an existing Arch Linux and I may have formatted the home partition for Arch in the process. So I was wondering is there any way at all that I can get Arch to run ...
0
votes
1answer
18 views

Lock SSH DOR access the same as VSFTPD?

I'm quite new to Linux, I'm running CentOS 6.7 and I'm trying to follow best practice procedure of creating a user "instead of using root" but I want to restrict their SSH file browsing capability to ...
1
vote
0answers
163 views

Two users with the same 'home' folder but different '.profiles'

I would like to have at least two users signing in the same home folder, so them need to have full access to this folder, but with different 'profile' behavior. host-foo: user1 : /home/foo-folder ...
0
votes
0answers
56 views

Move /home from sda to sdb and

I am setting up an Xubuntu 14.04 machine with a 20G drive sda and a 80G drive sdb. After loading Xubuntu 14.04 on sda, how can I move /home to sdb ? I am using lv partitioning with encryption.
0
votes
1answer
65 views

How can I mount /home in a usb drive and keep the files?

I need to write a script that can mount /home in an USB drive at the boot and keep all the files in the USB drive after ejecting it. At every boot, if there is an USB drive plugged in, the script ...
0
votes
1answer
172 views

Elegant Way To Store Dotfiles on GitHub

I need an elegant solution to store my dotfiles on GitHub for easy access. I tried to create a dotfiles directory and symlink all the dotfiles into there. Then I tried adding the symlinks to git and ...
0
votes
1answer
69 views

How Do I Install Themes In Cinnamon?

I downloaded a couple of themes for Cinnamon but I don't know how to install them. The website I went to said: To install a theme: Download it and decompress it in ~/.themes. I type ~/.themes ...
0
votes
2answers
384 views

Mount NTFS partition as /home with fstab

I am currently installing Arch Linux on a machine which has Windows 10 already installed on it, and I want to use a NTFS partition as /home (because that way, I can easily access my Linux-files from ...
1
vote
1answer
300 views

HOME is not set when exploiting a vulnerability

Can you help me solve this error? sh: line 61: cd: HOME not set. Distribution: Metasploitable 2 (Ubuntu 8.04) /root/.bashrc (comments and whitespace removed): [ -z "$PS1" ] && return ...
14
votes
5answers
926 views

Make pwd result in terms of “~”?

pwd gives me /data/users/me/some/random/folder Is there an easy way of obtaining ~/some/random/folder from pwd?
4
votes
3answers
5k views

Authentication refused: bad ownership or modes for file /var/git/.ssh/authorized_keys [duplicate]

EDIT The issue as exposed here is solved (about files modes of the .ssh folder. But an other issue persists so I create a new question : > Unable to login with SSH-RSA key I can no longer ...
9
votes
2answers
687 views

What are .serverauth.##### files in my home directory?

The files are .serverauth.##### where ##### is a 5-digit number. I have a handful of these files in my home directory with a broad range of creation dates spanning a couple of years. What are these ...
0
votes
0answers
11 views

Installing Linux mint on a computer running ElementaryOS [duplicate]

I would like to add linuxmint to my laptop running ElementaryOS. I was wondering what was the best way to partition my HDD: Shall I use a common partition for the /home folder or use two different? ...
1
vote
1answer
35 views

Map Home to External Drive

Whereas I have my OS (in this case, Elementary OS Freya) installed on my non-partitioned internal hard drive, I have an external hard drive with /Documents, /Downloads, /Movies etc. where I store all ...
3
votes
1answer
531 views

How can I decrypt my encrypted /home partition?

A year ago I installed Linux Mint 17 on my laptop. I partitioned the HDD and separated the system (/ mount point) and the data (/home mount point). I chose to encrypt the whole /home using the basic ...
3
votes
0answers
80 views

Content of root's home directory in OSX

What is stored in root's home directory on OSX? What happens if you delete it on accident? Heres whats in my current root home folder. OSX:~ root# ls -lash total 8 0 drwxr-x--- 5 root wheel ...
2
votes
1answer
53 views

sudo with original profile

I need to launch an app with root privileges, but the app requires access to the original user's profile....so just using sudo to start the app results in the app starting incorrectly. How can I ...
5
votes
2answers
127 views

Where should an app save working files?

I'm designing a GUI application that works with scanned documents. It allows the scans to be manipulated before they are saved/exported, so it needs to store the data for each scanned page ...