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)

0
votes
1answer
1k 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 ...
0
votes
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
22 views

Why are group permissions different when using mkdir and mkdir -p?

I'm trying to make new files and directories within a directory always have the same permissions and group. I've done this: cd / sudo mkdir apps sudo chown deploy:www-data apps sudo chmod g+s apps ...
1
vote
1answer
1k views

SBS 2008 Folder Share permissions mess

I came across this question asked a couple of years ago about setting permissions via a script and was hoping that there might be a similar script that would work for me with the issue I am having. ...
-1
votes
0answers
24 views

Centos 7 vsftpd - cannot modify files or rename folders - no write permission

I have just installed fresh centos 7 relase and i try to configure an vsftpd server. Server is set to use local users. Want i want to achive is to be able to write to /var/www/html There are ...
1
vote
1answer
32 views

work folders access denied

I set up work folders in my organization and that was fine until last week. now I have some issue. One of my clients' works fine but mine and the others' can't access to work folders. I have admin ...
0
votes
1answer
39 views

CentOs 7 Nginx (13: Permission denied) while loading font file from css

I have an nginx webserver with bootstrap js framework. I am trying to get the css to be able to load the font files. Although i get error 403 when the browser is trying to access the font files. I ...
1
vote
0answers
11 views

Set default file permission separately from directory permission with ACL on Ubuntu

This works perfectly for setting default permissions: setfacl -R -d -m g::rwx -m o::rx /var/www/html Unfortunately, it sets default permissions on both dir's and files. How do I set dir and file ...
2
votes
2answers
1k 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
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 ...
0
votes
0answers
8 views

Create two users with different privileges for the same folder

I've the following scenario: I need to create two users that will access in FTP the same folder with different privileges by using vsftpd. What do you recommend me? Is it a good idea to create ...
0
votes
1answer
21 views

Can a folder on Linux be belonged to multiple users?

I have one folder on Ubuntu that can be read and written by user A and can be only read by user B. The solution I came up with is the following: create a group which have read permission on this ...
1
vote
3answers
40 views

File permissions are being changed after gunzip of .gz file; how do I prevent that?

I have an NFS4 filesystem that has AD based authentication setup and ACLS to match. I am controlling access to the machines that mount the filesystem so the ACLs are very basic. One prevents users ...
0
votes
1answer
558 views

Forcing 644 Permissions on Files with ProFTPd

We have an Ubuntu 12.04 server set up with ProFTPd for users to upload files. Each user has their own account and are jailed to their directory. Normally, everything works fine, they get 644 ...
6
votes
1answer
164 views

Should /usr/local/bin be owned by root?

