Find the answer to your Linux question:
Results 1 to 3 of 3
i want to do some operation like after saving a file (moving ,copying,..) the system need to ask that "DO you want to encrypt?" . If yes i am able ...
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    4

    help about file system in linux

    i want to do some operation like after saving a file (moving ,copying,..) the system need to ask that "DO you want to encrypt?" . If yes i am able to run the crypt module( which i already implemented..). Is it possible to invoke a encrypt module which i implemented in c language..

    I need to do it in GUI. FOr example consider i'm having a folder called 'A'.Through file browser(GUI) I'm moving one file named "file.doc" from 'B' directory to the 'A' directory. So without calling the actual mv command, it should be done with my script program (mycopy.sh) which contains the actual move command and call statement to my crypt module. How it can be done? please explain it...
    or
    but as of now i'm thinking this can be a solution.
    whenever a count of no. of files in a directory increased we can detect that a file has been copied(moved, or saved), in that directory. so i need a solution that it automatically detect and run that script program when count increases by one.

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,097
    Hi,
    probably fuse can help?
    There are a couple of encrypting fuse modules
    SourceForge.net: EncryptedFileSystems - fuse

    If you really want to get asked everytime a file changes..
    Then maybe inotify itself, or a userland tool for inotify can be used:
    inotify - Wikipedia, the free encyclopedia

    As for the gui: not my field of expertise
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Feb 2010
    Posts
    4
    thanks boss.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...