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.

learn more… | top users | synonyms (1)

1
vote
2answers
20 views

How to Grant Apache Access to Directory

I am currently getting a locally hosted website up and running, but have encountered problems in accessing it from the host computer and other computers, as well. I have already created exceptions in ...
1
vote
1answer
2k views

umask for www-data user running PHP on Ubuntu

Setting up a new webserver in Ubuntu 14.04 and trying to wrangle file permissions for PHP generated files. By default, all the directories and files in /var/www are owned/grouped to www-admin. ...
1
vote
3answers
3k views

How to change default permission for uploaded files in apache with mounted webroot?

I have an ubuntu server 11.10 with apache 2.2.20, php 5.3.6 and an installation of Joomla cms. I have used an extra hard disk as my web server storage and mounted it into /data/www/ (I hope it's not ...
7
votes
4answers
9k views

What is the most secure way to allow a user read access to a log file?

My application requires read access to /var/log/messages, which belongs to user and group root. What is the minimal exposure level required on /var/log/messages so my application can read it? ...
0
votes
0answers
9 views

set ftp user default directory - login incorrect

On apache I created a subfolder (logged as user X) like this data/web/mypage.com/subfolder. All files and directories have X as user and group. Now I want new user Y, to be able to use folder ...
0
votes
1answer
1k views

MySQL (local) owner and permissions

I asked this question on the MySQL forums and got no answer. I asked on StackOverflow and received a recommendation to try on ServerFault. So here I am. I recently successfully installed the 64 bit ...
1
vote
2answers
1k views

Regular user can not access NFS4 mounts (permission denied)

I have nfsserver and nfsclient machines. On nfsserver: # cat /etc/exports /export gss/krb5p(rw,sync,fsid=0,no_subtree_check,crossmnt) /export/home gss/krb5p(rw,sync,no_subtree_check) On ...
2
votes
1answer
1k views

Set primary group of file or directory on Samba share from Windows

Short version: I have such situation on a Samba share: $ ls -lha total 12K drwxr-xr-x 3 hka Domain Users 4.0K Jan 11 17:07 . drwxrwxrwt 19 root root 4.0K Jan 11 17:06 .. drwxr-xr-x 2 hka ...
1
vote
1answer
380 views

How to give “only append” access to user in windows , for logging purposes

I have a powershell script which takes some data and dumps into a logfile whenever its executed.The script resides in single location and shortcut is distributed to all. I want to log the events on ...
0
votes
0answers
6 views

Maintain ability to set/unset group write permission with ACL

If I have a folder owned by root:www-data with rwxr-s--- permissions and set ACLs so that user john can modify files, the permissions of the folder are changed to rwxrws---+. Even though I assumed the ...
3
votes
3answers
980 views

Remove Linux file permissions, in windows

I've set up a fileshare that I want my users to be able to read/write/delete to. The problem is that I'm able to list content and delete it, not read/write. Yes, this goes for several users. The ...
0
votes
1answer
19 views

Does “Kerborised” NFSv4 securely protect against a malicious client spoofing the user

I have read conflicting statements about whether shares exported via NFSv4 with sec=krb5 are cryptographically protected against a malicious client mounting the share and then spoofing the user to ...
1
vote
1answer
1k views

Windows Server 2008 R2 - Make owner of created files BUILTIN\Administrators

I am encountering some difficulty with makeing the owner of files created in a particular directory to be the Built In Administrators group, rather than the actual user that created it. This seems to ...
1
vote
4answers
5k views

Restoring default file permissions?

I know they say that given root access, someone will eventually type before they think and fubar their machine, and I just did. I did a recursive chmod changing everything to 775 thinking I was in a ...
1
vote
2answers
967 views

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

Can't execute files in particular directories

We are encountering a bizarre issue were non-root users are unable to execute any files (scripts or binaries) in certain directories. This transcript demonstrates the issue: [root@b6 /]# mkdir q ...
0
votes
1answer
457 views

NTFS Advanced Deny permissions and Rules

I feel like I am missing something obvious here. Or just making a noob mistake. I have a folder structure as shown in the example below. Folder A1 and A2 are inside folder A. Folders B1, B2 are ...
-1
votes
0answers
33 views

What are the Correct WordPress Filesystem Permissions and Ownership [duplicate]

I've got a site hosted on an apache server VPS and I'm always running into problems with uploads, installing plugins etc. The response I get from my webhost is "777 is the correct permissions for ...
0
votes
0answers
14 views

Some users cannot write via NFS, but others can

I have an NFS4-mounted /home drive, with several different users' home folders in it. I am using inetd's ID-mapping feature (i.e. NEED_IDMAPD=YES in /etc/default/nfs-common). The NFS mount and ...
0
votes
0answers
13 views

Postfix cannot create file [duplicate]

I have a custom postfix transport setup to handle certain incoming emails, like this in master.cf: emailpmbridge unix - n n - - pipe flags=FR user=xmail ...
-2
votes
2answers
79 views

How to make rsync delete destination directories no longer existing at source? [closed]

I have hard drive that I back up with rsync to a network-attached storage. There are some non-empty directories at the destination (the nas) that do not exist on the source anymore. It is not a ...
0
votes
1answer
49 views

What should be the right logs permissions for NGINX on CentOS?

on /var/log/nginx/ I have access and error logs. Some are .log errors and others have .gz I think I messed up with the permissions. Some files are created by root/root, other files are created using ...
0
votes
0answers
27 views

Accessing shares on a workgroup from a domain

hopefully someone can help me out here (I've searched, but have come up empty so far). My client PC (Win7) is a member of a large domain. I have a separate workgroup of 4 computers, one of which is ...
3
votes
4answers
953 views

How to add a line to the end of a file which I can access via sudo?

I have tried: sudo "some string" >> test.txt But I am getting permission denied warning. Can anyone help?
0
votes
1answer
24 views

Can scp setup file mode of copied files?

The man page of scp does not mention any mode option. Is there a way (or other program) that could setup the mode for transferred files?
5
votes
4answers
1k views

Effectively handling 2+ million files

I have a file based DB that has about 2M files stored in 3 levels of subdirectories. 2/2/6253 2/2/6252 ... File a vary from 30 bytes to 60 KB. Whole DB is Read Only. DB is about 125 Gigabytes big. ...
0
votes
2answers
60 views

How to require password confirmation on file-delete?

Is there some way to require a group of users to confirm their password (or prompt them for an elevated password) when deleting files off some directories on the file server? We're having an issue ...
1
vote
1answer
28 views

How do I find out if a file or folder breaks inheritance inside another folder in NTFS without looking at all the files and folders?

So I have two directory hierarchies one on Windows Server 2003 and another on Windows Server 2008 R2. The directory on Windows Server 2008 R2 was created before hand by right clicking and creating ...
2
votes
1answer
34 views

Windows Server NTFS Advanced File Permissions

Here is what I would like to do: 1) Create a main folder that doesnt allow inheritance. 2) Create a template folder with subfolders. 2.1)Set permissions so these folders cannot be deleted. ...
0
votes
0answers
10 views

