31
votes
If I allow permissions to an application using UAC in Windows, can it hack my personal files or data?
On the contrary. The application can steal/delete/encrypt your stuff even without asking for elevated permissions (using an UAC prompt).
One MUST NOT run untrusted software, ever.
When you launch a ...
9
votes
Accepted
If I allow permissions to an application using UAC in Windows, can it hack my personal files or data?
The UAC (User Account Control) dialog typically pops up when a process requests a change that requires Administrator rights. Its primary purpose is to prevent unwanted changes without the user's ...
4
votes
Accepted
What permissions does a user need to run `git ls-remote`?
A system utility user 'gremlin' needs to check that this is a real Git repository
The various options of git rev-parse might also be suitable for that if you're looking to check whether it's a bare ...
4
votes
Accepted
Deleting file marked as read-only by owner
So from your image, the item in question is not inheriting any permissions, and has only explicit permissions for the OWNER. As it stands, even with administrator rights, you cannot change the ...
4
votes
Accepted
How to mount a public windows share in linux
Ensure the shared folder is properly configured on the Windows 10 machine:
Open the Folder Properties dialog for the shared folder.
In the Sharing tab, click on the "Advanced Sharing" button....
4
votes
Accepted
How to disable NTFS ownership enforcement on Win10 for Admins?
Windows does have a "security bypass" privilege (SeBackupPrivilege aka "Back up files or folders" for unrestricted read access and SeRestorePrivilege for unrestricted write), which ...
4
votes
Accepted
chmod setuid giving operation not permission even though the I am the owner
As you've found out, the filesystem that your files are on has been deliberately mounted with the 'nosuid' option to disable usage of setuid/setgid, presumably as a security precaution.
In addition to ...
4
votes
Accepted
How would I best solve putting HUGE personal files in drive D
I want to install onedrive. That requires around 1TB of space.
You'll have an option to change the OneDrive sync directory after installation.
Then I have to turn off the option for inheriting ...
3
votes
Accepted
Recursively change ownership to another user in windows
A user doesn't need administrator rights to use takeown if you grant them the "Take Ownership" permission on the objects first. (This is WO in icacls, and is included in "Full Control&...
3
votes
Accepted
Mounting a drive from my Synology NAS to my Raspberry pi system (Retropie): No write rights?
I believe that the mount command you are using is mounting the fgiles as root, which makes them readable and executable, but not writable by everyone (the third r-x).
The tmpfs is owned by user 1000 - ...
3
votes
Accepted
After MacOS Ventura 13.1 update, the only admin account became "standard" user. How to (re)authorize the admin account?
I finally resolved this SNAFU.
It may not have been necessary, but with Terminal, I was able to decrypt the FileVault protection See this online article using these commands:
diskutil apfs list # get ...
3
votes
MacOS Ventura can't give permissions (OpenCore)
This is an OpenCore issue that's actually related to Apple Mobile File Integrity (AMFI), not SIP. Do not set SIP back to On or your computer won't boot. The macOS 13.3.x update broke a lot of things ...
3
votes
Linux system not booting after chown of the root directory `/`
Unfortunately you can't undo the operation until you know who owned every single file and directory before (users and groups)... Which in general is quite difficult if you think that a Linux ...
3
votes
Accepted
Difference between './file' and 'sh file'
The sh interpreter has additional permissions that allow it to run file1.
No, it doesn't.
So why doesn't the interactive shell have permission to run the file, but at the same time has permission to ...
2
votes
Fix permissions of server after accidental chmod debian
I cannot recommend to execute this commands as it will break your system! The rights 755 for /usr, /lib/, /var, /sbin or /etc are not as they should be.
Sshlogin will not work afterwards, for example, ...
2
votes
Unable to run Apache under Windows: An attempt was made to access a socket in a way forbidden by its access permissions
While other answers have focused on finding and stopping whatever else may be running on port 80 (which is useful if indeed you WANT Apache listening on 80), another option would be to change Apache ...
2
votes
Give permission to acces /var/run/docker.sock on Synology NAS
The following works for me:
sudo synogroup --add docker <userid>
sudo chgrp docker /var/run/docker.sock
Once you have done this, you must log out from the shell for the changes to take effect (...
2
votes
Accepted
list of files (ls /dev) is different when run on command line vs. via crontab
It sounds like someone had the bright idea to enable PrivateDevices= for the crond service.
Use findmnt to verify what is actually mounted on /dev from both outside and inside a cron job. (This isn't ...
2
votes
How to restrict permission to execute system-wide on Windows
What you are trying to achieve is totally and absolutely Possible. In Windows, you can make things so strict that every single file that wants to run needs to be allowed by 4 types of hashes. But the ...
2
votes
Accepted
Is it possible to port-forward to a Unix domain socket using the permissions of a different user on the target host?
No, you literally have to ssh B@X for that to happen. The remote connections are made by the same sshd handler process that accepts your login – it does not use an external tool like nc/socat and ...
2
votes
Granular permission for a single KeePass database
There are only two solutions to your question :
Use an enterprise password product (costly)
Use multiple separate password databases (rigorous requirements).
For the first solution, there exist ...
2
votes
Prevent Windows Explorer to use "LocalizedResourceName" when renaming file or folder from Search result
I am seeing the behavior the OP describes.
Test folder with two subfolders:
Rename #1 via file folder:
Result of step #2:
Search: kind:Folder:
Rename #2
Result of step #5 (note the attribute ...
2
votes
Accepted
MacOS Ventura can't give permissions (OpenCore)
This is how I got it fixed:
Download tccplus and let it run in terminal
https://github.com/jslegendre/tccplus/releases/tag/1.0
Next run in terminal
codesign -dr - (and drag and drop the app from ...
2
votes
MacOS Ventura can't give permissions (OpenCore)
The instructions above with tccplus worked for me - but I couldn't enter the commands in one line in terminal. Instead when I got to this part I entered:
cd ~/Downloads/
chmod +x tccplus
./tccplus add ...
2
votes
Accepted
Who should be the owner for a user under C:\Users\UserName, Administrators or System?
The FIRST account which is created on a system during initial Windows setup, has "SYSTEM" as an owner of the C:\Users\usnerame\directory, because there is no administrator yet who could ...
2
votes
Can't change file permissions with chmod in mounted devices
Your HDD is currently formatted with a filesystem that does not support storing Unix style permissions. In particular, FAT and exFAT have no concept of permissions at all – whatever you set via mount ...
2
votes
How to securely permission SSH keys on my mac so they require sudo access to both use and copy
As I stated in the comments, this is not the right approach.
Instead, you should be using a passphrase for your private key (which I'm sure can be set up with your fingerprint aswell).
Alternatively, ...
2
votes
Lost all permissions to hard drive in windows 10
The reason reset and fresh install (of your OS on another drive) didn't help is because those aren't OS permissions, they are file system NTFS permissions which are stored as part of the file system ...
2
votes
Accepted
Unable to connect to server as root via ssh
It seems to me that this key is only for the user, but from the guides it seems that I can use it for root as well.
The guides have misguided you.
Each user has his or her own home directory and thus ...
2
votes
How to mount a public windows share in linux
It may be related to Windows's group policy
"Network access: Let "Everyone permissions" apply to anonymous users"
@ Computer Configuration\Windows Settings\Security Settings\Local ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
permissions × 4262linux × 1327
windows × 718
windows-7 × 534
file-permissions × 411
windows-10 × 370
ubuntu × 345
macos × 300
ssh × 196
security × 188
ntfs × 162
apache-http-server × 159
user-accounts × 137
unix × 133
administrator × 130
chmod × 128
mount × 122
command-line × 115
sudo × 115
acl × 115
bash × 111
centos × 89
network-shares × 88
samba × 84
windows-8 × 83