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

learn more… | top users | synonyms

19
votes
2answers
759 views

Tilde (~) inside working unix directory

So, Im working in a UNIX environment and I noticed that inside my working directory, which is miles miles away from my UNIX home, there is a ~. Now, once in the past, I did rm -rf ~ from my working ...
1
vote
1answer
55 views

How can I create files in my home directory without root?

I created a user, then using root I created a folder for him. The folder has the same name as the user. When I am logged in as the user, I cannot create files or edit existing ones without using ...
2
votes
2answers
81 views

How can I create a new user but with a home directory that already exists?

Let's say I have a user called panos and he has his home directory located at /home/panos. Then, I create a another user called Tom: adduser Tom It creates a user Tom who has home dir: /home/Tom ...
0
votes
1answer
44 views

Mount /home to USB Live Linux

do you think that it would be possible to somehow mount /home folder with all the settings to Linux that runs as Live CD from USB key? Imagine that you have /home partition on the disk in the laptop ...
27
votes
1answer
1k views

Why aren't crontabs stored in user home directories?

I'm curious to know: why are crontabs stored in /var rather than in the user's home directories? It makes it a total pain to isolate these files for upgrades but I suspect that there is a logical ...
4
votes
4answers
742 views

Can the /home folder in Linux contain anything else but user folders?

Can the /home folder contain anything else but user folders? I have a folder I want to share between Windows and Arch - can it go in the home folder under a name not belonging to any existing user? ...
1
vote
4answers
79 views

What code should I use to download and install my script into a user-writable directory in the user's PATH (without requiring sudo)?

Edit: places where I said $HOME/.bin I should have written $HOME/bin or any equivalent is fine. I.E, any user-writable directory that is in the user's PATH. So I have a bash script which I am ...
1
vote
1answer
71 views

Home Directories and pam.d using LDAP

Background: I'm not too familiar with the ins and outs of pam and LDAP authentication on a configuration side. I've used systems that use pam but I've only worked on applications, not systems ...
1
vote
1answer
166 views

OpenELEC, non-root user, home directory, SSH

I'm running OpenELEC on Raspberry Pi As you know, directory /storage is a shared home folder between user root and user openelec This makes a problem when you want to setup ssh key authentication for ...
2
votes
6answers
104 views

umount /home does not work

I trying to merge my separate /home partition with my / partition in linux mint 13. I was told to umount /home, mount it on a different location and copy the contents to the /home directory on the / ...
0
votes
4answers
83 views

Is is safe to share /home between Ubuntu and Fedora?

I already read this thread, so please don't mark me as a duplicate of it. That asks how. I want to know how safe it is. I currently have Fedora 20 with GNOME 3.8. I've already messed up its ...
3
votes
1answer
71 views

Is there a standards-specified location for user configuration files?

I'm talking about files like ~/.foo found on a user's home dir. I'm working on a program that reads from such a file, and I'd also like to clean up my user root directory if I can. Is there a ...
1
vote
1answer
58 views

Temporarily use something else as home directory

If it is possible, should be pretty basic, but I am puzzled how to ask Google the right question (or it is impossible). Lets say we have /home/user/ ...conf /home/user/candidate/ ...conf We have ...
0
votes
0answers
27 views

pfSense and Belkin Integration

I am in a unique situation. I want to have my previous Linux box as a router, but I don't have wireless capability on it or even a second ethernet port, so I was wondering if there was a way I could ...
2
votes
0answers
37 views

What privileges do I have (find out within bourne shell script) [closed]

I am hacking away on a remote helper for git. The script is in bourne shell. I wanted to create some temporary directory in the home dir. For some reason I get permission denied. From my shell ...
1
vote
1answer
79 views

Is the $HOME environment variable always set on a Linux system?

Assuming the machine is running a Linux kernel, sessions make use of the Bash shell and everything is using default configurations (no user has made any changes to config files), can we assume that ...
1
vote
1answer
64 views

Where did this copy of my home directory come from?

I was working on a project to control my digital camera using Ubuntu and gphoto2. At one point I noticed a new "~" directory in my project folder, /home/greg/project/~. When I enter this new "~" ...
19
votes
1answer
675 views

