Bug 486146

Summary: ecryptfs-setup-private creates links with non-existing files
Product: [Fedora] Fedora Reporter: Piergiorgio Sartor <piergiorgio.sartor>
Component: ecryptfs-utilsAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: esandeen, karsten, kevin, mhlavink
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 73-1.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-09 16:14:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Piergiorgio Sartor 2009-02-18 16:40:50 UTC
Description of problem:
In order to setup the automatic mount on login of the encrypted ~/Private folder, the tool ecryptfs-setup-private is used.
This tool, among all, creates the folder ~/Private, with permission 500 (r-x------), and it puts some links to files inside this folder.
These links are visible when ~/Private is not mounted (or, better, when ~/.Private is not mounted on ~/Private).

These linked files are:

Access-Your-Private-Data.desktop ->
/usr/share/ecryptfs-utils/ecryptfs-mount-private.desktop
README.txt -> /usr/share/ecryptfs-utils/ecryptfs-mount-private.txt

Unfortunately, these file do not exists.

Version-Release number of selected component (if applicable):
ecryptfs-utils-70-1.fc10

How reproducible:
Always on clean setup. If ~/Private already exists, being non writable, results in the error: Cannot create symbolic link (or similar).

Steps to Reproduce:
1.
Execute "ecryptfs-setup-private" from clean setup, i.e. without ~/Private folder.
  
Actual results:
Everything is setup fine, but the links inside ~/Private point to non-existing files.

Expected results:
The file linked should be there.

Additional info:
Version 61 of the ecryptfs-utils was creating a link to /sbin/mount.ecryptfs_private, which was OK.

I guess the two missing files just need to be added to the rpm package, if they exist somewhere.

Thanks,

piergiorgio

Comment 1 Michal Hlavinka 2009-03-21 07:33:34 UTC
fixed in ecryptfs-utils-73-1.fc10 and ecryptfs-utils-73-1.fc11

Comment 2 Fedora Update System 2009-03-21 09:24:48 UTC
ecryptfs-utils-73-1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/ecryptfs-utils-73-1.fc10

Comment 3 Piergiorgio Sartor 2009-03-21 09:40:23 UTC
Just in case, I can confirm this release fixes the issue.

Thanks!

pg

Comment 4 Fedora Update System 2009-03-23 15:52:32 UTC
ecryptfs-utils-73-1.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update ecryptfs-utils'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-2913

Comment 5 Fedora Update System 2009-04-09 16:14:01 UTC
ecryptfs-utils-73-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.