Creating ftpserver with anonymous and login both option

Newbie for server. Windows server 2012. Need to create ftp server. The file structure will be as: root file: read permission to all including anonymous root\folder1: read, write permission for all ...
0
votes
1answer
67 views

Moodle installation issue on Windows 2012 server

Got this error: Data directory (C:\www-public\moodledata) cannot be created by the installer. This server only has drive C, so I have to create a folder www-public in C and a sub-folder ...
0
votes
1answer
28 views

Wrong ldap user and group IDs on nfs

we have users authentication driven by ldap and home directories shared on nfs server mounted by autofs. We recently installed Ubuntu 15.04 on three new machines and added them to our infrastructure ...
0
votes
0answers
35 views

Preserving file permissions over sshfs when remote umask set correctly

I have a drive on a remote server that I've mounted on my local machine via sshfs. My umask on both my local machine and my remote dir are set to the same thing. When I touch a file either by ...
0
votes
1answer
28 views

FTP with linux permissions not being set

I run a dedicated server with clients. I then accessed one client's account and created a folder. Let's call it TEST. I check permissions via the FTP client, and they check out to be ok (which is ...
2
votes
2answers
15k views

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 ...
0
votes
0answers
15 views

What are the minimum permissions for a libpam-ldap unix domain socket?

I'm setting up an LDAP server and libpam-ldap to run on the same host, communicating via a UNIX domain socket. I'd like to give this socket the minimum permissions necessary, so random local users ...
1
vote
0answers
28 views

Permissions of newly created files on NAS mount

I've mounted a NAS partition as follows: server:/volume1/public /mnt/public nfs rw,suid,nodev,noexec,auto,user,async 0 0 All available files are both readable and writable ...
0
votes
1answer
45 views

Domain shared folder with user restricted subfolders

I have a domain running on a virtual windows server 2012 R2. Another virtual servers hosts our file server. To that end I need a shared folder accessible by all domain users. No problem there. However ...
0
votes
1answer
2k views

Allow shared folder access only to specific clients

I am kind of new to networking and I am trying to resolve the following situation. I tried to find a solution but I couldn't find anything proper that suits my needs. Maybe anyone here could give some ...
0
votes
2answers
43 views

How to change the group, excluding a directory

We are using AWS S3 Buckets, and when you attempt to do a recursive chgrp, it churns on the S3 bucket (essentially) indefinitely. Is it possible to execute chgrp while excluding a directory?
13
votes
5answers
850 views

Copy file permissions, but not files in Unix

(From : http://stackoverflow.com/questions/15245144/copy-file-permissions-but-not-files, closed because off-topic) I have two copies of the same directory tree. They almost have the same files in ...
1
vote
2answers
2k views

List existing file server permission groups/users

So we took over a new client and their file server is frankly a mess. We have migrated their old file server from a 2k box to a 2k8 DFS cluster and now I'm looking at rebuilding both the folder ...
1
vote
1answer
59 views

SID not being set on

I copied two trees with robocopy, a source and a destination, with the intent of making their permissions exactly the same, I ran the following commands: robocopy /MIR C:\Windows\System32\tasks\ ...
13
votes
1answer
54k views

What is a S-X-X-XX-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXX-XXXX called in Windows security?

I copied two trees, a source and a destination, that I copied with robocopy like this: robocopy /MIR C:\Windows\System32\tasks\ C:\temp\robocopyTasks\out\ robocopy /E /Copy:S /IS /IT ...
-1
votes
1answer
45 views

How to deny directory listing on C:\Windows?

I created a special user who should never be able to CD into several system directories like program files, Windows directory, etc. Whilte I can use icacls to setup the permissions on most of them, I ...
0
votes
0answers
25 views

Unable to permission NAS to give standard users rw on Rocks cluster

I am trying to set up a Rocks cluster for distributed computing. I would like to have it so that there is a network shared scratch space mounted to each compute node on which all users (including ...
0
votes
1answer
100 views

Write permissions to multiple users on same directory in ProFTPD

I am quite new to Webmin and ProFTPD and I am trying to give multiple users access on a public_html, both users are in same group: siteowner:x:504:504::/home/thepclincom ...
0
votes
1answer
69 views

Access denied when installing software from network storage on domain computer

When attempting to install software (from network storage) on a domain joined computer two prompts show up asking for user credential. One is asking for Administrator account to install software and ...
0
votes
0answers
204 views

CIFS mount: Linux read permission denied unless Mac file is created in shared folder

I apologize for the complicated description of this problem. I have a CentOS 7 machine that mounts a shared folder (CIFS) from a Windows server. The same folder is mounted by various Windows 7 ...
3
votes
3answers
4k views

Tracking file permissions changes on a Windows server

Some-thing or Some-one is changing file permissions occasionally on files on my Windows Server 2003 Domain Controller. I'd like to track these changes. Initially I thought one could do this with ...