Package manager Homebrew (I'm on OS X, but I'm curious about Unix-based security in general, as it pertains to directory permissions) set the owner of /usr/local/bin to my user (it's root by default, ...
2
votes
2answers
819 views

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 ...
1
vote
1answer
2k views

ftp user to var/www on ubuntu with correct permissions

I have the following config on my Ubuntu 12 server: 1 - vsftpd installed and configured with the config file settings: listen=YES anonymous_enable=NO local_enable=YES write_enable=YES ...
-1
votes
2answers
92 views

Windows Server 2012R2 access denied when changing files [closed]

I have been running Windows 2012r2 in testing for a while. One of the things keeping the OS from going into production is "Access Denied" message when changing config settings in either Program Files ...
1
vote
1answer
6k views

vsftp “Access is denied” when writing as an authenticated user

I have set up vsftpd for private FTP. Only authenticated users in the ftp group can login. Also, every user is chrooted to its home directory (/home/username) chroot_local_user=YES I can log in, ...
0
votes
1answer
41 views

Secondary DNS causing problems after AD is shut off

I have two Hyper-V Servers running on a Physical Server namely WideOff-SRV-01 (IP Address 192.168.1.5). The virtual machines are WideOff-AD-01 (192.168.1.9, which is Domain Controller), and ...
1
vote
1answer
35 views

Can't execute installer from Shared Folders on non-domain Windows Server 2012

On a non-domain Windows Server 2012 x64 vm, I have a shared folder with an installer. Whenever I try to run this installer from any workstation, the workstation's account on the server is locked. I ...
0
votes
1answer
41 views

Add Apache_Run_User to VirtualHost

Right now on an Ubuntu 14.04 server, WordPress (and Apache2) creates folders with www-data:www-data owner:group. The goal is to have Apache create files with different owners depending on which site ...
3
votes
2answers
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 ...
0
votes
0answers
20 views

openldap home directory permissions for different users

we are testing openldap server for a new domain in our company. How can we implement users with different permissions on home directory. we want some users to have full access to save data on desktop ...
0
votes
2answers
56 views

NFS mount in Windows - can't copy files with 600 permissions

I have a Netapp with some NFS exports for VMware storage. I want to mount the snapshots on a Windows 2012 R2 server in order to copy all of the virtual machine files to tape. I can mount the share ...
0
votes
0answers
7 views

IIS Windows authentcation Unathorized due to directory permissions

I have an ASP.NET MVC 5 application running on IIS 8.0. Application pool is running under domain user, f.i. IISPoolUser. Anonymous authentication uses this identity as well. I gave full control ...
1
vote
1answer
46 views

Why can't Win7 user move files, instead it just copies them on Samba share?

I'm running a CentOS server with Samba. Connected on the LAN is one Windows 7 PC and the rest are Macs and Linux. The Macs don't have this problem, but on the Windows PC when a user attempts to move a ...
2
votes
3answers
2k views

UBUNTU: ftp-server cannot change directory when user logs in

I have set up a FTP-server (vsftpd) for only one client user (ftuser). This user should have access to the folder /srv/webroot/user. The folder /srv and all subfolders are owned by me. I am not in the ...
0
votes
1answer
70 views

IIS7 setting user permissions for network drive directory

I have IIS7 server (where i running some PHP) on network drive (drive 1), when im trying acces another network drive (drive 2), where are need to acces PDF files with pdftotext.exe. On drive 1 i also ...
2
votes
1answer
758 views

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

Windows Server 2008R2 / IIS7.5 / Recommended User and Folder Permissions to host WordPress

I have a Windows Server 2008R2 server running IIS 7.5. I host a number of WordPress sites and they are constantly under attack from hackers / bots. Does anyone out there know the recommended user ...
2
votes
1answer
1k views

VSFTPD uploaded file permissions

Let me first say that there are loads of topics regarding this, and I am sure i have seen them all by now. Still non of the solutions seem to help. I installed vsftpd. created a user ftp-data. Now I ...
2
votes
1answer
2k views

php script can't access /tmp folder

I have no open_basedir, php can access /etc /usr /proc /home etc… but not /tmp. tmpfs is mount on /tmp (/tmp type tmpfs (rw)) That's also the reason I want to use the /tmp folder. My files are owned ...
2
votes
3answers
5k 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. ...
5
votes
1answer
812 views

etckeeper, Git checkout, and broken file permissions in /etc

I wanted to figure out why, after a etckeeper commit, I had a problem with rebooting (already solved thanks to this great thing). I played with etckeeper, did git checkout some_commit_sha for a quick ...
0
votes
1answer
38 views

Change WIndows File Permission With Total Size Around 1 TB

Now I am working in company that had file server. When I see the permission of file sharing I almost got hearth attack because in root directory "Everyone" had full permission and will inherited by ...
0
votes
1answer
35 views

Correct way to setup linux company share folder with usable permissions

I've just started working for a small company that has a globally shared folder run from an Ubuntu file server (Raid 5, etc) shared by Samba. The workstations (Centos) are all fstab setup to mount ...
0
votes
1answer
38 views

How to set the minimum acl permissions for an user who is included in two or more user groups with different permissions in linux?

Say, I have two groups G1 and G2 with user1 as member to both. G1 has rwx permission on a file file1 and G2 has only read permission on the same file. Setting G2 as the primary group for user1 does ...
1
vote
1answer
3k views

MySQL (local) owner and permissions

I recently successfully installed the 64 bit version of mysql-5.5.8 on a MacBook Pro in the /usr/local directory. To address a completely unrelated software (RVM actually) , I chown-ed my /usr/local ...
0
votes
0answers
4 views

Symlinked files in shares not showing for clients

I have a bunch of shares that contains symlinks to files and folders. But the files don't show up when viewed by clients. Let's assume I have Ubuntu set up as a Samba Domain Controller and I add a ...
2
votes
1answer
144 views

How can I set up a filesystem directory to *always* be group writable?

I have a Linux file server with some shared directories. These directories are sometimes accessed over SFTP, and sometimes by users with shells. Regardless of how these directories are accessed, I ...
-1
votes
1answer
37 views

Nginx Not Respecting File Permissions

I'm trying to apply permissions of 600 to certain files on my web server, but they are still accessible to the world (I can access them by navigating to direct link in browser e.g. ...
0
votes
3answers
906 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 ...
0
votes
3answers
55 views

What is the most suitable path on Windows workstations to store admin scripts? [closed]

We have a need for a GPO to store admin scripts locally on Windows workstations (7 and above), and I was wondering if Microsoft has any recommendations or if you have any experience or thoughts on ...
3
votes
1answer
92 views

Broken ACLs when “zfs send”ing a snapshot from a Linux machine to Solaris

I'm running ZFS on a Ubuntu machine that hosts our home directories. The pool has the following ACL setting: # zfs get all homes | grep acl homes aclinherit restricted default ...
0
votes
0answers
31 views

Wrong permission when accessing ZFS snapshot over NFS (Solaris server, Ubuntu client)

TL;DR: I don't understand why I can access one file but not an other (in the same directory), although they appear to have identical permissions. I have an NFS server running Solaris 10 10/08 and a ...
2
votes
1answer
2k views

Cannot read/write FTP directory vsftpd on centos 6.0 (empty folder)

I have Centos 6.0 and installed vsftp with YUM, I added a user with Webmin panel, set its home dir to "/var/www/html" and its shell to "/bin/sh", user id is 500, user group is same as name: ...
-1
votes
1answer
33 views

Changing file permissions and adding owner from CMD

I am unable to change permissions of certain files in a directory even though I have logged into a server using an Administrator account. Is there a way to force the permissions of these files via ...
2
votes
1answer
126 views

Nginx doesn't have permission to access files with the same ownership

i've just installed nginx on an Archlinux box and encounter this problem: Nginx is configured to run as "nginx", a new user/group that I added, in /etc/nginx/nginx.conf: user nginx nginx; For ...
0
votes
1answer
21 views

How to work on local VM Load Balanced Web Sites

So, I've got my LB all set squared away and running well (all ubuntu servers, sitting on a ubuntu host machine). Everything works... syncing files, loading the sites, backups, etc... They are a ...