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
1answer
87 views

Debugging a chdir(2) syscall

I have often faced various file system permission problems on Linux. And now with SELinux a bit complicated. I am searching for a generic way to debug this. In my particular case I have a chdir(2) ...
1
vote
1answer
422 views

Detect files of folders which do not inherit permissions from their parent

Is there an easy way to find any files/folders (recursively) within a directory which do not inherit permissions from their parent. i.e. To gauge the effects of selecting "replace permissions on ...
1
vote
1answer
937 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
2answers
489 views

correct file system permissions for joomla installation on linux

My question is pretty general. Lets assume I have a linux distribution web server, with the /var/www/ is the web directory. I used my superuser account to upload and unzip the Joomla installation ...
1
vote
1answer
1k views

Rsync file permissions

I am building a script to copy files from a remote server. The problem is, the remote servers file permissions are pretty whack and I don't want to copy these over. The line in my script right now is ...
1
vote
1answer
294 views

MongoDB starting gets terminating

I am installing the mongodb with the default configurations, and that gets started normally, but when I changed the dbpath value to point to different position it started giving me the exceptions, can ...
1
vote
1answer
3k views

Inheritable NTFS permissions and preventing user folder access Windows Server 2003/2008

A little bit of background: We currently use Windows Server 2003 and AD to control users and their data(we are looking at updating to Server 2008 R2 at some point in the medium future, but not ...
1
vote
2answers
150 views

Removing Nested Folders where permissions are invalid and folder names are to long

I appears we have become a victim of not using the /XJ in a robocopy command, and we have ended up with a mass of nested folders. We want to get rid of them, but we can use the normal methods of ...
1
vote
1answer
54 views

Server 2012 file server security - File access through software only? [closed]

I have just setup a server 2012 essentials R2 box as a test bed for my small business. Its running Essentials R2 as a VM on a Essentials R2 host. I have set it up to be the DC and DHCP server and ...
1
vote
1answer
76 views

user and groups for LAMP

I have written a script that installs a LAMP environment and a few other helpful programs. All of this has been installed under root. I would now like to create a new user called webmaster that will ...
1
vote
1answer
283 views

Why are nginx configuration files read-only on FreeBSD?

After installing Nginx on FreeBSD 8.3 from ports, the configuration files in /usr/local/etc/nginx all have read-only permissions. Is there a reason for this? Am I not supposed to edit them? Or can I ...
1
vote
2answers
72 views

ubuntu file permissions under /

I want to make my ubuntu 12.04 server a little more secure. Actually I would like to have paranoid security as of file permissions and a usable system as well. (this is my main goal) For starters I ...
1
vote
1answer
699 views

Change USB device owner

I have a USB printer that when I connect to the computer it's owned by the user root and the group lp, and it's file permission is rw-rw----, so I have to print via apache/php script. To solve this ...
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 ...
1
vote
2answers
702 views

All my files uploaded have unusable permissions

I've just moved to a new server and have come across some strange permissions issues. Every file I upload has permissions of 600, owned by the user account and is also in the same group. With this ...
1
vote
1answer
463 views

Why can't a user in my group write to this file?

I have a file on server that can be written by a group. The group is called "deploy" and the user is "mima." I have verified "mima" is in "deploy" with: $ id mima uid=1001(mima) gid=1002(mima) ...
1
vote
1answer
254 views

Windows 2008 Share Perimssions and NTFS Write Attributes Permission

It appears that there has been a subtle change in the way that share and NTFS permissions interact in Windows 2008 R2. In our application, we need to set the Write Attributes permission on in order to ...
1
vote
1answer
339 views

group permission not working

I'm installing gitlab at my server but I got a permission problem: I have two users, 'git' and 'gitlab', both are part of group 'git', the home dir of 'git' has the drwxr----- permissions. Therefore ...
1
vote
1answer
272 views

Restore /var owner and group (mysql and apache needed)

Huh, I feel kinda dumb right now. Just did an chown -R www-data:www-data .* and voilá, /var is all messed up. Already fixed some to root, but mysql refuses to start. How can I restore the ...
1
vote
1answer
2k views

Permission error with git on linux with bare shared repo

I've got a bare central repo that has this option turned on: git config core.sharedRepository true For some reason, the other users on this CentOS machine that pulls/pushes from the central repo ...
1
vote
3answers
179 views

The secure linux server by dir permissions

I am using php on Linux / Apache server. I have Three type of directories like as |_ Writeale Directory |_ PHP Files |_ Image Files Writeable Directory would used only by PHP to writing some txt, ...
1
vote
3answers
15k views

Apache2 - How to setup the directory permissions of website folder?

I'm using a CentOS for serving PHP webpages. I have various websites inside "/svr/www"... My problem is that I created folders like: /svr/www/website1.com /svr/www/website2.com And this folders ...
1
vote
2answers
56 views

Securing file content in folders under Windows

Is there a way to allow a user to create a file in a folder under Windows, but not allow them to edit the contents of the files? This would be analogous to setuid on FreeBSD systems, where files ...
1
vote
2answers
3k views

Windows 2008 folder has lost all permissions, can't be deleted, edited or permissions changed

I was testing a batch file that used the following dos command rmdir test2 /s /q, this command failed part way through and now I seem to have folders that have no permissions. For example, in the ...
1
vote
2answers
967 views

adduser with a read / write to only one directory

I have CentOS with one ssh user which is root. How do I make one more user for my web developer so he can scp files over to /var/www/html ? Its gonna be a static page, so mysql and alike are out of ...
1
vote
2answers
965 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 ...
1
vote
2answers
1k views

How to check and change permissions of files and folders for web server in windows?

I have installed Apache server on Windows 7. When I try to access the server by its IP address I get in Chrome: Forbidden You don't have permission to access / on this server. In IE I ...
1
vote
2answers
16k views

How do I find out how an Active Directory group is being used?

Here's the scenario. I have an Windows 2003 Active Directory security group that was created in 2007, and no one remembers what it is for. Is is possible to find out what permissions in our AD ...
1
vote
2answers
1k views

How do I setup Linux running in a VMware Fusion VM so directories created in shared storage have write access?

I have Ubuntu (Ubuntu 8.04.3 LTS) running in a VMware Fusion VM, and I'm sharing my Mac's home directory using Fusion's sharing feature. I've created a subdirectory in my home directory and used the ...
1
vote
1answer
68 views

How do you control the file ownership of a socket managed by launchd

I'm working on writing a daemon that talks to other daemons in the same project over UNIX sockets. For security purposes, it's critical that these daemons only talk amongst themselves (and can't, for ...
1
vote
1answer
56 views

Changing default ownership for files created by a user

I gave user "jdoe" access to SCP files onto a Unix server hosting Wordpress. Files this user creates within the /var/www/Wordpress folder (and subfolders) need to be owned by www-data or at least the ...
1
vote
3answers
1k views

Why can't apache create log files?

I have a simple LAMP stack on CentOS setup. Apache is setup with vhosts and each developer has their web files inside their user folder. The directory structure is like so (for the user test): ...
1
vote
1answer
103 views

Adding Domain Admins Full access permissions to all files/folders on a drive

I am experiencing some DFSR-related issues where I am seeing quite a few 'access denied' errors as well as having my netbackup jobs skip most folders. I have noticed that when we migrated the users to ...
1
vote
2answers
137 views

Puppet - 2.7.x - Set SGID

Im trying to puppetize a module which will ensure I have the same path on servers for storing local log files for custom web applications. As such I would like to set the SGID to ensure that even if ...
1
vote
1answer
778 views

Can't delete directory as root

i've created a directory for a nodejs app some time ago, called blog. The app was started with forever start app.js, nothing special. Now i tried to delete the entire app with folder, i stoped the ...
1
vote
1answer
79 views

Can not move SQL Primary File

In the process of moving/upgrading old SQL server 2005, I need to move some sharepoint PWA datafiles. After detaching the database from the files, I am trying to copy/move the DB files from their old ...
1
vote
2answers
84 views

Group permissions (seemingly) ignored on Win2k3 fileserver

After 10+ years having our AD setup "one way," I'm looking at the permission structure and realized that our business has in fact changed enough to where we should match our current state rather than ...
1
vote
1answer
212 views

PHP file upload system security implications

i've build a small upload system using PHP, it is working just fine for now however, the problem i have is the way i've got it to work. I don't have much of a background in security, but is what i'm ...
1
vote
1answer
2k views

How to list all NTFS and share permissions associated with a user or security group?

We are doing some tidying up of Active Directory on our SBS 2003 domain controller. A number of security groups exist which I am 95% sure are redundant. I want to be 100% sure they are not used ...
1
vote
1answer
3k views

How to make IIS 7 application pool run under an AD account?

I have an internal company web application that needs read permissions on certain folders in our LAN. The permissions on these folders are controlled by our Active Directory server. Since by default ...
1
vote
1answer
206 views

Git prime/hub website deployment: documentroot changes save fine but permission denied for subdirectories

Following the instructions in A web-focused Git workflow I set up a prime and hub repository on my web server and then cloned the hub to my machine at home. I started testing commits and pushes with ...
1
vote
1answer
124 views

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

Set default file permissions: Creating files on Linux with group write permission

I am running openSUSE 11.0 on a server which is copying (and processing) a lot of files. The new folders, which were received by some service running, have the default permissions drwxr-sr-x and the ...
1
vote
1answer
111 views

File Permissions - Service vs Console

We have just setup a new build Windows 2008 R2 server for our Jenkins CI system. Our issue appears to be related to file permissions being different depending on whether a process is a service, or a ...
1
vote
1answer
335 views

How to check for the existence of unreadable files before passing it to a fastcgi backend?

I have several PHP sites which I want to separate in terms of permissions. Therefore I created a new user and set up a PHP pool for those users. Consider the below configuration: PHP-FPM is running ...
1
vote
2answers
621 views

nginx and php-fpm - Cannot write PHP error log

I am using Nginx and PHP-FPM on Linux. I am not sure whether the issue is that PHP is not writing to the location specified in the PHP.ini, or if it just isn't working at all. Some of the logs ...
1
vote
1answer
170 views

file content is different when running with administrator permissions

I'm having weird situation where i "see" diffrent versions of the same file when running program as administrator and when running it as non-privileged user. The file is sqlite's db3 file which ...
1
vote
1answer
392 views

Should backups be owned by root:backup?

I have a central backup server running Debian which holds backups of various other hosts in the network, stored in a structure like /media/backup/imap /media/backup/wiki With imap and wiki being ...
1
vote
1answer
515 views

(Server 2008) Changing file permissions of a folder after moving it from another user

I've recently started using a GPO to force users 'My Directory' folder to forward to c:\home on the server. This is working fine so far. The issue I'm running into is that since nothing like this ...
1
vote
1answer
178 views

Data loss through permissions change?

I seem to have deleted some files on my media drive, simply by changing the permissions. The Story I have many operating systems installed on my computer, and constantly switch between them. I ...