[Samba] Samba 2.2.5 Recycle Bin file permissions

Oliver Thinnes O.Thinnes at pulsaar.de
Fri Jun 28 01:36:02 GMT 2002


I'm using here EXT3 with ACL support.

Neither 'normal' permissions nor ACL bits are modified. (samba 2.2.5 from mandrake package).

-----Original Message-----
From:	Giulio Orsero [SMTP:giulioo at pobox.com]
Sent:	Friday, June 28, 2002 8:06 AM
To:	Samba List
Subject:	Re: [Samba] Samba 2.2.5 Recycle Bin file permissions

On Thu, 27 Jun 2002 14:51:56 -0700, "Dan O'Connor" <dan at ferrarishields.com>
wrote:

>The new VFS recycle bin, however, sets the file permissions on deleted
>files/directories to 700. This means that only the user who
>modifies/deletes a file can access it in the recycle bin. Also, the

You have to edit recycle.c:

@@ -322,7 +323,7 @@
    pstring newdir;
 
    *newdir='\0';
-   mode=S_IREAD|S_IWRITE|S_IEXEC;
+   mode=S_IREAD|S_IWRITE|S_IEXEC|0010|0040;
    pstrcpy(tempstr,dname);
    y=tempstr;
    /* Create directory tree if neccessary */

This will grant read access to group.

-- 
giulioo at pobox.com

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





More information about the samba mailing list