Re[2]: [Samba] Recycle module permissions - a workaround

2004-02-23 Thread Fabio Muzzi
Hello rruegner,

Monday, February 23, 2004, 12:11:18 AM, you wrote:

r i just tested this and it doesnt work
r is a special vfs version needed?

No,  I'm  running  samba 3.0.2a, installed from the debian binary packages
found on samnba.org.

The complete share configuration is:

[discone]
comment = Disco generico
path = /ud0/discone/
read only = No
hide dot files = yes
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:maxsize = 1
recycle:repository = .recycle.%u

I have tested it again, and it works. My username is kurgan, and I get a
.recycle.kurgan folder with my deleted files in it.

I have not tried it (yet) with more than one user concurrently.


-- 

  Fabio Kurgan Muzzi

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Recycle module permissions - a workaround

2004-02-22 Thread Fabio Muzzi

  I   have  just  found  a  simple (yet not so elegant) workaround for the
  recycle  VFS  module  permissions  issue.  Recycled  directory is always
  created  with a 0700 permission, not allowing the use of the recycle bin
  in a share that should be group-writeable.

  The simple workaround is to set individual recycle bins, by setting

  recycle:repository=.recycle.%u

  this  makes  samba  create  a repository named .recycle.username for
  every user. Every repository has 0700 permissions, so other users cannot
  access  it, but the user who deleted the file can always recover it, and
  this  has  the  side  effect of letting the administrator (and the users
  too) be aware of who deleted a file.

  Also,  a  user  can  simply  browse  the  files  I have deleted in its
  personal  bin, as opposed to a common bin with hundreds of deleted files
  all together.
  

-- 

  Fabio Kurgan Muzzi

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Recycle module permissions - a workaround

2004-02-22 Thread rruegner
Hi,
i just tested this and it doesnt work
is a special vfs version needed?
Regards
- Original Message - 
From: Fabio Muzzi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, February 22, 2004 11:08 PM
Subject: [Samba] Recycle module permissions - a workaround



   I   have  just  found  a  simple (yet not so elegant) workaround for the
   recycle  VFS  module  permissions  issue.  Recycled  directory is always
   created  with a 0700 permission, not allowing the use of the recycle bin
   in a share that should be group-writeable.

   The simple workaround is to set individual recycle bins, by setting

   recycle:repository=.recycle.%u

   this  makes  samba  create  a repository named .recycle.username for
   every user. Every repository has 0700 permissions, so other users cannot
   access  it, but the user who deleted the file can always recover it, and
   this  has  the  side  effect of letting the administrator (and the users
   too) be aware of who deleted a file.

   Also,  a  user  can  simply  browse  the  files  I have deleted in its
   personal  bin, as opposed to a common bin with hundreds of deleted files
   all together.


 -- 

   Fabio Kurgan Muzzi

 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba