Professional Web Applications Themes

Preventing Permanate Loss of Files - Linux Setup, Configuration & Administration

I am currently running samba, on a redhat 8.0 machine. One of my network users deleted a file that was critical from their workstation. I am looking to create a directory that will store the files deleted off the server (similar to a windows recycling bin) so I can permanatly delete them later. If anyone can reply with web addresses or information, I would greatly appreciate it. Thank You In Advance! Brad...

  1. #1

    Default Preventing Permanate Loss of Files

    I am currently running samba, on a redhat 8.0 machine. One of my
    network users deleted a file that was critical from their workstation.
    I am looking to create a directory that will store the files deleted
    off the server (similar to a windows recycling bin) so I can
    permanatly delete them later. If anyone can reply with web addresses
    or information, I would greatly appreciate it. Thank You In Advance!

    Brad
    Brad S Guest

  2. Moderated Post

    Default Re: Preventing Permanate Loss of Files

    Removed by Administrator
    Dave Uhring Guest
    Moderated Post

  3. #3

    Default Re: Preventing Permanate Loss of Files

    Brad S <bradakwwc.com> wrote:
    > So it is not possible to "force" samba into interperating the delete
    > command by workstations
    Samba doesn't "interpretate" commands, it only allows a client to see
    a directory as a locally-mounted-disk. Every operation performed by
    the client is performed directly on the filesystem.
    > scripts/methods for backing up directories on the linux machine on a
    ....hu....say again? Can't you use tar/cron to schedule a backup?
    > to read only after it hasn't been modified for x amount of days?
    use find ... -exec chmod to locate and change the status of files.

    Davide
    davide@yahoo.com Guest

  4. #4

    Default Re: Preventing Permanate Loss of Files

    On 6/26/2003 6:30 PM, someone claiming to be Brad S wrote:
    > So it is not possible to "force" samba into interperating the delete
    > command by workstations as a command to move that file into a
    > temporary directory?
    Look in to VFS for samba. Found in the samba source directory
    examples/VFS. Specifically, the recycle module in examples/VFS/recycle.
    You'll probly need to download the samba source as I don't know if RHL
    8.0's samba RPMs come with the VFS stuff installed.

    You could try, as root
    # locate recycle.so
    to see if you find the file recycle.so

    If you don't locate it, download the samba source.

    Once you compile and install the VFS stuff, just add something like:
    vfs object = /usr/local/samba/recycle.so
    vfs options = /etc/samba/recycle.conf
    to the share in your smb.conf file, and create the requisite
    recycle.conf file. There are examples that come with the samba source.

    Oooh... I just looked on my home RHL 8.0 system and recycle.so exists in
    /usr/lib/samba/vfs and a sample recycle.conf file exists in
    /usr/share/doc/samba-2.2.7/recycle.conf

    So this should be fairly painless for you.


    HTH,
    Tim

    Tim Wunder Guest

Similar Threads

  1. Preventing CD Copying
    By flashster in forum Macromedia Director Basics
    Replies: 2
    Last Post: November 30th, 03:31 PM
  2. zoom preventing
    By Sandra Berland in forum Macromedia Flash
    Replies: 2
    Last Post: November 11th, 10:59 PM
  3. Preventing Registry Changes
    By ThinIce in forum Windows Setup, Administration & Security
    Replies: 1
    Last Post: July 17th, 09:06 PM
  4. missing & damaged files preventing startup
    By kendal in forum Windows Networking
    Replies: 0
    Last Post: July 4th, 09:42 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139