Latest Server related questions

Score: -1
NTFS Permissions
ad flag

I've created a folder called test1, a group called test_grp, I've created a test user called Jane Doe. I want the user to be able to create the file in the test1 folder but not delete. They're unable to delete John Doe's file, but, they are able to delete the file they created. Any idea how to fix this? The shared folder is on Server 2016; this is in a Domain environment.

Many, many thanks

Score: 1
Alex Misiulia avatar
Bash slash does't work in wildcards square brackets
ad flag

I'm curious why command ls -pd *[!/] or ls -pd *[!\/] doesn't match all files which don't end with /.

My use case is that I want to list only files inside the current working directory. I know that it's better to use find instead of ls but I want to understand in general is it possible to use / in square brackets in wildcards.

Score: 1
How to adjust SELinux to allow not so large file downloads in Apache?
de flag

I have a centos 7 server running Apache 2.4 that will happily allow users to download files until they get to a certain size. I've noticed the problem with mp4 video files; I host both low and full resolution files on the site. The low res files are usually less than 5 MB but the full res files can exceed 30 MB. The same script processes and copies them to the website and I can verify all the file pe ...

Score: 1
Clebson avatar
Pod coredns stuck in ContainerCreating state with Weave on k8s
us flag

First of all, let me thank you for this amazing guide. I'm very new to kubernetes and having a guide like this to follow helps a lot when trying to setup my first cluster!

That said, I'm having some issues with creating deploytments, as there are two pods that aren't being created, and remain stuck in the state: ContainerCreating

[root@master ~]# kubectl get nodes
NAME     STATUS   ROLES           AGE ...
Score: 0
Unchecking the "Register this connection's addresses in DNS" option does not remove DNS records
vn flag

On Windows Server 2016 I have two NICs, one of which has multiple IP addresses (172.x) and the other that has just one (192.x). On the NIC that's 172.x, I've unchecked the "Register this connection's addresses in DNS" checkbox in the DNS settings (see picture below). However, when I go to DNS Manager and check the entries for my domain, that server has the IP addresses for both NICs appearing in the lis ...

Score: 0
Arpan3t avatar
RADIUS NPS Proxy certificate based authentication
cn flag

Is it possible to configure an NPS RADIUS proxy to accept/forward computer certificates as authentication/call station ID? Previous setup was to push network profile through GPO to use computer certificate, but new office campus has own WAPs which they have a RADIUS proxy I've setup as a client on my RADIUS NPS to connect and they use attribute manipulation (email address as username) to direct auth re ...

Score: 0
Squid basic auth connection problems
fr flag

We are using squid proxy with basic authentication. Each user has it's own outgoing ip configured. See parts of our squid.conf:

# Authentication Basic Auth
auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/passwords
auth_param basic realm proxy
acl authenticated proxy_auth REQUIRED
http_access allow authenticated
http_access deny all

acl u0001 proxy_auth u0001
acl u0002 proxy_auth ...
Score: 0
Cannot reach LAN from Fedora 35 that is sharing Internet
cn flag

In my cable ethernet configuration, a Fedora 35 workstation has 2 network interfaces:

  1. if0 connected to an Internet router via DHCP
  2. if1 connected to the LAN with a static IP

Machines in the LAN are only connected to this Fedora 35 workstation, and all machines in the network can access Internet.

The problem: my Fedora 35 workstation folio cannot reach machines on the LAN (subnet 192.168.1.0/24). Ping a ...

Score: 0
AWS Elastic beanstalk cname with and without www
cn flag

So, I've got a website running in Elastic beanstalk on AWS and I have a custom domain name which points to it, which is managed in Route 53. When I set up the custom domain initially, I just looked up the IP of the default domain name (xxxx.eu-north-1.elasticbeanstalk.com) and then just created a couple of A records (with and without www) which pointed to that IP address and all was well

Then I  ...

Score: 0
How to check a single rule with ansible-lint?
in flag

How do I check just the yaml: truthy value should be one of [false, true] (truthy) and nothing else?

Score: 1
How to trigger GKE autoscaling decision on demand?
ca flag

The GKE autoscaling process makes what they call "decisions" about whether or not to autoscale. The logs will include details explaining why the process decided not to do anything (noDecisionStatus), which is cool. Search bait: This can also be seen as a notification with the text "Can’t scale up a node pool because of a failing scheduling predicate".

I've made some changes that should address the iss ...

Score: 0
Regexp for header_checks in postfix
om flag

All my users use outlook, so the From field reaches the postfix like this: From: "Name and Surname" [email protected]. I need a regular expression to change the address, I have this in the file header_checks:

/^(From: "(?:[^"]|"")*" <[email protected]>)$/ REPLACE From: "Reservas" <[email protected]>

and in the file main.cf have:

...
header_checks = pcre:/etc/postfix/heade ...
Score: 0
user3321266 avatar
Regex to remove certain patterns from urls
cn flag

So i've tried this multiple times but to no avail.

Basically, what I am trying to do is check if the URL has a certain language locale and remove it and do a 301 redirect to the parent url without the locale. For example, I have...

www.domain.com/mx/en-us/product/asset/23456768
www.domain.com/de/en-gb/product/asset/34565768
www.domain.com/ar/en-us/product/asset/34567788
www.domain.com/ar/en-us/affilia ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.