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

Default permission for newly-created files/folders using ACLs not respected by commands like "unzip"

I am having trouble with setting up a system for multiple users accessing the same set of files. I've read tuts and docs around and played with ACLs but haven't succeeded yet. MY SCENARIO: Have multiple users, for example, user1 and user2, which is…
4
votes
2 answers

How to configure SAMBA file server to be a windows look-alike?

I'm using an openfiler appliance in an Active Directory (W2k8R2 DC) environment. I would like to make my shares as quite as possible look like windows shares for my users. Most things work well but some just drive me crazy. ATM my biggest problem is…
4
votes
2 answers

Permissions won't cascade more than 1 level

Running Windows Small Business Server 2011 I have a file structure with a lot of sub folders (sometimes 5-6 levels deep). I have created access groups to grant access to my users, and also deny groups to deny access to others. X Access & X Deny.…
4
votes
4 answers

Allow user to change permissions on a folder, but not remove/change Domain Admins access?

We're a small college, and I have one file share for an athletics team that I want to turn over to the coach. We don't track or have a group for athletic team members in Active Directory, and the coach wants to exclude certain people from certain…
Joel Coel
  • 12,932
  • 14
  • 62
  • 100
4
votes
1 answer

Cannot open files modified with Cygwin on Windows, clue in ls -l output

I can no longer open the tabs.html and tabs.js files indicated in the output below (2nd and 3rd out of four). Using cygwin I applied a patch to them. I believe the clue is in the ls -l output. Specifically, unlike the other files, at the end of…
Dexygen
  • 307
  • 1
  • 3
  • 8
4
votes
3 answers

Grant MODIFY on "All Subfolders and Files" with icacls, but only give Read to top level folder

One of our Windows servers that has some user folders on it has some pretty screwed up permissions. What I want it for SYSTEM and Domain Admins to have full control of all folders. I want the users to have read only on the top-level folder (which is…
MDMarra
  • 100,734
  • 32
  • 197
  • 329
4
votes
2 answers

Samba/Cifs: Transferring executable permission bits to linux client

I'm trying to get my linux smb/cifs client recognize the executable bits that are set on some files on a share on a linux smb server. Here is our setup: Linux server exporting some directories via smb to clients Many windows clients accessing the…
cweiske
  • 791
  • 1
  • 13
  • 36
4
votes
2 answers

ApplicationPoolIdentity user cannot modify files in shared folder in Windows Server 2008

I am creating directories, and writing files to a shared folder within my web application that is being hosted on Windows Server 2008. I am running the application pool with an identity of ApplicationPoolIdentity. To give you an idea of my setup…
4
votes
3 answers

How to forbid drag'n drop for a Windows XP folder?

Some of users here sometimes mistakenly drag'n drop a folder. Is it possible to forbid them to move and rename a folder? They are all using Windows XP. The folder is on the network. They should be able to still create new folder and to change all…
neves
  • 1,230
  • 2
  • 12
  • 16
4
votes
3 answers

Proper permissions for two developer team on PHP5 Apache Linux server

I was hoping someone could point me in the right direction regarding Linux permissions. I understand how to calculate what permissions are, understand the methodology behind changing them and can handle the dirty work, I'm just unsure what…
Whetstone
  • 145
  • 4
4
votes
2 answers

Running a script as administrator without login as administrator

An old mate of mine used to say "Any question is stupid. Stupid is avoid asking" I'm pretty new on Windows System Administrator (just 3/4 months) and recently i started working on powershell 2.0. I'm administering a set of windows services, one of…
NAADEV
  • 55
  • 1
  • 1
  • 3
4
votes
5 answers

-rwxr-xr-x@ meaning

I have a file with an @ after the permissions -rwxr-xr-x@ 1 riccardotacconi staff 215 14 Sep 14:21 Capfile Do you know its meaning. I am deploying a Rails application using Capistrano. That Gemfile is not copies, although it is committed in…
rtacconi
  • 745
  • 4
  • 14
  • 28
4
votes
1 answer

How to display windows group membership and Permission access in a CIFS mount

I have a CIFS mount point to a Windows Server from my Debian Linux box: mount -t cifs //192.168.0.10/users /mnt/users -o credentials=/etc/demo.smbpass It mounts properly but all the permissions of all the files within the mount are all owned by…
Matthew
  • 41
  • 2
4
votes
3 answers

Why give owner anything other than 7 for file permissions?

In Unix-like OS's, what's the point of giving the owner of a file anything less than 7 (rwx) for file permissions? The owner can trivially change the owner permissions for his/her files, and so can a cracker if the acct. is compromised. Setting…
dsimcha
  • 681
  • 1
  • 7
  • 12
4
votes
2 answers

How can I give default group write permission to a file created by www-data?

our apache runs as www-data:psacln if this line is run;
Devrim
  • 1,187
  • 4
  • 16
  • 29