At what point did the /home directory appear?

Originally in Unix, /usr was used for user (home) directories. So if I had a user named alex, my home directory would be /usr/alex. (Interestingly, Plan 9, the successor to Unix, still has user ...
2
votes
3answers
106 views

setting environment variable as a function of another env variable [duplicate]

I would like to set an environment variable (that we'll call "TEST") to store the path to a sub-directory of my home directory : something like /home/myself/dir/. I would like to use the $HOME ...
1
vote
1answer
73 views

Setting up encryption after debian wheezy install

How do you set up encryption on your home dir after the debian wheezy install. I missed the part in the graphical install that sets that up for you. I am using the automatic partition on the whole of ...
2
votes
4answers
81 views

Installing different distro without losing /home

I have a 2 year old laptop with Linux Mint 13 on it. Recently I've been having some problems with it (computer freezing, my settings suddenly disappearing and more) so I've been thinking about ...
3
votes
1answer
125 views

/home/user: change directory failed error

I just installed Arch reading from the Beginners' Guide on the Arch Wiki. Once I rebooted Arch, I logged into root then I added my own personal account: useradd fox then passwd fox and set my password ...
3
votes
1answer
69 views

How to run script when SSSD creates home directory for a new user

I have a network with several RHEL6 workstations and RHEL IdM Server (a.k.a. FreeIPA) as a domain controller. Every LDAP user can log into the every workstation. When the user is logging in for the ...
2
votes
0answers
106 views

Autofs home directories with passwordless logins

I want a setup where a user home directory is mounted on login (autofs). This is working with password based authentication. However, I want passwordless authentication, by generating public keys. ...
1
vote
1answer
80 views

No write access to $HOME directory

While loading the KDE UI Linux boots to kdm, then I get a "bad" sound and black screen. Logs reveal the line in the title. I can ctrl - alt - F4 just fine from there. Tried: chmod 755 on ...
1
vote
3answers
400 views

What makes the files in my home directory appear, when I log in through SSH then run ecryptfs-mount-private?

I'm a bit of a newbie when it comes to using Linux. I've recently installed Ubuntu 12.04 LTS (minimal virtual machine) on a VPS host. I've encrypted the virtual disk and encrypted the home directory ...
1
vote
1answer
82 views

I have a 24 Gb disk and a 1Tb Hard Disk How do I get Ubuntu to install on my 24 GB and my home dir on the 1TB

I used the auto installer for Ubuntu on my 24GB drive my disk space looks like this. kipke@ThePad:~$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 16395648 3936132 ...
1
vote
2answers
77 views

What is the difference between lhome and home, and is it causing my SSH key authentication to fail?

I have RHEL running on a system with my account having the root privilege. My home directory is in /lhome/myusername. If I try to add any user their home directory is created in /home/newuser. What ...
1
vote
3answers
51 views

How to copy the home directory in the home directory?

I need to make a copy of my home directory and place that copy in the same home directory. The exit code of the command must be 0. Currently, my home directory does not contain any other directories. ...
3
votes
1answer
149 views

Login when root filesystem is full

Will I be able to login into the system if the root filesystem is 100% full? Configuration: home is not a partition but is also placed on the root (i.e. /home is a directory on the partition holding ...
1
vote
1answer
85 views

ls recursive on home dir only with no flags specfied other than color [closed]

Like the topic says whenever I am in my home directory and run ls it shows me every file in every folder recursively, I cannot find any documentation of why this would happen, I have been looking on ...
5
votes
3answers
221 views

Splitting the Home dir two different partitions

I run a Ubuntu desktop environment with two harddisks. A small SSD and a large regular disk. Currently i run a setup where my home drive is located on /home/name, but some folders e.g. Downloads ...
2
votes
2answers
79 views

Changing username still leaves old traces

I changed my username about a month ago, and although I have forgotten the specificities of how I had done so, I'm pretty sure I followed the instructions on the Arch Wiki. Since then, some programs, ...
7
votes
2answers
791 views

Is it possible to redefine the tilde ('~', home directory)?

Is it possible to redefine the home directory? e.g. to /ext1/acheong instead of /home/acheong, i.e. expanding the ~ to another directory (as opposed to changing the actual home directory where users' ...
0
votes
1answer
53 views

`git remote add` to home dir by `~` expression

I created git bare repository in my home directory like ~/git-repos/foo.git. To add a remote repository I typed like git remote add origin ssh://username@hostname:10022~/git-repo/foo.git. But it ...
1
vote
1answer
31 views

permission on a user I added locally

I added a user to my Mint (Ubuntu) Desktop so that he could ftp files that I can share – I am peter he is john, so we have /home/peter and /home/john. I want to have full permissions on his home ...
0
votes
0answers
397 views

Zorin OS 7 - Home button

What is the name of the command that invokes the home menu? I am using linux zorin os 7 ultimate. The home button (windows button) does not bring up the home menu. It does work, its not broken. I have ...
2
votes
1answer
75 views

Bad to own a directory outside of your home directory?

Some how, can't remember why, I got into the habit of downloading source to the directory /opt, which I chown to my user/group. I have this feeling that it is not a good thing to do. Is there ...
1
vote
2answers
113 views

Move and empty /home partition of Ubuntu

My partitions are: Ubuntu's / on /dev/sda1 Ubuntu's /home on /dev/sda6/ Crunchbang's / on dev/sda7 Now I want to install Backtrack, but for this I need to get rid of Ubuntu's /home and move its ...
2
votes
2answers
272 views

How to source correct startup scripts on interactive, non-login shell

I'm trying to set up a sane/usable environment in a barebones OpenSolaris-derivative (OmniOS, a distribution of Illumos/OpenIndiana). I have all the plumbing code I need in .profile, .inputrc, and ...
1
vote
1answer
245 views

Difference between 'cd' and 'cd ~'

I am wondering, if cd alone sends me to my home folder and cd ~ does the same, why was the ~ added in the first place then? Is it something specific to BASH or would they behave differently in ...
2
votes
2answers
93 views

overriding HOME location

I'd like to override the user's HOME location locally in a script in order to force an application to store/load its settings portably. export HOME=$TMPDIR/Data export XDG_CONFIG_HOME=$TMPDIR/Data ...
1
vote
4answers
270 views

Why is the available space in my $HOME decreasing?

My OS is Ubuntu 12.04. As System Monitor shows, "free" for my $HOME is 1.6GiB, but "Available" is 222.7 MiB and is keeping slowly decreasing from around 750 MiB yesterday. I am not aware that I am ...
2
votes
2answers
456 views

scp to /home changes permissions?

This would be illustrated very nicely with an scheme. When I write "Test: OK" or "Test: FAIL" I am restarting apache server (httpd service). Basically, performing everything as root in the ...
-2
votes
2answers
3k views

Invalid cross-device link while Hardlinking in the same file system

I have /home/myuser/Desktop/rc/.netrc file that i want hardlink to /root, ie home directory of root user. When i do: ln /home/user/Destkop/rc/.netrc /root it gives the following error: ln: ...
2
votes
2answers
142 views

Linux multi-user system: Each user's home partition on its own Hard Drive

I've got a pogoplug running Arch Linux that I'm using for a NAS with rsync backing up my data over SSH. Right now, I'm the only one using it, but I'd like to add my roommate as well. She has her own ...
1
vote
4answers
3k views

What type of permissions should a user's home directory and files have?

I'm working with a fresh install of Ubuntu 12.04 and I've just added a new user: useradd -m testuser I thought that the -m flag to create a home directory for users was pretty standard, but now ...
7
votes
2answers
1k views

Installing a package locally to a user - best practices?

I want to install Git locally to a user on a RHEL server (I don't have root access) What would be your cleanest/ most organized way of installing software to a local user account? Installing ...
3
votes
3answers
205 views

Convert old /home from ext3 to ext4

I have an old /home partition, that dates back to former linux systems, and it is still in ext3 format. Whereas the rest of my system, / and some other mounted point are devices formated in ext4. I ...
4
votes
1answer
290 views

Where should user configuration files go? [duplicate]

If I look at my home directory there are a large number of dot files. If I am creating a new program that needs a user configuration file, is there any guidance where to put it? I could imagine ...