Bug 169865 - utime fails when group member moves file to the recycle bin
utime fails when group member moves file to the recycle bin
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: samba (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jay Fenlason
David Lawrence
Depends On:
Blocks: RHEL3U8CanFix
  Show dependency treegraph
Reported: 2005-10-04 11:49 EDT by Bastien Nocera
Modified: 2014-08-31 19:27 EDT (History)
2 users (show)

See Also:
Fixed In Version: RHBA-2006-0364
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-07-20 10:49:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
utime.c (291 bytes, text/plain)
2005-10-04 11:49 EDT, Bastien Nocera
no flags Details

  None (edit)
Description Bastien Nocera 2005-10-04 11:49:17 EDT

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:
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

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.
Comment 1 Bastien Nocera 2005-10-04 11:49:19 EDT
Created attachment 119609 [details]
Comment 5 Bob Johnson 2006-04-11 12:16:30 EDT
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.
Comment 9 Red Hat Bugzilla 2006-07-20 10:49:06 EDT
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.


Note You need to log in before you can comment on or make changes to this bug.