You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2010/07/27 18:36:01 UTC
DO NOT REPLY [Bug 49656] New: Write bits for "group" and "other"
doesn't get set when creating new directories
https://issues.apache.org/bugzilla/show_bug.cgi?id=49656
Summary: Write bits for "group" and "other" doesn't get set
when creating new directories
Product: APR
Version: HEAD
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: APR
AssignedTo: bugs@apr.apache.org
ReportedBy: petterb@gmail.com
When creating a httpd module i'm unable to create a new directory with all
permissions (with method "apr_dir_make_recursive"). Most of the permissions are
set, except the write bits for group and other.
# From my httpd module
apr_dir_make_recursive(dirpath,
APR_FPROT_UREAD|APR_FPROT_UWRITE|APR_FPROT_UEXECUTE|APR_FPROT_GREAD|APR_FPROT_GWRITE|APR_FPROT_GEXECUTE|APR_FPROT_WREAD|APR_FPROT_WWRITE|APR_FPROT_WEXECUTE,
f->r->pool);
# ls -l
drwxr-xr-x 4 apache somegroup 4096 2010-07-27 15:58 dirname
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
DO NOT REPLY [Bug 49656] Write bits for "group" and "other" doesn't
get set when creating new directories
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49656
Jeff Trawick <tr...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Jeff Trawick <tr...@apache.org> 2011-03-12 08:27:54 EST ---
expected cause: your umask setting blocks those bits (google for umask)
a typical umask of 022 would disable the write bits for group and other even if
the application specifies them
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org