~ubuntu-branches/ubuntu/wily/dovecot/wily

« back to all changes in this revision

Viewing changes to src/lib/mkdir-parents.h

  • Committer: Package Import Robot
  • Author(s): Jaldhar H. Vyas
  • Date: 2013-09-09 00:57:32 UTC
  • mfrom: (1.13.11)
  • mto: (4.8.5 experimental) (1.16.1)
  • mto: This revision was merged to the branch mainline in revision 97.
  • Revision ID: package-import@ubuntu.com-20130909005732-dn1eell8srqbhh0e
Tags: upstream-2.2.5
ImportĀ upstreamĀ versionĀ 2.2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 
11
11
/* Like mkdir_parents(), but use the given uid/gid for newly created
12
12
   directories. (uid_t)-1 or (gid_t)-1 can be used to indicate that it
13
 
   doesn't need to be changed. */
 
13
   doesn't need to be changed. If gid isn't (gid_t)-1 and the parent directory
 
14
   had setgid-bit enabled, it's removed unless explicitly included in the
 
15
   mode. */
14
16
int mkdir_parents_chown(const char *path, mode_t mode, uid_t uid, gid_t gid);
15
17
/* Like mkdir_parents_chown(), but change only group. If chown() fails with
16
18
   EACCES, use gid_origin in the error message. */