provide more options to ecryptfs-setup-private

Bug #301759 reported by Jamie Strandboge
6
Affects Status Importance Assigned to Milestone
eCryptfs
Fix Released
Medium
Dustin Kirkland 
ecryptfs-utils (Ubuntu)
Fix Released
Wishlist
Dustin Kirkland 

Bug Description

Binary package hint: ecryptfs-utils

It would be nice if ecyptfs-setup-private could be used to setup ecryptfs partitions in a generic way. Eg:

$ ecryptfs-setup-private -d $HOME/foo -n

Where '-d $HOME/foo' tells ecryptfs-setup-private to use $HOME/foo instead of ~/Private and '-n' tells ecryptfs to not perform auto-mounting. The idea behind this is to support:

1. ~/Private (like now)
2. ~/foo (auto-mounted)
3. ~/bar (not auto-mounted)
4. any combination of the above

This is useful for when you may want an auto-mounted ~/Private for frequently accessed data, but a separate non-auto-mounted area for things that are only infrequently accessed.

Changed in ecryptfs-utils:
importance: Undecided → Wishlist
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Thanks for the report, Jamie.

I'm actually working on the first part of this (arbitrarily choosing where to perform the mount) as part of the encrypted $HOME work.

The latter (do-not-automount, do-not-autounmount), is also easy to add, and a good idea.

The more complicate aspect of your request is the ability to have multiple Private directories, each being handled independently. I'll need to give some thought as to the best way to handle this...

:-Dustin

Changed in ecryptfs:
assignee: nobody → kirkland
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Okay, this should be trivial to implement. I'll do this.

:-Dustin

Changed in ecryptfs-utils:
assignee: nobody → kirkland
status: New → Triaged
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Fix committed upstream. This will be in ecryptfs-utils-72 when released.

:-Dustin

Changed in ecryptfs:
status: Triaged → Fix Committed
Changed in ecryptfs-utils (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ecryptfs-utils - 72-0ubuntu1

---------------
ecryptfs-utils (72-0ubuntu1) jaunty; urgency=low

  [ Dustin Kirkland ]
  * src/utils/ecryptfs-[u]mount-private: print message about cd $PWD,
    LP: #332331
  * doc/manpage/*: manpage updates
  * debian/ecryptfs-utils.prerm: prevent removal of ecryptfs-utils
    package, if in use, LP: #331085
  * src/utils/ecryptfs-setup-private:
    - allow for LDAP-based logins, LP: #317307
    - add --noautomount, --noautoumount options, LP: #301759

  [ Tyler Hicks ]
  * src/libecryptfs/cipher_list.c: ignore unknown ciphers, LP: #335632
  * doc/manpage/ecryptfs.7: add key sig mount options info, LP: #329491
  * src/utils/mount.ecryptfs.c: scrub unknown option

  [ James Dupin ]
  * doc/manpage/fr/*: initial cut at french manpages

  [ Michal Hlavinka ]
  * src/libecryptfs/module_mgr.c: fix mount parameter handling on
    interactive mounting, LP: #331948

 -- Dustin Kirkland <email address hidden> Wed, 18 Mar 2009 18:53:11 -0500

Changed in ecryptfs-utils:
status: Fix Committed → Fix Released
Changed in ecryptfs:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.