From 3a6c2069d77176bfa2b379ef711034396c477791 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 14 Jan 2000 01:41:04 +0000 Subject: Added "inherit permissions" patch. Fixed locking bug found by Andrew. Jeremy. (This used to be commit 38dffd360dc2e44bfc9e751f017e24f81ff0f2fa) --- source3/include/proto.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index e2d6c2e5d4..c3bbb505a2 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -347,6 +347,7 @@ char *smbd_mktemp(char *template); void *memdup(void *p, size_t size); char *myhostname(void); char *lock_path(char *name); +char *parent_dirname(const char *path); /*The following definitions come from lib/util_array.c */ @@ -1336,6 +1337,7 @@ BOOL lp_dos_filetimes(int ); BOOL lp_dos_filetime_resolution(int ); BOOL lp_fake_dir_create_times(int ); BOOL lp_blocking_locks(int ); +BOOL lp_inherit_perms(int ); int lp_create_mask(int ); int lp_force_create_mode(int ); int _lp_security_mask(int ); @@ -2612,7 +2614,7 @@ void DirCacheFlush(int snum); /*The following definitions come from smbd/dosmode.c */ -mode_t unix_mode(connection_struct *conn,int dosmode); +mode_t unix_mode(connection_struct *conn,int dosmode,const char *fname); int dos_mode(connection_struct *conn,char *path,SMB_STRUCT_STAT *sbuf); int file_chmod(connection_struct *conn,char *fname,int dosmode,SMB_STRUCT_STAT *st); int file_utime(connection_struct *conn, char *fname, struct utimbuf *times); -- cgit