2 votes

Simplest way to use Powershell 7 on Windows to set ownership and permissions on files and directories?

I also don't like the standard Microsoft.PowerShell.Security module that is shipped with PowerShell and all of this Get-Acl, Set-Acl stuff. I like to use the NTFSSecurity Module. You can install that ...
  • 8,200
1 vote
Accepted

Disney+ just got installed without my permission

Yes, Windows can "push" applications onto your PC. The PC manufacturer can also install possibly unwanted apps, termed bloatware, such as trial versions of an antivirus. There are a few ...
1 vote

Why "effective UID" of the process is not changing to the file's owner UID?

Setting the suid bit of a shell script is ineffective. Shell scripts aren't forked using exec*() like executable programs are. Instead, the shell does a fopen( shell_script, "r" ); and ...
1 vote
Accepted

How can I automatically remove the Read-only attribute for newly downloaded or unpacked files in Windows 10?

You can accomplish this easily if you're willing to use portable third-party software such as NewFileGo. Download NewFileGo and run it. Click "Add New Watcher". Type in the directory path ...
  • 10.8k
1 vote

Windows 7 Firewall stopped working after I changed permissions for the registry key SharedAccess

To redo the permissions of SharedAccess, from my Windows 10 : users has only the Read permissions everyone is not present at all, and probably only required for access from the local network. If you ...
  • 416k
1 vote

Change directory and subdirectories and all files permission

I suppose you want to change the owner of a folder recursively. You can use the following command : chown -R www-data:www-data /path/to/your/folder chown is the command to CHange OWNer -R is an ...
1 vote
Accepted

What's wrong with my directory file permissions and how to copy directory's file permissions to another directory?

I think the key here is you mentioned “Microsoft Server Management Studio” and you’re trying to restore a backup. I think you mean SQL Server Management Studio. If that is the case, it is not YOU who ...
  • 11.2k

Only top scored, non community-wiki answers of a minimum length are eligible