samba-3.0.9-1.3E.5 1. Create 2 users (sambaone and sambatwo) 2. Add them as members of a single group (testrecycle) 3. Make a share available one a client, with the vfs recycle bin as explained in: http://www.redhat.com/advice/tips/sambatrash.html 4. As sambaone, create a file (messages) on the share 5. As sambatwo, rm the file just created (messages) The touch (which uses utime) will fail: recycle:touch = Yes [2005/10/03 13:07:37, 0] modules/vfs_recycle.c:recycle_do_touch(316) recycle: touching .recycle/sambatwo/./messages failed, reason = Operation not permitted The .recycle directory looks like: drwx--S--- 2 sambatwo testrecycle 4096 Oct 3 14:13 sambatwo drwx--S--- 2 sambaone testrecycle 4096 Oct 3 10:16 sambaone drwxrwsr-x 3 root testrecycle 4096 Oct 3 13:53 .. drwxrwsr-x 4 root testrecycle 4096 Sep 29 14:20 . The files in sambatwo look like: drwx--S--- 2 sambatwo testrecycle 4096 Oct 3 14:13 . drwxrwsr-x 4 root testrecycle 4096 Sep 29 14:20 .. -rw-rw---- 1 sambaone testrecycle 0 Oct 3 14:06 messages Running utime() (with the attached test case) on the messages file fails as well, because of the permissions on the directory.
Created attachment 119609 [details] utime.c
This issue is on Red Hat Engineering's list of planned work items for the upcoming Red Hat Enterprise Linux 3.8 release. Engineering resources have been assigned and barring unforeseen circumstances, Red Hat intends to include this item in the 3.8 release.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2006-0364.html