First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 146059
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Web Application Packages Maintainers <web-apps@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: madalexonline@yahoo.co.uk
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 146059 depends on: Show dependency tree
Show dependency graph
Bug 146059 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-09-02 17:42 0000
webapp-config 1.50.15 fails to correctly interpret any symbolic permission
string which sets no permissions for one of the categories. For example it
claims (after fixing the typo in the error handling, see bug #133530) that
"u=rw,g=r,o=" is invalid when it should interpret it as octal mode 0640.

The problem is the regular expression which each part is matched against in
WebappConfig/permissions.py which requires between one and three of r, w or x
to appear when it should be requiring between zero and three.
Line 54 of that file should change from:
valid = re.compile('^([ugoa]{1,4})([+-=])([rwx]{1,3})$')
to
valid = re.compile('^([ugoa]{1,4})([+-=])([rwx]{0,3})$')

------- Comment #1 From Péter Werner 2006-09-02 22:30:03 0000 -------
as a workaround you can use o-rwx

------- Comment #2 From Gunnar Wrobel 2006-12-31 02:47:15 0000 -------
Fixed in webapp-config-1.50.16. This version is available from my overlay
(http://overlays.gentoo.org/dev/wrobel) and will be moved to portage next week.

Thanks for the report and the fix!

------- Comment #3 From Gunnar Wrobel 2006-12-31 02:48:15 0000 -------
Marked fixed.

First Last Prev Next    No search results available      Search page      Enter new bug