Questions tagged [home-directory]

directory in which all the settings and documents for a particular user are stored on a multi-user operating system

Filter by
Sorted by
Tagged with
0 votes
1 answer
68 views

Protect dot-directories in home, i.e. sticky bit but ignore parent ownership?

Obviously, I own my home directory. But this is a problem if I want to protect some of its children (in particular the dot-folders) with a sticky bit from accidents. Because the sticky bit on my home ...
sonofevil's user avatar
0 votes
2 answers
994 views

Linux - change default location of directories like Downloads, Documents, Pictures

I know there is a command (but I forgot it) that changes the default location of following directories: Documents Music Pictures Public Templates Videos ... I do not want to change the home ...
Pixelbog's user avatar
  • 103
0 votes
1 answer
654 views

useradd: create home AND another directory for user

I am aware that a new user's home directory can be created by doing sudo useradd -m -d /home/<username> <username>. However, let's say that I also want to make another non-home directory ...
5Pack's user avatar
  • 101
0 votes
1 answer
83 views

Windows 7 can not find the local profile after moving home directory in registry

I just installed an additional hard drive into my Windows 7 PC and want to move the home directory (D:\Users\Name) to the new hard drive. To do this, I robocopied the old directory to the new drive (...
Grisu47's user avatar
  • 101
3 votes
1 answer
67 views

Setting up a new mac to avoid "system" folders like Documents, Music, Desktop, etc

As a computational scientist, I spend a lot of time working on my macbook pro at the command line. I'm setting up a new laptop and it's time to rethink some of my setup. It's always bothered me that ...
glwhart's user avatar
  • 131
0 votes
1 answer
195 views

How to separate mixed Home directory files and User created files - Ubuntu 20.04

I have download android source code in /home/username/ directory, without creating separate folder(/home/username/folder). Now my home directory files and downloaded files are mixed. How to find and ...
sire's user avatar
  • 23
0 votes
1 answer
844 views

How to copy home directory from one WSL installation to another

I have been running "Ubuntu" with WSL 1 for several months, but realized it is time to upgrade to Ubuntu-20.04 with WSL 2. The installation itself went fine, but created a new home ...
intel_chris's user avatar
1 vote
1 answer
369 views

Why is the root user home dir isn't under /home

I know one of the reasons of /root not being under /home is because /home might be a different partition and we want to be able to log into the user root always. What are some of the other reasons for ...
ben shalev's user avatar
0 votes
1 answer
6k views

How to enlarge home directory on CentOS 7

I have an issue with the storage of my virtual machine which is running on CentOS 7. I'd like to enlarge the home directory which is currently completely used but there is clearly free space on the ...
Jaw. M.'s user avatar
1 vote
1 answer
1k views

How to start fzf from another directory than the current working directory?

I often use fzf to navigate the filesystem, especially the Alt-c key binding. When invoked, fzf generates a list from the current working directory. Is it possible to make fzf generate a list from a ...
Shuzheng's user avatar
  • 593
0 votes
0 answers
46 views

How to create a password protected working directory that can be accessed by my supervisor and I, as well as by Latex compiler?

The main idea is I want to limit the access to my Latex files which are located in my folder in Lab server. Due to Lab regulation, I cannot use online cloud service, e.g., Overleaf. I am open to any ...
Codelearner777's user avatar
0 votes
0 answers
342 views

Username in home directory path

I have a requirement to create new user home directories in a sub-directory of the username in a different base directory to the norm. The required location is /users/{user}/home. Currently, when a ...
KolonUK's user avatar
  • 212
0 votes
1 answer
8k views

MobaxTerm set default home directory for SSh session

In MobaxTerm, Putty saved sessions, I would like for it to open another directory rather than /home/myuser under SCP navigation. I am working in another dir and every time after opening the session I ...
Kenny's user avatar
  • 123
0 votes
1 answer
2k views

Ubuntu 18.04: Issue changing the default directories

I am dual booting Ubunto 18.04 and Windows 10 on a 2 disk set up that looks like this: ----Hard Drive A---- Ubuntu 18.04, Windows OS ----Hard Drive B---- Storage (NTSF) I have my OS's on one ...
JeremiahDuane's user avatar
1 vote
2 answers
7k views

OneDrive failing with Location Not Available after changing user directory

I've just gotten a replacement Surface 5 after my Surface 4 failed under a "flickergate" scenario. OneDrive was initially awesome to sync up a bunch of settings I had on my previous machine, however, ...
pchittum's user avatar
  • 141
1 vote
0 answers
24 views

Where are Firefox languages installed on Linux?

I have a word list called "Swedish Dictionary" installed. Where is this dictionary physically located on my hard disk? I'm asking about this addon: https://addons.mozilla.org/en-US/firefox/addon/g%C3%...
Stand with Gaza's user avatar
1 vote
1 answer
5k views

no such file or directory: /Users/username/.oh-my-zsh/oh-my-zsh.sh

I am using macOS+iTerm+ZSH. I changed my home directory name and name and now I am getting an error looks like down below: /Users/new_username/.zshrc:source:75: no such file or directory: /Users/...
Eren's user avatar
  • 45
0 votes
0 answers
195 views

Ldap - centos: cannot create home folder on login

I added session optional pam_mkhomedir.so umask=0047 skel=/etc/skel on my /etc/pam.d/system-auth but when I try to do su user I got something like Impossible to create and initialize ...
DDS's user avatar
  • 681
2 votes
0 answers
374 views

The correct way to redirect user folders to a network location

I run a Windows 2012 R2 server where much of my content is centralized (Photos, music, applications, shared documents, videos etc). To point each PC to this server I change the user shell folders in ...
user avatar
0 votes
2 answers
1k views

Why Is .html File In Root Directory Not Rendering In Browser? Shows Index Of/

Hello I just have a simple .html file in the root directory of my site: But when I visit that site in the browser, it's showing me index of/ and I have to click on test.html in order to display the ...
HappyHands31's user avatar
0 votes
1 answer
25 views

Could I have problems if I create directories inside /home?

On a laptop used exclusively by me, whit only one personal user account (i.e. let's call it myuser), there could be any problems or annoyances in creating directories inside /home but external to /...
Sekhemty's user avatar
  • 9,226
1 vote
1 answer
206 views

Can I share my home among multiple operating systems?

Is it possible to have on the same hard disk a single home partition (e.g. EXT4), shared by multiple operating systems? What I would like to do is to install Linux, HURD and DragonFlyBSD on the same ...
Pietro's user avatar
  • 1,709
2 votes
1 answer
626 views

What does double slash (//) directory mean in robots.txt?

You will get the following output with: curl https://www.ibm.com/robots.txt I delete many lines, keeping only part of it. User-agent: * Disallow: // Disallow: /account/registration Disallow: /...
scrapy's user avatar
  • 163
0 votes
1 answer
3k views

Device to boost wifi from ethernet port in wall

I have ethernet cabling throughout my house, but I have a dead spot for the wifi in one of the rooms of the older part of the house, so is separated from my router by a thick wall. There is a port in ...
MeanwhileInHell's user avatar
3 votes
2 answers
76k views

How to install when permission denied to /usr/local/bin/ [closed]

I need a quick help. I am a beginner so I think my problem is an easy one: Here it goes: I need to install a software application called muscle, and these are the steps from its website: wget http://...
104078's user avatar
  • 157
0 votes
1 answer
128 views

Can the default directiory be changed for multiple libraries at once (i.e. Documents, Pictures, Music)

As explained in Change Default directory of Documents and Settings?, Windows has a built-in option for moving the default library folders to different directories. (Ex: moving My Documents from C:\...
Stevoisiak's user avatar
0 votes
0 answers
562 views

Should $HOME or /var/opt/ be used for files that a user does not directly access but are user specific?

The linux file system standard https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard identifies /home/username/ as the location for a users files and settings. It also identifies /var/opt/ as ...
RidiculousRichard's user avatar
0 votes
1 answer
2k views

Getting Access denied message in command prompt

I recently installd python on my system and am trying to make a directory for python files in my Windows 8.1 system using the command prompt. When I write the following simple command in cmd, mkdir ...
Dark_Knight's user avatar
0 votes
0 answers
764 views

Limit a users access in vsftp to the home directory

I have the following setup: (1) raspberry pi 3 with Raspbian and vsftp. The goal is to be able to connect to the ftp raspberry with clients such as WinSCP or Filezilla. It is possible right now but ...
ftp.x32's user avatar
1 vote
0 answers
84 views

How to configure Apache to use a PHP installation in the home directory of a non-root user?

I compiled and installed PHP 7 as a non-root user (with the --prefix=${HOME}/php option) in his home directory on a Centos 6.8 server. There exists also a working system installation of Apache 2.2.15 ...
Simon Schürg's user avatar
2 votes
0 answers
2k views

FTP Can't see the content of some folders

I am using Filezilla server and I've created a user with all privileges on specific folder and sub folders, but unfortunately, when LIST some directories it shows that the folder is empty even though ...
Mostafa Alayesh's user avatar
1 vote
2 answers
7k views

how to move files from subfolder to parent folder?

How do you move all files inside subfolders into the parent folder. eg: move all mp3 files inside lots of folders into parent music folder?how to do from cmd? i want the simplest and easiest way to do ...
Saksham Goyal's user avatar
1 vote
2 answers
1k views

How much of the Windows Users directory should I copy to a new installation?

I am going to set up a fresh install of Windows 10 (I'm getting a new CPU and using the opportunity to install Windows onto an SSD). How much of my current Users/[username] directory will I be able to ...
erzet's user avatar
  • 33
1 vote
1 answer
54 views

Ubuntu home folder larger than sum of user folders

I'm running Ubuntu 14.04. I don't understand this: >> cd /home >> sudo du -shc * | sort -hr 13G total 13G myuser >> ls -a . .. myuser >> cd myuser >> sudo du -shc * |...
user2193268's user avatar
0 votes
2 answers
4k views

OS X what are default ownership and permissions for home directory?

In related questions I see instructions on how to set permissions. What is the default OS X permission for one's home directory. How is mine different? (See snippet): jbenniMac:~ jbenni$ pwd /Volumes/...
jbbenni's user avatar
  • 133
1 vote
1 answer
7k views

Can not find .gitconfig in user directory

I opened the CMD and go to my user folder. Inside is the .gitconfig file. When I do git config --global http.proxy http://127.0.0.1:3128 it says that the file/folder .gitconfig is not found! Why ...
HelloWorld's user avatar
-1 votes
2 answers
182 views

Home network visibility

I am setting up a network in my house and I am facing a problem. I cannot access my home NAS server that is currently under the second router from PCs that are connected to the main router, this image ...
Welite's user avatar
  • 19
0 votes
0 answers
216 views

How to monitor file/folder changes made while offline?

We are 4 friends, working on a project. Everyone works separately on a computer (windows), and all the files are stored in a shared network drive in one of the PCs. We want to monitor the changes ...
Omid1989's user avatar
  • 143
1 vote
0 answers
51 views

Re-restricting permissions to Documents directory (to only its user in Windows) after moving it (onto another NTFS partition)

I moved a user's Documents folder (let's call the user "Beta") to a separate partition by going to the user's My Documents folder, right-clicking, selecting Properties, clicking on the Location tab, ...
Lover of Structure's user avatar
0 votes
2 answers
66 views

Windows restores old home directory on each login

My main desktop is a Windows 7 Enterprise machine which is bound to a corporate Windows domain. My official user account is stored in the corporate domain / active directory. I can use any computer in ...
Lugaxx's user avatar
  • 101
0 votes
0 answers
633 views

Unable to mount ecryptfs home, after years of uninterrupted work

I have old machine with Ubuntu updated from 11.04 to 15.04, with encrypted $HOME like described here. Around two-three years after installation (around about one year or two years ago) username was ...
JustMe's user avatar
  • 101
0 votes
2 answers
99 views

Comparing files in folders in windows

I am in need of a solution that allows me to compare a sum of of files within two different directories. I was performing a half terabyte copy to Onedrive for business from a NAS device when some ...
Philayyy's user avatar
  • 129
1 vote
0 answers
78 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 ...
Jordan's user avatar
  • 153
0 votes
1 answer
2k views

how can I restrict access to a folder or file to prevent users from opening it

I have some files and one folders that are private. I don't want the users able to see them. I want to show them a message contained 'this file (or folder) is limited and you can not open it'. until ...
Shafizadeh's user avatar
2 votes
2 answers
491 views

User moved root directory into subdirectory, or tried to, machine unresponsive

A particularly special user of mine inadvertently ran a command to move files that looked something like this: mv /* /home/ubuntu/GS14K/ This led to a series of errors: mv: cannot move /bin' to /...
monkeymatrix's user avatar
0 votes
1 answer
7k views

Windows 7 - What happens when you delete the AppData folder? [duplicate]

What happens when you delete the entire C:/Users/Username/AppData folder? I haven't used my Windows boot in a while and want to make space on my harddrive. But if I decide to use Windows again, I don'...
user20150517's user avatar
2 votes
1 answer
207 views

User preferences (home) vanished after a power outage (Ubuntu + MATE)

After a power outage I've noticed almost nothing in my Ubuntu desktop is as if it was before. My home folder appears to be just fine, as are my desktop files. However, Compiz had no preferences setup ...
igorsantos07's user avatar
  • 1,284
1 vote
0 answers
5k views

0x8007054f an internal error occurred trying to create file

In a scenario where a Windows domain controller was configured with Folder Redirection (for its domain users) to an existing set of folders on a Mac Server, that is/was being used by Mac domain users, ...
Reece's user avatar
  • 333
2 votes
1 answer
3k views

Cannot write to /home directory even as root user

I am trying to create a directory as a root in /home but I get the following error: mkdir: cannot create directory `foo': Permission denied I have checked the permissions by running ls -ld /home is :...
user3711775's user avatar
4 votes
2 answers
1k views

Starting a chroot and drop into nonprivileged user home

I need to (temporarily) jail a non-privileged user. I tried something like: sudo chroot --userspec=mcon:users /wherever/chroottarget /bin/bash -i This almost works, but it doesn't set env vars (...
ZioByte's user avatar
  • 531