search for: fchmod

Displaying 20 results from an estimated 202 matches for "fchmod".

Did you mean: chmod
2004 Apr 11
1
fchmod in do_mkstemp? (patch included)
Why is do_mkstemp fchmod-ing the temporary file? I was not able to figure this out from the CVS logs or my searches in the mail archives. Currently, do_mkstemp does this (*): mkstemp temporary file (which leaves it with 0600) fchmod temporary file (final perm & 0700) And then later it gets renamed t...
2005 Jul 06
0
[PATCH] Simplify Kerberos credentials cache code
...cname,sizeof(ccname),"FILE:/tmp/krb5cc_%d_XXXXXX",geteuid()); - - old_umask = umask(0177); - tmpfd = mkstemp(ccname + strlen("FILE:")); - umask(old_umask); - if (tmpfd == -1) { - logit("mkstemp(): %.100s", strerror(errno)); - problem = errno; - goto out; - } - - if (fchmod(tmpfd,S_IRUSR | S_IWUSR) == -1) { - logit("fchmod(): %.100s", strerror(errno)); - close(tmpfd); - problem = errno; - goto out; - } - close(tmpfd); - - problem = krb5_cc_resolve(authctxt->krb5_ctx, ccname, &authctxt->krb5_fwd_ccache); - if (problem) - goto out; + problem = s...
2011 Jun 16
7
[PATCH] replace fchmod()-based heartbeat with raindrops
...-) create mode 100644 test/unit/test_droplet.rb diff --git a/DESIGN b/DESIGN index eb9fbea..2c98c2f 100644 --- a/DESIGN +++ b/DESIGN @@ -76,14 +76,6 @@ Applications that use threads continue to work if Unicorn is only serving LAN or localhost clients. -* Timeout implementation is done via fchmod(2) in each worker - on a shared file descriptor to update st_ctime on the inode. - Master process wakeups for checking on timeouts is throttled - one a second to minimize the performance impact and simplify - the code path within the worker. Neither futimes(2) nor - pwrite(2)/pread(2) are sup...
2001 Jun 07
0
Patch for systems with no setreuid()
...on. */ +#undef HAVE_SETRESUID + /* Define if you have the setrlimit function. */ #undef HAVE_SETRLIMIT --- configure.orig Thu Jun 7 14:12:53 2001 +++ configure Thu Jun 7 14:13:40 2001 @@ -3184,7 +3184,7 @@ fi -for ac_func in arc4random atexit b64_ntop bcopy bindresvport_sa clock fchown fchmod freeaddrinfo futimes gai_strerror getcwd getaddrinfo getgrouplist getnameinfo getrlimit getrusage getttyent getusershell glob inet_aton inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove mkdtemp on_exit openpty realpath rresvport_af setdtablesize setenv setegid seteuid setlogin setproct...
2003 Apr 05
1
Missing components on configure
...kernels were removed from the system, so I'm not sure if that's the cause of it all or not. When I try to configure samba now, I get a lot of checks not found. For example: checking for strerror... no checking for chown... no checking for fchown... no checking for chmod... no checking for fchmod... no checking for chroot... no checking for link... no checking for fstat... no These are pretty common things to be checking for. I have Samba 2.2.6 on the system that I configured/compiled/installed in the past without any problems. I have configured and compiled MySQL, PHP, and Apache in the l...
2007 Jul 11
9
NFS cache flush tester
...ush the cache without having the NFS client send anything to server. Unfortunately all of the below ways do that. Results for Linux v2.6.15 and v2.6.18: Info: Testing attribute cache.. Info: Attr cache flush fchown(-1, -1): failed Info: Attr cache flush fchown(uid, gid): OK Info: Attr cache flush fchmod(mode): OK Info: Attr cache flush chown(-1, -1): failed Info: Attr cache flush chown(uid, gid): OK Info: Attr cache flush chmod(mode): OK Info: Testing data cache.. Info: data cache: Appends weren't noticed (ret = 0) Info: - Attribute cache flush helped Info: data cache (no caching): failed Inf...
2002 Nov 05
2
[PATCH] fix sftp to preserve permissions and uid/gid
...66; ! savemode = 0666; ! } if ((a->flags & SSH2_FILEXFER_ATTR_PERMISSIONS) && (a->perm & S_IFDIR)) { error("Cannot download a directory: %s", remote_path); *************** *** 931,939 **** /* Override umask and utimes if asked */ #ifdef HAVE_FCHMOD ! if (pflag && fchmod(local_fd, mode) == -1) #else ! if (pflag && chmod(local_path, mode) == -1) #endif /* HAVE_FCHMOD */ error("Couldn't set mode on \"%s\": %s", local_path, strerror(errno)); --- 984,992 ---- /* Override umask...
2009 Jul 10
2
v1.2.1 released
...nts to actually show them. + Improved some error messages. - pop3: AUTH PLAIN was broken when SASL initial response wasn't given. - mbox: New mailboxes were created with UIDVALIDITY 1. - quota-fs was defaulting to group quota instead of user quota. - Fixed ACLs to work with mbox. - Fixed fchmod(-1, -1) errors with BSDs - convert plugin / convert-tool: Fixed changing hierarchy separators in mailbox names when alt_hierarchy_char isn't set. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 byte...
2009 Jul 10
2
v1.2.1 released
...nts to actually show them. + Improved some error messages. - pop3: AUTH PLAIN was broken when SASL initial response wasn't given. - mbox: New mailboxes were created with UIDVALIDITY 1. - quota-fs was defaulting to group quota instead of user quota. - Fixed ACLs to work with mbox. - Fixed fchmod(-1, -1) errors with BSDs - convert plugin / convert-tool: Fixed changing hierarchy separators in mailbox names when alt_hierarchy_char isn't set. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 byte...
2010 Dec 02
0
samba3x troubles
...nhost = localhost scannedonly: hide_nonscanned_files = False scannedonly: allow_nonscanned_files = True full_audit:prefix = %u|%I full_audit:failure = none full_audit:success = connect disconnect opendir mkdir rmdir closedir open close read pread write pwrite sendfile rename unlink chmod fchmod chown fchown chdir ftruncate lock symlink readlink link mknod realpath full_audit:facility = local5 full_audit:priority = notice [production] comment = prod path = /var/share/production read only = No guest ok = no valid users = @prod, @top create mask = 666 directory mask = 777 force...
2015 Apr 22
3
Samba 4 slow write
Hi Louis, On Wed, Apr 22, 2015 at 01:15:21PM +0200, L.P.H. van Belle wrote: > Or.. > get the sources and recompile agains 14.04 > > use the following commands. > enable the deb-src in /etc/apt/sources.list > and run : > > apt-get build-dep sernet-samba > apt-get source sernet-samba -b > > you wil end up with .deb files ;-) yep, thanks - I'll check it
2004 Jul 06
3
posix
mainly question for the intel folks, any chance to rerun the ltp testsuites to see how we are doing these days with all the changes ? thanks :) Wim
2008 Jun 04
5
DO NOT REPLY [Bug 5520] New: Rsync cannot copy to a vfat partition on kernel 2.6.25+
https://bugzilla.samba.org/show_bug.cgi?id=5520 Summary: Rsync cannot copy to a vfat partition on kernel 2.6.25+ Product: rsync Version: 3.0.3 Platform: All URL: https://bugzilla.redhat.com/show_bug.cgi?id=449080 OS/Version: Linux Status: NEW Severity: major Priority: P3 Component: core
2018 May 30
3
DM 3.6.25 -> 4.x
...iso8859-15 force unknown acl user = Yes load printers = no printcap name = /dev/null disable spoolss = yes # Audit settings vfs objects = full_audit full_audit:prefix = %u|%I|%S full_audit:failure = connect full_audit:success = mkdir rmdir write pwrite rename unlink chmod fchmod chown fchown ftruncate full_audit:facility = local5 full_audit:priority = notice Greetz, Louis > -----Oorspronkelijk bericht----- > Van: Stefan G. Weichinger [mailto:lists at xunil.at] > Verzonden: dinsdag 29 mei 2018 18:32 > Aan: L.P.H. van Belle > Onderwerp: DM 3.6...
2008 Oct 07
2
1.1.4 and trouble over NFS
Hello, I have some trouble with the current setup (it's a testing environment): 2 server with Dovecot 1.1.4 from source (OS Debian testing 2.6.26) (name: "exim" and "exim2") 1 NFS server (OS Debian testing 2.6.26) I use NFS v.4, indexes shared over NFS. The relavant part of Dovecot configuration: dotlock_use_excl = yes mail_nfs_storage = yes mail_nfs_index = yes
2009 Oct 09
0
unicorn 0.93.3 - OpenBSD compatibility
...capable of fully buffering both the the request and response in between Unicorn and slow clients. * http://unicorn.bogomips.org/ * mongrel-unicorn at rubyforge.org * git://git.bogomips.org/unicorn.git Changes: This release fixes compatibility with OpenBSD (and possibly other Unices with stricter fchmod(2) implementations) thanks to Jeremy Evans. Additionally there are small documentation changes all around. Eric Wong (12): doc: expand on the SELF_PIPE description fchmod heartbeat flips between 0/1 for compatibility examples/init.sh: remove "set -u" configurator...
2001 May 22
1
[PATCH]: configure.in: Missing check for setvbuf
...eving revision 1.286 diff -u -p -r1.286 configure.in --- configure.in 2001/05/17 03:32:51 1.286 +++ configure.in 2001/05/22 11:59:54 @@ -460,7 +460,7 @@ AC_ARG_WITH(tcp-wrappers, ) dnl Checks for library functions. -AC_CHECK_FUNCS(arc4random atexit b64_ntop bcopy bindresvport_sa clock fchown fchmod freeaddrinfo futimes gai_strerror getcwd getaddrinfo getgrouplist getnameinfo getrlimit getrusage getttyent getusershell glob inet_aton inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove mkdtemp on_exit openpty realpath rresvport_af setdtablesize setenv setegid seteuid setlogin setproct...
2003 Apr 08
0
Need Help, trouble configuring/compiling Samba 2.2.8 on Redhat Linux 7.3
...kernels were removed from the system, so I'm not sure if that's the cause of it all or not. When I try to configure samba now, I get a lot of checks not found. For example: checking for strerror... no checking for chown... no checking for fchown... no checking for chmod... no checking for fchmod... no checking for chroot... no checking for link... no checking for fstat... no These are pretty common things to be checking for. I have Samba 2.2.6 on the system that I configured/compiled/installed in the past without any problems. I have configured and compiled MySQL, PHP, and Apache in the l...
2015 Dec 02
5
[PATCH] Receive multiple packets at a time
...a time, and then also using sendmmsg will again improve performance. Samuel --- configure.ac.original 2015-10-02 17:06:31.250034677 +0200 +++ configure.ac 2015-10-02 17:06:54.147546590 +0200 @@ -187,7 +187,7 @@ dnl Checks for library functions. AC_TYPE_SIGNAL -AC_CHECK_FUNCS([asprintf daemon fchmod flock ftime fork get_current_dir_name gettimeofday mlockall putenv random select strdup strerror strsignal strtol system time usleep unsetenv vsyslog writev], +AC_CHECK_FUNCS([asprintf daemon fchmod flock ftime fork get_current_dir_name gettimeofday mlockall putenv random recvmmsg select strdup str...
2015 Apr 23
0
Samba 4 slow write
...writev 2.00 0.013335 0 330139 readv 1.11 0.007445 0 1615613 geteuid32 1.09 0.007303 0 1615588 getegid32 1.03 0.006913 0 175074 open 0.83 0.005579 0 85025 fchmod 0.79 0.005256 0 520322 gettimeofday 0.74 0.004979 0 175924 close 0.63 0.004191 0 680256 setresuid32 0.60 0.004014 0 680256 setresgid32 0.52 0.003494 0 510193 s...