mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 23:21:38 +01:00
Remove HiddenServiceDirGroupReadable from or_options_t
...and also fix whitespace.
This commit is contained in:
parent
7203040835
commit
59e052b896
2 changed files with 2 additions and 6 deletions
|
@ -1988,8 +1988,8 @@ check_private_dir(const char *dirname, cpd_check_t check,
|
||||||
tor_free(process_groupname);
|
tor_free(process_groupname);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if(check & CPD_CHECK_MODE_ONLY) {
|
if (check & CPD_CHECK_MODE_ONLY) {
|
||||||
if(check & CPD_GROUP_OK || check & CPD_GROUP_READ) {
|
if (check & CPD_GROUP_OK || check & CPD_GROUP_READ) {
|
||||||
if (!st.st_mode & 0027) {
|
if (!st.st_mode & 0027) {
|
||||||
log_warn(LD_FS, "Incorrect permissions on directory %s a.", dirname);
|
log_warn(LD_FS, "Incorrect permissions on directory %s a.", dirname);
|
||||||
return -1;
|
return -1;
|
||||||
|
|
|
@ -4224,10 +4224,6 @@ typedef struct {
|
||||||
/** Should we send the timestamps that pre-023 hidden services want? */
|
/** Should we send the timestamps that pre-023 hidden services want? */
|
||||||
int Support022HiddenServices;
|
int Support022HiddenServices;
|
||||||
|
|
||||||
/** Create the Hidden Service directories
|
|
||||||
and hostname files group readable. */
|
|
||||||
int HiddenServiceDirGroupReadable;
|
|
||||||
|
|
||||||
} or_options_t;
|
} or_options_t;
|
||||||
|
|
||||||
/** Persistent state for an onion router, as saved to disk. */
|
/** Persistent state for an onion router, as saved to disk. */
|
||||||
|
|
Loading…
Add table
Reference in a new issue