Questions tagged [file-permissions]

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

Permissions on Unix-like systems are managed in three distinct classes. These classes are known as user, group, and others.

Permissions on Windows systems can be granted to users, groups, computers, or other built-in security principals such as SELF or CREATOR OWNER.

Permissions are generally configured in an Access Control List (ACL, pronounced ackle) with each entry in the list being referred to as an Access Control Entry (ACE).

965 questions
5
votes
4 answers

How to tell rsync do not check permissions

I have two directories with same PHP application in every of them. I want to execute rsync -rvz from one, source directory to another, destination, so rsync will copy changed files only. Problem is that files in the source directory has 755…
Evgenii Iablokov
  • 660
  • 2
  • 9
  • 15
5
votes
2 answers

ICACLS Substitute Failing "No mapping between account names and security IDs was done."

Running a really simple ICACLS command after I copied a directory over to a new server with permissions intact. I need to change a SID from an old server user group to a new server user group. Copied folder with ROBOCOPY source dest /SEC... Got the…
Brad
  • 165
  • 1
  • 3
  • 10
5
votes
4 answers

Is it possible to grant rename permissions, but not delete, in NTFS?

We have a folder for employees to scan contracts to. After scanning, they're supposed to rename them according to our conventions so they can be processed further. In response to a recent incident, these folders have had their security locked down…
Bigbio2002
  • 2,823
  • 12
  • 35
  • 54
5
votes
1 answer

How to not move permissions on fileserver file move

I have a problem with a NetApp file server with Windows XP clients. The files are on a single SAN drive. The users regularly move files from \\storage\share to their personal folder at e.g. \\storage\myfolder. This is fine so far, but it becomes a…
Dennis G
  • 598
  • 3
  • 8
  • 20
5
votes
1 answer

Who is the "author" of a file (Gnu "ls" manual)

In the manual for Gnu "ls," I see this: --author with -l, print the author of each file Does anybody know what the “author” of a file means in this context? This is (maybe?) not the file's owner, which is listed already with -l … or is…
BRPocock
  • 198
  • 6
5
votes
4 answers

"CREATOR OWNER" NTFS group always has special permissions in windows

I was working on setting up a network share (see below story) and I ran into some odd behavior with NTFS permissions. The "CREATOR OWNER" object seems to only be able to list "Special" permissions in the "Security tab". No matter what I do, the…
Doltknuckle
  • 1,254
  • 7
  • 25
  • 32
5
votes
2 answers

Allow non root access to /root folder

I have a folder that normally lives under /root and is usually used by a root user. I need to allow another user (other than root) to use it now, but it has to remain under /root. Is that possible? EDIT: Thanks everyone for the comments and help. We…
mjouni
  • 53
  • 1
  • 4
5
votes
3 answers

Are Windows file permissions bound to the file, or the file system location?

Do Windows file permissions follow: The file, or... The file system location Say I have a file at "C:\MyFile.txt". I set some very specific permissions on this file. Later, I copy a new file over the top of that one. Same name, same file system…
Deane
  • 247
  • 3
  • 9
5
votes
2 answers

push commits to git (gitolite) repository messes up file permissions (no more trac access)

already posted here so feel free to answer there. everytime i commit/push something to the git server the file permissions change (all added/edited files in the repository have no read and execute access for the group). thus trac can't access the…
fetzig
  • 251
  • 1
  • 6
5
votes
2 answers

linux timestamp permission error with winscp

I added a user to a group and set the file and dir content to 775. When i use winscp to modify a file it complains it cant set the timestamp bc of a permission error. But it is able to update the file i edit. Why? details on how i set the user is…
user274
5
votes
1 answer

How to change permission of a folder to 777 in Dockerfile?

I have a project directory like this: |-var/www |-docker-compose.yml |-app |--uploads |---photos |-Dockerfile This is my docker-compose.yml file: myapp: build: context: myfolder dockerfile: Dockerfile container_name: flask …
ken
  • 153
  • 1
  • 1
  • 4
4
votes
2 answers

Locked out of EC2 ubuntu instance because of /home perms

I was showing my kids some basic things about directory permissions on an EC2 ubuntu instance, and did this $ sudo chmod 700 /home Then demonstrated that I could no longer cd to my home directory because permission was denied. Then I inadvertantly…
Fixee
  • 648
  • 4
  • 13
4
votes
2 answers

Why am I getting this error from Ansible when trying to change the permissions on a file?

I have the following task in a role named tomcat: - name: copy tomcat file settings copy: src: "{{ item.src }}" dest: "{{ item.dest }}" owner: tomcat group: tomcat mode: "{{ item.mode }}" with_items: - { src:…
LegendaryDude
  • 244
  • 4
  • 11
4
votes
2 answers

Why do I sometimes get numbers back from the FileSystemRights access field when checking the ACL Access?

Sometimes I'll run a command like this, and I'll get back some easy to read, easy to interpret text: PS D:\test> (get-acl test.txt).Access | Select FileSystemRights FileSystemRights ---------------- Modify, Synchronize ...and other…
leeand00
  • 4,869
  • 15
  • 69
  • 110
4
votes
1 answer

Automaticly apply 'list folders' permission to parental folders when user granted access to subfolder in Access Based Enumeration share

Firstly apologies if some of my terminology is off, I'm pretty new to Windows networking and Active Directory. We're running a Windows Server 2008R2 fileserver and I've been tasked with restructuring one of our network shares. The share by default…