Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 316681

Summary: xfce-base/thunar-1.0.1 breaks umask after Create Folder operation
Product: Gentoo Linux Reporter: Ivan Ponomarev <gumanzoy>
Component: Current packagesAssignee: XFCE Team <xfce>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugzilla.xfce.org/show_bug.cgi?id=5376
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fix-umask-handling.patch from debian

Description Ivan Ponomarev 2010-04-22 15:28:36 UTC
xfce-base/thunar-1.0.1 breaks umask after Create Folder operation

any application runned from thunar after Create Folder operation save files with 0666 permissions

patch from debian fix it http://patch-tracker.debian.org/patch/series/dl/thunar/1.0.1-3/04_fix-umask-handling.patch

Reproducible: Always

Steps to Reproduce:
1.File/Create Document/Empty File
2.File/Create Folder
3.File/Create Folder
4.File/Create Document/Empty File

Actual Results:  
first file is created with correct permissions
first folder is created with correct permissions
second folder is created with 0777 permissions
second file is created with 0666 permissions


Expected Results:  
first file is created with correct permissions
first folder is created with correct permissions
second folder is created with correct permissions
second file is created with correct permissions
Comment 1 Ivan Ponomarev 2010-04-22 15:29:08 UTC
Created attachment 228773 [details, diff]
fix-umask-handling.patch from debian
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-04-22 15:41:59 UTC
+  22 Apr 2010; Samuli Suominen <ssuominen@gentoo.org>
+  +thunar-1.0.1-r1.ebuild, +files/thunar-1.0.1-fix-umask-handling.patch:
+  Fix umask handling after Create Folder operation wrt #316681 by Ivan
+  Ponomarev.