LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-01-2016, 02:32 PM   #1
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 924

Rep: Reputation: 61
Question Access-Your-Private-Data.desktop - Encrypted /home issue?


So after my success yesterday moving my webroot to /home/wh33t (https://www.linuxquestions.org/quest...ue-4175588469/)

I awake this morning to install Samba so I can use it as a file drop on my local network (that's not working yet, got a forum thread for that as well) and now my webserver is reporting to me the same error as before.

Code:
Forbidden

You don't have permission to access / on this server.
Not sure if setting up Samba at /home/wh33t/samba broke anything but perhaps it did.

So I start poking around I find this is my /home/wh33t/

Code:
wh33t@wh33tserv:~$ ls -l
total 0
lrwxrwxrwx 1 wh33t wh33t 56 Aug 31 03:03 Access-Your-Private-Data.desktop -> /usr/share/ecryptfs-utils/ecryptfs-mount-private.desktop
lrwxrwxrwx 1 wh33t wh33t 52 Aug 31 03:03 README.txt -> /usr/share/ecryptfs-utils/ecryptfs-mount-private.txt
And when I check out that readme:
Code:
wh33t@wh33tserv:~$ cat README.txt
THIS DIRECTORY HAS BEEN UNMOUNTED TO PROTECT YOUR DATA.

From the graphical desktop, click on:
 "Access Your Private Data"

or

From the command line, run:
 ecryptfs-mount-private
So from what I can tell, it's unmounted my home directory. I want to know why it did that, and perhaps running an encrypted home directory is not the best place for webroot and sambaroot? The reason I put the webroot in my home directory was so that I could easily write files to it with my regular username, and it would be encrypted. I considered encrypting the whole machine, but it makes remote reboots very difficult.

Any tips? Always appreciated!
 
Old 09-01-2016, 06:34 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by wh33t View Post
I want to know why it did that, and
You used private directory encryption instead of say /home partition encryption so "because you chose to" is the answer ;-p


Quote:
Originally Posted by wh33t View Post
perhaps running an encrypted home directory is not the best place for webroot and sambaroot?
Secure communication protocols (data in flight) and disk encryption (data at rest) are used for a purpose so align your method of encryption with your goals.
 
Old 09-01-2016, 07:43 PM   #3
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 924

Original Poster
Rep: Reputation: 61
Quote:
Originally Posted by unSpawn View Post
You used private directory encryption instead of say /home partition encryption so "because you chose to" is the answer ;-p



Secure communication protocols (data in flight) and disk encryption (data at rest) are used for a purpose so align your method of encryption with your goals.
I did? In order to get home encryption I think I just checked a box during the installer. My goal was to have anything in my home directory to be encrypted. Where did I make the mix up?
 
Old 09-03-2016, 02:53 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
No way to know: wasn't there when you configured your machine, but selecting whole disk or partition encryption is a task typically done when installing the OS. Home directory encryption options after OS install time are, depending on skills and available resources, more limited.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot access private data on old home folder slick58 Linux - Newbie 2 07-10-2016 06:30 PM
Cannot access my DOUBLE ENCRYPTED home using Live USB prashant24983 Linux - Laptop and Netbook 1 01-25-2016 08:30 AM
Home Directory-Private Rpm Data Base. theKbStockpiler Linux - General 4 05-02-2012 05:37 PM
[SOLVED] Access-Your-Private-Data.desktop what does it mean? shorto Linux - Newbie 4 09-17-2011 02:22 PM
LXer: Ubuntu’s Encrypted Home Directory: A Canonical Approach to Data Privacy LXer Syndicated Linux News 0 10-22-2009 10:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration