Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97577 - media-video/dvdbackup ignores umask on directory creation.
Summary: media-video/dvdbackup ignores umask on directory creation.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-01 00:14 UTC by David Brown
Modified: 2005-12-17 17:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix permissions on mkdir. (dvdbackup-mkdir.patch,1.04 KB, patch)
2005-07-01 00:15 UTC, David Brown
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Brown 2005-07-01 00:14:36 UTC
The 'mkdir' calls in dvdbackup.c should use a mode of 0777 to allow the user's 
umask to determine permissions on directories.  As it is now, copied DVD files 
are not accessible by other users.

Reproducible: Always
Steps to Reproduce:
1. Use dvdbackup to read a dvd image.
2. Note permissions on the newly created directories.

Actual Results:  
Permisions are drwx------

Expected Results:  
Permissions should be drwxr-xr-x according to my current umask of 022
Comment 1 David Brown 2005-07-01 00:15:02 UTC
Created attachment 62379 [details, diff]
Fix permissions on mkdir.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-17 17:49:36 UTC
Thanks applied in CVS.