Questions tagged [home-directory]
A part of the filesystem owned by a particular user, where the user's files are saved and user-specific configuration files are written and used by applications.
1,130
questions
0
votes
0
answers
19
views
sudo service apparmor restart gives error
Can someone please help me with this error?
root@ip3:~# sudo service apparmor restart
Job for apparmor.service failed because the control process exited with error code.
See "systemctl status ...
141
votes
12
answers
333k
views
Home directory not being created
I am trying to understand system administration on Ubuntu. So, as an example, I create a dummy user using
sudo useradd -d /home/linda linda
and passwd to create the password. I check that an entry ...
9
votes
2
answers
20k
views
What is the recommended method to encrypt the home directory in Ubuntu 21.04?
Installing Ubuntu to a new Notebook, I was surprised that I wasn't offered the option to encrypt the home directory any more.
I found some vague information that Ubuntu dropped ecryptfs support a ...
-1
votes
0
answers
95
views
I renamed music folder to some other name
Hi all I renamed the music folder and suddenly I saw Home directory missing.
I restarted the ubuntu, then some file system checks going on which are never ending.
Please help me:
Details:
Ubuntu 23.10
...
0
votes
3
answers
7k
views
Linux cannot find Documents Directory
One day I moved the Documents directory inside the Downloads directory.
I could still access it as usual, but, eventually, I ended receiving this message (also see the screenshot):
Oops! Something ...
5
votes
1
answer
2k
views
Desktop mirrors Home directory
On Ubuntu 20.04 my desktop has copied ALL files and directories from my Home directory.
If I open a new file and save it in my Home directory it also apears on my desktop.
If I delete a file on my ...
150
votes
6
answers
56k
views
How can I change or hide the ~/snap directory?
I'm not particularly fond of apps cluttering my $HOME directory with their own files or directories. It's rarely a problem, because most apps have the courtesy to hide their data by prefixing it with ...
0
votes
2
answers
4k
views
How to change the path of folders in home directory to an external HDD?
I am using Ubuntu 12.04. I'm trying to change the path from the special folders (I mean the ones in my home directory) to folders on my external HDD.
I already auto-mounted the HDD by adding a UUID-...
40
votes
3
answers
200k
views
How do I give www-data user to a folder in my home folder?
I have a folder: /home/myuser/folderA
I want to give the www-data user write access to the above, while 'myuser' continues to have normal access (as it is myuser's home folder anyway).
Which ...
0
votes
2
answers
824
views
Ubuntu 22.04 rewriting user-dirs.dirs
I am using Ubuntu 22.04. After one update, the file ~/.config/user-dirs.dirs has changed the lines
XDG_DESKTOP_DIR="$HOME/"
XDG_PUBLICSHARE_DIR="$HOME/"
So the folder Desktop and ...
0
votes
0
answers
40
views
home folders automatic translation Dolphin
I bought a new laptop with ubuntu studio 23.10 installed (in Belgium). There seems to be a problem with an automatic translation of (important) file and folder names. I can't understand if this is ...
6
votes
1
answer
4k
views
What's the best practice for backing up encrypted Ubuntu home dir?
After installing Ubuntu 12.04 and electing to encrypt my entire home directory, I am now wondering what the best way would be to back up the data here.
I backed up the rest of my file system with ...
7
votes
4
answers
32k
views
Trouble using cd command with "~" or "$HOME" in bash scripting
We know that ~ and $HOME refer to the home directory of the current user. (For me echo ~=echo $HOME=pandya).
But I can't use it in bash scripting. Here is a simple example script:
#!/bin/bash
echo -...
3
votes
1
answer
5k
views
How to unmount an ecryptfs .Private directory mounted at /tmp?
Say that I want to view the contents of an encrypted home directory, I can simply use "sudo ecryptfs-recover-private " and it will mount an unencrypted copy at /tmp. That's all fine and good, but how ...
1
vote
2
answers
134
views
Preserving old home folder (already on separate partition) when reinstalling Ubuntu
I have a dual boot Windows Ubuntu laptop, and Ubuntu is split across multiple partitions (p4 and p5) so that my home folder is not on the main Ubuntu partition.
Then I must have accidentally ...
1
vote
2
answers
283
views
customize user profile with ubuntu 22.04 in ad domain with sssd
I have joined an ubuntu 22.04 workstation in an AD domain with SSSD.
But I cannot customize the desktop or the screen resolution for domain users.
I tried to put in /etc/skel but it didn't work as if ...
47
votes
9
answers
9k
views
Is it bad practice to git init in the $home directory to keep track of dot files?
I want to backup and sync my dotfiles using github. Since all the dotfiles resides in $home by default, should I just git init in my $home folder, or is that a bad idea?
Having performed git init in $...
1
vote
1
answer
157
views
Change /home directory to previously installed /home path [duplicate]
I have previously installed Ubuntu /home in HDD, but in new installation there is a new home directory. How to change it to the previous /home directory. in HDD? Could I replace new home with my old ...
1
vote
1
answer
45
views
How to move Dropbox and Megasync to sdb1 from sda2 - or mount /home on sdb1?
I am running out of space on my main SSD. I just realized that Dropbox and Megasync are mounted and syncing on sda2 which is on this drive (which accounts for most of space), although I thought I'd ...
4
votes
4
answers
4k
views
Automatically logged out as soon as I log in
Ubuntu 16.04 logs me out automatically after I log in. This thing started after I tried to extract Matlab to a folder in my home directory which in turn got extracted to the home directory. Please can ...
0
votes
0
answers
23
views
How to default to encryption of new home directories when using ldap
When using adduser, one can pass --encrypt-home to encrypt the newly generated home directory. Supposedly, this can be made the default by correctly setting up /etc/adduser.conf.
However, for ...
0
votes
1
answer
60
views
Reinstall from boot disk. /home on /dev/sda. How to leave untouched?
I have an old installation of 18.04 LTS.
/home is on /dev/sda. I want to leave this untouched
System and everything else is on /dev/nvme0n1p1 and /dev/nvme0n1p2 (swap I think)
I have a bootable USB ...
0
votes
0
answers
147
views
"Dependency failed for /home" 22.04
I wanted to expand the home partition on ubuntu 22.04 and create some free space on windows 11. Then trying to do, accidentally change the configuration for home partition in disk manager. At some ...
1
vote
0
answers
36
views
I am dual booting windows 11 and ubuntu 22.04.3 currently. Can I use a separate new partition for both windows and ubuntu to store personal files?
I'm dual booting windows 11 and ubuntu is there anyway that I can keep my personal files in the same but a separate partition?
Windows 11 is installed in C: . (NTFS)
I ...
1
vote
1
answer
48
views
Is it possible to monitor hidden file creation using auditctl? Ubuntu 20.04
I want to monitor creation of hidden files in /home/user. Is it possible to create a rule which triggers when any hidden file created in /home/user folder using auditctl? (* or any other methods?)
0
votes
1
answer
57
views
Is it possible to use environment variable (e.g. $HOME ) in auditctl ? Ubuntu 20.04
I'm trying to monitor /home/<user>/ folder.
I created # auditctl -w $HOME -p rwxa -k home_access rule. But it creates rule only for current user.
Is it possible to create such a rule that ...
2
votes
1
answer
260
views
Why suddenly appears mounted the /media/username/disk?
For
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
Just today, few minutes ago through the Dock, I did do realize that was mounted the /media/username/...
2
votes
1
answer
310
views
What is the state of the art setup for encrypted home directories which allow remote SSH login in 2022/2024?
Question
What is the state of the art replacement for ecryptfs, while allowing user logins through SSH without a "master" full disk encryption (= FDE) password?
Context
A long time ago ...
2
votes
0
answers
139
views
Empty XDG user directories turn into symbolic links
For some reasons, when an XDG user directory (i.e., Desktop, Downloads, Templates, Public, Documents, Music, Pictures, or Videos) is empty, it turns into a symbolic link after some time. Below is an ...
1
vote
0
answers
181
views
Standard user directories are replaced by broken symbolic links [duplicate]
I have a very strange problem on Ubuntu 20.04.
Recently, occasionally some of the standard user directories (Downloads, Music, Public, Templates) disappear and are replaced by broken symbolic links to ...
0
votes
3
answers
6k
views
Can't log in after changing home directory
I logged in as root in the console and ran this : usermod -d /mirror florencia
The folder mirror is located in /mirror
0
votes
1
answer
43
views
22.04 fresh install won't recognise existing home folder - login loop
can anyone help with this please?
I upgraded xubuntu 18.04 LTS to 22.04 LTS. Laptop is elderly but trusty Lenovo T400. I have an encrypted home folder which I kept on a separate partition (mount point ...
0
votes
1
answer
136
views
Can't see any files or folders in the /home partition
I have an Ubuntu 22.04 OS with dual-boot to Windows 10.
The Disks breakup correctly shows my /home partition to be nearly 30% full, but I am unable to see any files/folders in the sub-folders of home (...
0
votes
1
answer
134
views
How to remove/hide personal directories on desktop screen?
How do I remove/hide my personal directories (Music, Documents, etc) from the desktop?
After an update, my desktop changed and is showing my personal directories (Music, Documents, etc). Before the ...
0
votes
1
answer
835
views
Ubuntu 22.04.2 LTS: my /home folder "broke"
I was trying to use xcalib, and ran into an error (see xcalib error - unsupported ramp size) and followed Anwar's method, rebooted my computer and then this happened.
Gnome see of /home folder
My ...
0
votes
2
answers
387
views
How Do I Make A Secondary Drive Accessible Through The Main Directory Or In A Way Where Programs That Don't Have A Means To Access It In Their System
I know that title was a bit convoluted, but I am running on 22.04, I have a Samsung M.2 SSD, and Seagate HDD both connected directly to the motherboard. The issue I keep running into is the secondary ...
-3
votes
1
answer
94
views
Only an expert can solve this [closed]
I tried to mount my /dev/sdc HDD to /home.
Then I tried to create a symlink to /home because my sdc HDD is 16tb.
Basically, I got what I wanted, but now everything is complicated:
wget doesn't work.
...
0
votes
0
answers
80
views
Create encrypted home after Ubuntu LTS 22.04 installation
I would like to create an encrypted home directory for my users on already installed ubuntu. What is the best way to do this ?
Kind regards,
Sylvain
1
vote
1
answer
42
views
show desktop not Home
I have my computer with dualboot Ubuntu 22.04.3 and Windows 11. My objective is to share the desktop information, images, documents, and downloads between both systems. The method I used was to create ...
-1
votes
1
answer
97
views
Why my home partition is 5gb and not showed in df -H nor Gparted?
after experiencing a persistent issue with Ubuntu (black screen after booting) that I was able to bypass sometimes by running the recovery mode or reinstalling Ubuntu from terminal (that was ...
0
votes
1
answer
38
views
how to move home screen folders to file manager?
Today Morning i using laptop then i restarting to my laptop then file manager folders coming to home screen so how to move home screen folders to main file manager please help?
1
vote
2
answers
2k
views
How do I decrypt a home folder from another machine using fscrypt?
I have 2 machines (machine1 & machine2) both running Ubuntu 18.04. Both machines use fscrypt to encrypt the home folder (using login passphrase). If I remove the hard disk (hd1) from machine1 and ...
1
vote
0
answers
107
views
why cannot umount an lvm partition?
I have an Ubuntu Server 22.04. The disks are managed using LVM partition. My /var partition needs a size increasing. So I thought to reduce the /home size, so that I could increase /var.
root@...
0
votes
1
answer
112
views
How can I take a '/home' on its own partition, and use it after distribution upgrade?
Current: 20.04 with /home on its own partition.
Target: Install 22.04 on '/', and then switch the (then-new) 'home' subdir, to utilize the separately-partitioned /home.
My concern includes user names &...
91
votes
10
answers
471k
views
How to find my current JAVA_HOME in ubuntu?
How to find my current JAVA_HOME in ubuntu? I have to set java_home path when installing maven.
0
votes
1
answer
24
views
Bungled up home screen (Desktop)
I was wondering if anyone has seen this and have a solution without a reinstall?home path folders and such on home screen
2
votes
3
answers
8k
views
What is this GPUCache folder that suddenly appears in the home directory?
This folder has been popping up even when I was still in 18.04. I've deleted it before and at random times it just appears again. I've tried hiding it but another folder that's not hidden appears. ...
0
votes
0
answers
51
views
Clean reinstall Ubuntu while recovering former account
While tinkering (too much) with my machine, I deleted some apparently key files from the Ubuntu kernel on v22.*. I then thought I could "clean" reinstall just the system from a USB (that ...
1
vote
3
answers
4k
views
How to delete/remove /home partition, and use / as home?
i dual boot with ubuntu and windows. I have a separate /home partition for ubuntu, which i want to delete and create a new partition out of it, which i will share between ubuntu and windows.
The ...
1
vote
0
answers
140
views
VirtualMin Changing default document_root for Virtual Servers
I am currently using the latest version of Virtualmin on an Ubuntu server. I need to migrate several websites from an old server to this new server. In the old server, all the websites are located in ...