Questions tagged [file-permissions]

Most current file systems have methods of administering permissions or access rights to specific users and groups of users. These systems control the ability of the users to view or make changes to the contents of the filesystem.

Filter by
Sorted by
Tagged with
0 votes
1 answer
119 views

NTFS permissions on Windows file server

We are in the process of migrating a mess of a file server to a new server. At the moment we have a lot of different shares and we are replacing these with a single share (for example "Shared&...
user1274692's user avatar
0 votes
1 answer
691 views

How do you use Umask in Linux for creating default special permissions like setuid, setgid, and sticky bits?

How do you use Umask in Linux for special permissions like setuid, setgid, and sticky bits?
vikram singh's user avatar
0 votes
0 answers
113 views

proper way of using setuid permission in linux [duplicate]

I created two file , one abc.sh and another myfile . The content of abc.sh is : #!/bin/bash echo "hi" >> myfile The current permission and owner for both file is: abc.sh : rwsrw-r-x ...
vikram singh's user avatar
1 vote
1 answer
2k views

set default file permission to read, write and execute in linux

I need to set default file creation permissions for everyone to 777 [rwx], however umask uses 666 for files: If I need permissions to be 444, I would issue umask 222 [666 - 222 = 444], but the ...
vikram singh's user avatar
0 votes
1 answer
273 views

Is it possible to give users read permission on a specific file but also prevent the user from being able to see the actual file in the directory?

I have master data that has some sensitive information and would like to limit user access to. The data is used to for automated report generations in excel to pull non-sensitive fields, so I would ...
Terrence's user avatar
1 vote
1 answer
230 views

Safest Way to Deny Access to All Files for Git Runner Service Account?

I have a GitLab Runner and my coworkers are worried commands like - Remove-Item $SOME_FOLDER* -Recurse -Force can be dangerous. For example, if the GitLab Runnier has admin privileges, then ...
Shawn Eary's user avatar
1 vote
1 answer
3k views

Windows Server 2019 - Cannot take ownership of file

I know that this question has been asked before, but all threads are very old and none of the answers has fixed my problem. I was working on a Power BI report and all of a sudden found that my report ...
Mohammad's user avatar
0 votes
1 answer
1k views

Fix permissions on the /etc/ directory Mac

I accidentally changed all the owner permissions of the /etc/ directory in Mac OS High Sierra to user:_www when trying to change the ownership of a website folder. I guess these files usually have ...
I'm Root James's user avatar
4 votes
2 answers
1k views

File developer cannot be verified error

I'm trying to run my project's executable on macOS, but I have this error message [“_pickle.cpython-38-darwin.so” cannot be opened because the developer cannot be verified.] Error message shown in ...
Khaled Asfur's user avatar
1 vote
1 answer
5k views

"Your OneDrive folder can't be created in the location you selected" error when moving OneDrive to C drive

I have Windows 10 version 2004 (build 19041.746) on my desktop computer My OneDrive version is 2021 (Build 20.219.1029.007) I have OneDrive folder at default: C:\Users\MyUsername\OneDrive I want to ...
Kenny's user avatar
  • 55
4 votes
2 answers
9k views

How to see file permissions and ownership in git bash (Windows 10)?

When I do ls -l, all files appear to have the same user, and all appear to have same permissions: regular files have -rw-r--r-- executables have -rwxr-xr-x directories have drwxr-xr-x Regardless of ...
Marjeta's user avatar
  • 151
2 votes
1 answer
934 views

Can't write to certain directories. It says "The system cannot find the file specified." Need help troubleshooting

Sorry if this is the wrong place to ask, but I don't know where else I should ask. (I previously asked this on StackOverflow, and was told to ask here.) On my development computer, which is Windows 10,...
Theemathas Chirananthavat's user avatar
0 votes
0 answers
87 views

Preserve NTFS permsions while copy from windows to samba?

Ηellow Everybody, I have this huge nightmare between windows ntfs and samba share. I am using the samba share mostly for backup data to format and then copy back their data. For this process i am ...
Constantine's user avatar
0 votes
1 answer
4k views

Permission denied on RHEL 8

I'm from windows background and almost have no idea how to operate Linux (or AWS). So, I've developed an application and deployed it on AWS. I will summarize what I have done so far and what I have ...
Saud's user avatar
  • 101
2 votes
1 answer
196 views

How to give permanent UACs permission to an application?

I've installed some programs that always require permission to run (like aText, Cmder, clover .... etc), I gave them the permissions they needed once I installed them, but whenever I try to run them ...
Ash -Alcatraz- 627's user avatar
1 vote
1 answer
24 views

Permissions after swapping NAS drives

I’ll start with a list of facts: I had a 1gb drive connected to my NAS. I use rsync to backup a /folder with many subdirectories for a server (bbs software) in which the permissions and file ...
Paul Lee's user avatar
0 votes
0 answers
687 views

Group policy file access via wildcards

We have a scanning folder for every user on our NAS, this scan folder is used by our copy machine which "connects as the user" to the NAS and uploads the file there. We have started to ...
Daniel Procházka's user avatar
-1 votes
2 answers
53 views

Can a user's home folder files on windows be accessed from a dual-booted operating system?

I have files, like private keys, stored in my home folder on Windows 10: C:\Users\Me\.ssh\id_rsa Is this file readable from a dual booted/USB booted OS like Ubuntu?
hazrmard's user avatar
  • 205
0 votes
1 answer
387 views

Share all files between all admin users on Mac OSX Catalina

I'm using a Mac running Catalina, and I have several users set up to do different things. ALL THE USERS ARE ME - I just want different desktops for work, home and one other with music apps. I want to ...
Leon's user avatar
  • 111
1 vote
1 answer
567 views

How do I restore rsync backup files with the correct owner on a new machine?

I have backed up my home folder to an external (ext4) hard drive, preserving ownership and permissions. Now I want to do a fresh Linux install and then restore my home folder from the backup. But the ...
Campground's user avatar
0 votes
0 answers
473 views

Run a script with a different user credentials implemented

I have a VBS script that create folders and subfolders. dim filesys, newfolder, newfolderpath, number, address number=inputbox("Please enter the request number to create","Request ...
Alain's user avatar
  • 1
1 vote
0 answers
159 views

Windows Server 2019 Prevent Duplicate Files from being created as well as configuring group permissions

I am adding a new folder structure to Windows Server as a file share. I have several user (security) groups: estimators, project managers, and salespeople. Each group has users in it. However, when I ...
Jeremy Myrtle's user avatar
1 vote
0 answers
418 views

What is the default user for Windows 10 services?

I'm using Sickchill, which runs as a service. Unless I give everyone full control to the show folders, I get a "permission denied" error for the show folder from the Sickchill service. The ...
glenviewjeff's user avatar
  • 1,734
0 votes
1 answer
21 views

Prevent Direct access to original subst folder on Windows

I have this subst rule in my Windows 10 PC. d:\Media => E: But the problem is that all search-related program shows two copy of the folder, which is annoying. Some of them have exclude directory ...
DrAnonymous's user avatar
0 votes
1 answer
109 views

Permissions issue on external drive after reinstalling windows

I have had to reinstall windows, but am now unable to read or edit certain documents on my external drives that I set up before the reinstallation. I have set file permissions for Everyone manually, ...
user2980115's user avatar
1 vote
0 answers
87 views

How I mount a writeable sparsebundle as writeable?

I created a sparsebundle with my admin user. Mounted it, added files to it, worked a bit, etc... Created another user. Booted as the other user, and couldn't write to the sparsebundle, then I went ...
speeder's user avatar
  • 380
3 votes
2 answers
4k views

Can't clear ACL on macOS file - Operation not permitted

I have a MacBook Pro with an external USB hard drive. A program I wrote is having trouble reading the files in Backups.backupdb so I look at the permissions: > pwd /Volumes/G-DRIVE > ls -led ...
Rob N's user avatar
  • 231
2 votes
0 answers
168 views

ssh-keygen creates private key with incorrect permissions

When using ssh-keygen without any arguments to generate my ssh keys, it generates both the public and private keys with 644 permissions, making the private key too open to be used. I am running Ubuntu ...
zogden's user avatar
  • 21
1 vote
2 answers
4k views

How to run systemd user service with multiple Unix groups? (LDAP provides group membership)

I have a systemd user service which needs to access a folder owned by a Unix group which is inside another folder owned by another Unix group. "Others" do not even have read access. The user ...
rubund's user avatar
  • 121
0 votes
1 answer
2k views

installer has insufficient privileges to access "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\VMware"

If I try to grant extra permissions, I get "permission denied" errors. I am not on a domain & have no IT department. How can I solve this? Thank you!
X-Ray's user avatar
  • 183
0 votes
0 answers
76 views

lock certain directories against deletion under $HOME directory

Recently I have been install Arch linux on many people's laptops and desktops. All of them are happy with the look and feel, speed, and it has got more user friendly than windows. But none of them ...
15 Volts's user avatar
  • 609
0 votes
0 answers
318 views

rm Can't remove file /var/lib/os-prober/labels

If I run sudo os-prober I get rm: cannot remove '/var/lib/os-prober/labels': Bad message I get the same message if I run either 'sudo update-grub' or try to manually remove it. Even ls gives me a ...
Philip Borgström's user avatar
0 votes
0 answers
343 views

Windows Administrator cannot access data drive

I recently installed a second drive into the PC running Windows 10 Pro. The drive is used for data. I usually work as a non-admin user. I have a couple of top-level folders on that drive (D:) and ...
Aleks G's user avatar
  • 472
0 votes
0 answers
421 views

Windows 10 automatically changing ownership of external drive

An external disk used at work and at home is presenting a weird behavior. When plugged in on office computer, the user on that computer takes ownership of that disk and when is plugged at home, it can ...
IAmJulianAcosta's user avatar
0 votes
0 answers
43 views

How to (effectively) make a group an owner for changing privileges

I have data on disk which has a high likely-hood of accidentally being modified and I want to remove all write privileges by myself or anyone else. However, occasionally this data DOES need to be ...
nanotek's user avatar
  • 101
0 votes
1 answer
2k views

I've changed the permissions for my WindowsApps folder, and now no program in it will run

I didn't save the original permissions, so I'm hoping that there's a way to fix this without having to reinstall Windows 10. I cannot access some of the folders within WindowsApps. Examples of things ...
Hypnotoad's user avatar
0 votes
1 answer
750 views

Is there a difference between using a network share address vs a local address for a folder?

I recently ran into a problem where a Computer A could not pull files from a shared folder on Computer B unless the files were put into the shared folder on Computer B via the network share path. ...
user2920249's user avatar
0 votes
1 answer
972 views

Unlock full privilege on Windows 10

In *nix/macOS, the user "root" have full control over the system. A similar account, "Administrator", exists on Windows. However, it does not have full control over the system. For ...
Joy Jin's user avatar
  • 175
-1 votes
1 answer
2k views

Icacls - Change permission invalid parameter

When I enter: icacls %SYSTEMROOT%\system32\drivers\etc\hosts "/E /G %USERNAME%:W" It says invalid parameter /E.
Hugo's user avatar
  • 1
8 votes
4 answers
4k views

Can I share folders on a LAN using NTFS alone?

I've run several searches, here, here and here including many replies on SE to try and address a simple question: In a Windows NTFS only environment, if I wanted to use NTFS alone to share folders on ...
Dave White's user avatar
0 votes
2 answers
122 views

Is it possible to make a file writable only through decryption?

Now, it may sound silly, but here is the idea: I want to make so that to write on a file the user (even if is the root user) will need a key. The first thing that may have popped onto your mind may be:...
chedieck's user avatar
1 vote
2 answers
1k views

How to get full access to windows 10?

I want a (simple) way to get full access to ALL files on my pc - in a way that NO software or OS or anything can deny the access. Is it possible and how can I do that?
Jugi's user avatar
  • 23
0 votes
1 answer
192 views

Bizarre empty directory that can only be deleted with rmdir /s

I've somehow ended up with an empty directory (created some months ago with NodeJS as part of a script I ran) that can't be deleted with a regular rmdir. I can copy-paste the directory as many times ...
Clonkex's user avatar
  • 1,087
0 votes
2 answers
1k views

How to copy a file from one user's home to another user's home

So I have userA, and userB, I have password for userA to login, and somebody already setup for me that when I am login as userA, I can do sudo su - userB to switch to userB. the setup works as (and I ...
shelper's user avatar
  • 615
0 votes
0 answers
342 views

chmod will not set directory permissions for user

I am trying to learn UNIX permissions for the purposes of safeguarding raw data. My OS is macOS Catalina. While trying to learn to use chmod, I've come across a situation where chmod will not make the ...
Leo's user avatar
  • 1
1 vote
2 answers
2k views

Server unexpectedly closed network connection after setfacl Putty

I'm newbie, I created a new user and disabled root and everything works well. I want to edit sshd_config in /etc/ssh directory with FileZilla but I don't have the right so I tought that I need to give ...
PC Welcome's user avatar
0 votes
0 answers
24 views

Issues accessing file shares on a single Win 10 PC

So I have a windows 10 device on a domain that is giving me "Permission" issues when attempting to access network drives that are mapped through our GPOs. This issue occurs with any domain ...
a.garcia96's user avatar
0 votes
0 answers
3k views

Local system account doesn't have read access to file

I'm using File history, which is running as a Local system account. It can't read some of my files, but it should because Local system accounts have higher privileges than admin I believe? When I ...
cryptiblinux's user avatar
1 vote
4 answers
1k views

make a file undeletable

I have to test a message displayed by our application when it is not possible to delete a certain control file (used by our application; the file is stored in C:\Program Files (x86)\...
radui's user avatar
  • 343
0 votes
0 answers
519 views

Mkdir creates dir with 777 permission when umask is 0022

I am creating directories inside a container, the user is root and the output of umask is 0022. But if I call mkdir to create new directory its default permission is 777, other than 755. Meanwhile, if ...
Steve Peng's user avatar

1 2 3
4
5
27