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
3
votes
1 answer

Write permission to a specific file without changing ownership

As I understand it, to give a write permission to a user I can either change the owner of the file to that user and give it "user write permission" (which I don't want to do), or keep the same owner but add this user to the file's group and give the…
black
  • 133
  • 3
3
votes
0 answers

How to check what process or application is deleting a file without using Process Monitor? (Windows Server)

Currently I'm having an issue with a piece of software that makes use of specific files (which are basically xml), sometimes stored on a file share and sometimes stored locally. Every so often one of these files goes missing unexpectedly. No users…
3
votes
2 answers

How do I use PowerShell GPO cmdlets to set up file security?

I need to automate the creation several security groups, then create and apply a GPO that includes OU / Security group specific file permissions and auditing. I have the OU and group creation done. I can do the permission / auditing as ACLs but…
Zac M.
  • 51
  • 6
3
votes
1 answer

postfix parameter default_privs

I have set default_privs=myuser in main.cf, which is a perl script, executed in the context of this user. In the perl script I added some debug to print out the user: my $exec_username = $ENV{LOGNAME} || $ENV{USER} ||…
markus
  • 1,080
  • 5
  • 18
  • 38
3
votes
1 answer

Setting default permissions on newly created files/folders

I have a network of sites where all sites share same "images" folder. I have created /home/_images/entities and symlinked it from all websites, and it works great with Apache, when I open /images/ on any of the sites I get list of images and can…
Avram
  • 141
  • 4
3
votes
2 answers

PHP can't save sessions due to permission error

I know that this question must have been asked (and answered) before, but I can't find a solution for my problem in any of those questions. It's a bit odd... The problem is that my PHP scripts (and my Apache server) cannot write to folders on my…
redelschaap
  • 235
  • 1
  • 3
  • 14
3
votes
1 answer

Read only permissions still allows to save

I have a weird permissions situation that I can not explain. Let me explain my users and group and then show you the folder permissions. drwxrwsr-x. 2 jenkinsuser applog 4096 Jul 15 09:56 . drwxrwxr-x. 13 jenkinsuser jenkinsuser 4096 Jul…
DFieldFL
  • 33
  • 3
3
votes
1 answer

NTFS permissions explanation

I had asked the below question sometime ago and it was answered, I logged I'm recently to refer back to it only to have seen all the answers had been removed. Did I do something wrong? "I seem to be falling into this weird loop of permission…
dqnet
  • 305
  • 2
  • 9
3
votes
3 answers

How to tell the difference between "No such file or directory" and "Permission Denied"

I'd rather not parse STDERR, but I can't think of another way to tell the difference, programmatically, between the two: $ ls /net/foo.example.com/bar/test /net/foo.example.com/bar/test: Permission denied $ ls /sdfsdf /sdfsdf: No such file or…
wsaxton
  • 195
  • 11
3
votes
3 answers

Can I see Folder Permissions on Windows in a Tree View?

Is there a way to see folder/file permissions in a collapsable tree view in Windows? What I think I need is something like: + folder1 - EntAdmins[RWX],JoeBloggs[R--],Administrators[RWX]] + folder2 -…
Seanchán Torpéist
  • 1,868
  • 2
  • 14
  • 10
3
votes
2 answers

Is ZIP archive capable of storing permissions?

I am using Maven Assembly plugin to bundle my application along with configuration/settings files. It allows to specify persmissions to be stored along with files, which is quite convenient. Still I never found a confirmation, that ZIP archive is…
user1065145
  • 295
  • 4
  • 9
3
votes
1 answer

OSX 10.8.3 creating/editing files on Windows 7 share creates weird blocking account

I have a share on a Windows 7 machine that acts as a server. We have several people on Macs that need to create/modify files on this machine. When one of these people creates a file on the share using a code editor, or updates a file using an SVN…
3
votes
1 answer

Create files but not modify the created file or any other file in a directory

Is it possible using Windows standard tools to create such a permission model where a user can create a file in a directory, but once the file has been created (file handle closed), the user can not modify that file or any other files in the…
Konrads
  • 870
  • 2
  • 20
  • 40
3
votes
1 answer

Using auditd to watch a directory non-recursively?

I'm working on a Cent 6 Cpanel machine, and some mystery script is changing the permissions of home directories (!) to 777. I've ruled out all the easy fixes, so I just need to set up a watch on the directory and wait until it happens again. The…
steve c c
  • 158
  • 5
3
votes
2 answers

Samba Ignoring POSIX ACLs

I have an Ubuntu 10.04.4 LTS server running Samba, and joined to our Active Directory domain using PBIS (formerly likewise-open.) Samba is configured to do authentication using AD users/groups, and this is working correctly. Also, standard Linux…
woodsbw
  • 569
  • 2
  • 7
  • 18