From 973e868f6feffe69a043862bceafd2651b0f4234 Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Tue, 2 Apr 2024 02:00:18 +0100 Subject: [PATCH] add faq for user's private home directory --- docs/faq.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/faq.md b/docs/faq.md index 318b08dc..04e0f247 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -1 +1,24 @@ # Frequently Asked Questions + +Q1: Can a user access another user's home directory in JupyterLab? + +No. Every user's home directory is private to themselves and they cannot access contents +of any other user's home directory. Example below shows the permissions of user directories +in `/home`. + +```bash +$ ls -ltrh /home + +total 36K +drwx------ 9 john-doe example-user 4.0K Apr 1 19:22 john-doe +drwx------ 9 alice-doe example-user 4.0K Apr 1 19:34 alice-doe +``` + +```bash +john-doe@worker-01:~$ pwd +/home/john-doe + +# The user john-doe unable to access contents of user alice-doe's home directory: +john-doer@worker-01:~$ ls /home/alice-doe/ +ls: cannot open directory '/home/alice-doe/': Permission denied +```