WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: encFS - a simple way to encrypt dropbox folders  (Read 15925 times)

Offline caminati

  • Full Member
  • ***
  • Posts: 184
    • Homepage
Re: encFS - a simple way to encrypt dropbox folders
« Reply #30 on: November 07, 2012, 01:48:29 PM »
Oh, now I can see what's happening....

Some tce.installed scripts (e.g.: alsa.tcz) do:
Code: [Select]
udevadm trigger
If you run this without --action parameter then default action is "change"... So rules with ACTION=="add" are skipped, devices are preserved BUT permission is set to default mode (600):

Code: [Select]
[...]
udev_node_mknod: preserve file '/dev/fuse', because it has correct dev_t
udev_node_mknod: set permissions /dev/fuse, 020600, uid=0, gid=0
[...]

Thanks for your analysis.
You seem to be one of the ones having deepest insight here about udev stuff.
What is the appropriate way to deal with the problem?
Maybe amending all the extensions blindly doing
Code: [Select]
udevadm trigger ?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11041
Re: encFS - a simple way to encrypt dropbox folders
« Reply #31 on: November 07, 2012, 02:25:28 PM »
Removing the "ACTION" clause from fuse.tcz ought to do.

Note that the change action is the correct one, calling add would re-add all existing devices which could break things.
The only barriers that can stop you are the ones you create yourself.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: encFS - a simple way to encrypt dropbox folders
« Reply #32 on: November 17, 2012, 05:07:25 AM »
hi friends,

thank you for all your helpful replies.
i solved my last issues with an own meta-package,
but what could we do that it works with the standard-packages in the repository?

i guess that fuse.tcz should be optimized?
or ought there be changes in encfs.tcz, too?

thank you for further hints or recommendations...
« Last Edit: November 17, 2012, 05:10:29 AM by netnomad »

Offline danielibarnes

  • Hero Member
  • *****
  • Posts: 548
Re: encFS - a simple way to encrypt dropbox folders
« Reply #33 on: November 17, 2012, 08:46:07 PM »
Netnomad just brought this thread to my attention. I am doing some research on the the issue. Is there a consensus on the change which should be made to the fuse extension?

Thanks,
Daniel

Offline caminati

  • Full Member
  • ***
  • Posts: 184
    • Homepage
Re: encFS - a simple way to encrypt dropbox folders
« Reply #34 on: November 19, 2012, 05:11:35 AM »
Netnomad just brought this thread to my attention. I am doing some research on the the issue. Is there a consensus on the change which should be made to the fuse extension?

Thanks,
Daniel

I didn't grasp the last comment by curaga. However,  AmatCoder's solution (see http://forum.tinycorelinux.net/index.php/topic,14326.0.html) is working for me.
Maybe someone wants to test it (unsquashfs fuse.tcz; append the two lines to usr/local/tce.installed/fuse, followed by a newline; mksquashfs into a.tcz; substitute fuse.tcz with a.tcz; do all this as root) further?