[Dovecot] Undeserved permissions error with g+s folder permissions

tlhackque tlhackque at yahoo.com
Tue Dec 18 21:13:39 EET 2012


On 18-Dec-12 13:39, Timo Sirainen wrote:
> On Sat, 2012-12-01 at 10:59 -0500, tlhackque wrote:
>> I have a (mbox/IMAP) directory under my mail directory with these
>> permissions:
>>
>> drwxrws--- 4 tlhackque mail 4096 Dec  1 10:34 Vendors/
>>
>> It contains a subdirectory:
>>
>> -rw-rw---- 1 thlackque mail 84805345 Dec  1 10:34 Vendors/AVendor
>>
>> If I try to rename the AVendor folder (client is Thunderbird 17.0), I
>> get this error:
>>
>>       Unable to rename across conflicting directory permisssions
>>
>> If I chmod g-s Vendors, the RENAME command succeeds.
> Where are you renaming it to and what permissions that directory has? I
> can't seem to easily reproduce this.
>
>
Thanks for looking at this!

Here it is from the top with every step from creating the subfolder thru 
the fail to success without -s, reproduced today:

On the server, in my ~mail directory:
|
||ls -ld Vendors
drwxrws--- 4 tlhackque mail 4096 Dec 18 13:56 Vendors/
ls -ld Vendors/Test
ls: Vendors/Test: No such file or directory

Right-click on Vendors in TB
New Folder
   Test
    Subfolder of Vendors
    [Server restricts]  x Messages only
    Create

ls -ld Vendors/Test
-rw-rw---- 1 tlhackque mail 0 Dec 18 13:58 Vendors/Test

Right click on Test
   Rename
    Test Rename
   RENAME

Brief pop-up with this text; retrieved from the TB Activity manager window:
The current command did not succeed.  The mail server for account 
(tlhackque) responded: [CANNOT} Renaming not supported across 
conflicting directory permissions.

chmod g-s Vendors; ls -ld Vendors
drwxrwx--- 4 tlhackque mail 4096 Dec 18 13:58 Vendors

Right click on Test
   Rename
    Test Rename
   RENAME

Succeeds
|
dovecot --version
2.1.10

Thunderbird 17.0

OS: cat /proc/sys/kernel/osrelease
2.6.22.14-72.fc6

SELinux is enabled, there are no errors in the log.

-- 
This communication may not represent my employer's views,
if any, on the matters discussed.



More information about the dovecot mailing list