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)

3
votes
0answers
837 views

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 ...
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
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
22 views

Windows Server delete files in folder but no permision to delete folder itself

We have a problem, with permissions on shared folder for out employees. We have folder lets say Main, with multiple projects (files and folder inside), constantly added and removed. The problem is ...
1
vote
1answer
44 views

Linux mysql server will not start, or restart

Intro Im running MariaDB and Apache on my linux machine and today I ran into some problems. I connect to the server via SSH and here are some of the issues Im facing. I have absolutely no idea what ...
-1
votes
3answers
2k views

Unable to edit the files on Windows Server 2008 which was downlaoded programatically

I have a scripts which download files from my file server and extract it on c:\home folder @ Windows Server R2. When I tried to edit and save the extracted files, it shows Access denied, I am able ...
2
votes
1answer
43 views

named running as root cannot read named.conf

Tried running named as my own user on an Ubuntu box, and it couldn't read the named.conf file: named -d 9 -c named.conf -g 19-Aug-2015 11:33:10.698 starting BIND 9.9.5-3ubuntu0.4-Ubuntu -d 9 -c ...
2
votes
1answer
64 views

Adding Folder Permissions Using Powershell

I'm running this script in PowerShell: Add-NTFSAccess -Path 'C:\MyFolder' -Account PROGRAMMING\IIS_IUSRS -AccessRights FullControl and I'm getting this error: Add-NTFSAccess : Cannot bind ...
1
vote
1answer
1k views

Getting “Received too large SFTP packet” error when connecting with root account to the server via WinSCP

I've tried different ways and read some solutions including these: Why I am not able to ssh as root? Editing with Winscp And an article from Forum of Ubuntu I don't understand why when I connect ...
1
vote
1answer
2k 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 ...
0
votes
1answer
19 views

Unable to run logstash config file (permission denied)

my config file is stored in /etc/logstash/ and I ran the command $ /etc/logstash -f /etc/logstash/logstash.conf as root. However, they told me that permission denied when I tried to do that. ...
0
votes
0answers
11 views

Different Permissions for different files / folders with bindfs

I'm following this guide: link on how to use bindfs. I have a question however. The guide only mentions broadsweep permissions for all files, however if I want seperate permissions (644 for files, and ...
2
votes
1answer
43 views

Software for defining rules for folder permissions and monitoring deviations

Let's say a company has a large number of users, and each user has a home area. On each share used for home area folders, I would like to define some rules saying who is supposed to have which ...
2
votes
1answer
44 views

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

Permissions On Folder Give Me Access Denied. Why?

I have a user (dAdmin) and that user is a member of the domain admin's group and is also a member of the local server's (serverA) Administrators group. On the folder (fShare) I set it up as a share ...
0
votes
1answer
62 views

git: preserve group owner

I use a central HUB which does an auto deploy to a productive web server if there are changes in the main branch. Now the setup runs in file permission problems. If I do a push I want to preserve the ...
0
votes
2answers
37 views

Allow access in home directory for apache but not other users?

I build a website that automatically manages a dedicated server. It does all sorts of things like creating users and apache settings to point to their home directory. The home directories host game ...
9
votes
1answer
7k views

What Should be the Permissions of Apache SSL Directory, Certificate, and Key?

I have my cert.pem and cert.key files in /etc/apache2/ssl folders. What would be the most secure permissions and ownership of: /etc/apache2/ssl directory /etc/apache2/ssl/cert.pem file ...
0
votes
0answers
15 views

How can multiple users share their (uwsgi) sockets with nginx, but not with each other?

On a shared domain, currently, each linux user sets up his website through his www-data-writable directory + uwsgi socket - one nginx instance serves them all. However, I do not like the idea of one ...
0
votes
1answer
25 views

AWS write permissions, httpd 2.4

Amazon Web Services, Server version: Apache/2.4.6 (Red Hat Enterprise Linux) The apache log reports: [Fri Aug 07 13:53:40.793562 2015] [:error] [pid 10730] [client 149.88.114.40:40800] PHP Warning: ...
1
vote
1answer
64 views

How to create a file root user can't delete [duplicate]

On Linux systems, I have a file I want to preserve from (even accidental) deletion. How can I create a file even the root user can't delete? For instance, by trying: # touch file # chmod 000 file # ...
0
votes
2answers
64 views

NGINX - Failing to restart

After installing an SSL through Laravel Forge, my site does not load at all. When trying to restart NGINX, it fails. If I run sudo nginx -t, I get the following: nginx: the configuration file ...
-1
votes
0answers
34 views

How to prevent users from deleting non-empty folders?

In our business, we have a number of file shares for each of the departments, and we largely leave it up to the different departments on how to manage those shares. However, we have a recurring ...
0
votes
0answers
24 views

Can access files from one server but not another, why?

Ok might take a bit of time to explain my set-up so please bare with me. I have an Intranet server (Win 2008 Server with IIS installed). I have set impersonate to true and it is set for Windows ...
1
vote
1answer
3k 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 ...
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 ...
2
votes
1answer
40 views

ACL permissions not inherited

I have a Ubuntu 14.04 server with an EXT4 partition. I want to change what permissions new files and folders get when they are created in /home/myuser. I set some options with setfacl, and getfacl ...
6
votes
1answer
93 views

Forward SFTP user to chroot subdirectory after authentication

I've set up a SFTP server using OpenSSH, everything works fine and the users I created can connect. After authentication, the users find themselves directly inside /chroot, a directory they are not ...
0
votes
1answer
25 views

SSH user minimum permissions

I am working on an application which sshes into servers and gathers information about the server such as disk and memory usage. Another task it needs to do is get file size information of certain ...
0
votes
0answers
20 views

group permissions on directory being ignored for user

It seems that there is a Linux user (on an Ubuntu 12.04.4 server) who is unable to access a shared directory, even though that user belongs to the group which owns the directory. Here is an example ...
0
votes
1answer
822 views

No file access permissions after restore database

I have a strange phenomon. When I restore a SQL-Server 2012 database to a folder on my D-Drive, it gets restored just fine. I can access the database and basically it works fine. But when I check the ...
1
vote
2answers
79 views

Permission Issues When Pushing to Git Remote

I've spent the past few days trying to set up a Git Remote on my server so I can push changes to my web-server to it. The problem is that I'm getting the following errors while doing it: $ git push ...
2
votes
1answer
142 views

Fileserver cannot find any DC's for trusted domain

The problem Due to a merger in our organisation, we are migrating to a new common Active Directory domain. Our old legacy domain and the new domain have a two-way trust between them. We have two ...
0
votes
1answer
40 views

Folder Permissions for AD Users

When giving users permissions to specific folders, it applies those permissions to every single file and folder. I do want this but it takes a while for these permissions to be applied to every single ...
0
votes
2answers
40 views

Cannot save document to folder when logged on as adminstrator

I am logged onto a Windows 2012 server as administrator. I open a document in C:\inetpub\wwwroot with notepad to edit it. When I save, it tells me I cannot save it, would I like to save to desktop ...
0
votes
0answers
40 views

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 ...
2
votes
1answer
21 views

Any way for openssl to generate private key with 400 (-r--------) permissions from the start?

I use openssl to generate private keys and CSRs in a script. The script needs to generate the key first, then call chmod 400 whatever.key to change the permissions of the private key to something ...
1
vote
2answers
80 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 ...
7
votes
4answers
10k 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
19 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
1answer
427 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
9 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
1k 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
29 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
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
1k 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
73 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
466 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 ...