Displaying 5 results from an estimated 5 matches for "unixperm".
2014 Jun 03
1
tftpd-hpa: unixperms and umask
Hello,
I have tried setting umask 0027 for tftpd, so files are created with
permissions 0640.
However, tftpd-hpa refused uploading a file with error
"must have global write permissions".
Looking at the source, I could avoid this issue by using "-p" option.
However, it also seems that the umask is not applied when the "-p" option is
used.
Can anyone explain this
2011 Jul 06
1
Compiling on Mac OS X
...Wstrict-overflow=1 -fvisibility=hidden -Werror -I/Users/samuel/Documents/Programming/Internet/xapian/xapian-core/include -g -O2 -o omega omega.o query.o cgiparam.o utils.o configfile.o date.o cdb_init.o cdb_find.o cdb_hash.o cdb_unpack.o loadfile.o utf8convert.o datematchdecider.o weight.o str.o unixperm.o urlencode.o /Users/samuel/Documents/Programming/Internet/xapian/xapian-core/libxapian.la libtransform.la -liconv
libtool: link: g++ -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Wshadow -Wstrict-null-sentinel -Wstr...
2009 Jul 19
3
[PATCH] tftpd.c: write a pid file in standalone mode
...case 'P':
+ pidfile = optarg;
+ break;
default:
syslog(LOG_ERR, "Unknown option: '%c'", optopt);
break;
@@ -507,9 +519,6 @@ int main(int argc, char **argv)
exit(EX_NOUSER);
}
- if (spec_umask || !unixperms)
- umask(my_umask);
-
#ifdef WITH_REGEX
if (rewrite_file)
rewrite_rules = read_remap_rules(rewrite_file);
@@ -517,6 +526,7 @@ int main(int argc, char **argv)
/* If we're running standalone, set up the input port */
if (standalone) {
+ FILE *pf;
#ifdef...
2004 Jan 13
1
tftpd-hpa suggestions
Hello, Peter and others!
there are some issues regarding the tftp-hpa server:
1. Running as Windows service seems to require that the application does
not detach (otherwise "net start" says smth. like "could not start,
the service didn't report any errors").
The attached patch adds the option "-n", which can be used to have
tftpd run in foreground.
2009 Sep 05
5
[tftpd PATCH 0/5] pidfile option and syslog fix
Hi,
This is my current patch queue. The patches are independent, AFAIK,
so feel free to cherry-pick or reject them independently.
The bottom one was needed for a successful build here; the top one
contains all the modifications you requested on IRC, and more.
Meanwhile I hit one of the four stray TABs in tftpd.c, and decided to
get rid of them.
Comments welcome.
---
Ferenc Wagner (5):