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
74 views

File permissions: parent folder has 100% control of all children, children can't do anything

Here's my current structure: script.py apps/ |-generated-folder-1/ |- [files] |- generated-folder-2/ |- [files] |- generated-folder-3/ |- [files] How do I set up permissions so that script.py ...
4
votes
4answers
7k views

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 ...
4
votes
4answers
9k views

Is it possible to grant rename permissions, but not delete, in NTFS?

We have a folder for employees to scan contracts to. After scanning, they're supposed to rename them according to our conventions so they can be processed further. In response to a recent incident, ...
1
vote
1answer
502 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
249 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 ...
0
votes
1answer
123 views

Apache Server Joomla files in /var/www/

All right... I have my server set up and I have 4 Joomla! sites residing in /var/www/. Each site directory and the files underneath it are all root:www-pub according to this post: What's the best ...
0
votes
3answers
313 views

Apache Server files in /var/www/

All right... I have my server set up and I have 4 sites residing in /var/www/. Each site directory and the files underneath it are all root:www-pub according to this post: What's the best way of ...
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 ...
1
vote
1answer
334 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 ...
6
votes
5answers
21k views

Copy file permissions from one directory to another

Over the weekend I copied our company data from one hard drive to another larger one. I thought permission would have copied across but they haven't. What is the best (and quickest) way to copy the ...
3
votes
2answers
1k views

Symbolic link to mysql database

I had to make a symbolic link on one of databases to another location on MySQL (Debian 6.0). So /var/lib/mysql/dbname points to /home/user/dbname, but MySQL gives MySQL error: 1017 (Can't find file: ...
0
votes
1answer
211 views

chmod -R 777 /. - RHEL 5.5

A shell script testing went bad and it issued chmod -R 777 /. to the system, instead of chmod -R 777 ./ and as expected it wiped the critical meta data. We have turned off the system and it ...
7
votes
4answers
545 views

Is it Secure to Grant Apache User Ownership of Directories & Files for Wordpress

I'm currently setting up WordPress on an Ubuntu server 12 everything runs fine but there is an issue when it comes to automatically updating and uploading media via WP as Apache "www-data" user does ...
1
vote
1answer
444 views

Default permissions for courier imap folders

I'm using courier imap. When a mail client creates a new folder, it's created on the filesystem with 640 permission. I need it to be writable by the group, or 660. I currently have ...
2
votes
4answers
13k views

Key-Based SSH Permission denied (publickey) Ubuntu 12-04

I have configured sshd to accept key-based ssh logins with LogLevel on DEBUG, and uploaded my public key to ~/.ssh.authorized_keys, where permissions are set as: 700 ~/.ssh 600 ~/.ssh/authorized_keys ...
1
vote
1answer
430 views

Windows Shares / NTFS permissions on folder redirection in Active Directory

A client has folder redirection in AD setup on each user's Home Folder set to the Z:\ drive as \server\share\username. A Group Policy redirects the user's Documents to the user's Home Folder with the ...
2
votes
1answer
322 views

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. ...
2
votes
3answers
1k 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 ...
5
votes
2answers
1k views

Improved ACL editor for Windows file permissions

I have recently been doing a lot of updates to our network drive permissions... such as consolidating direct user permissions into group permissions. The built-in ACL editor (Advanced Security ...
-1
votes
2answers
362 views

How to get Windows Server 2008 R2 File and Directory Permissions

I have a setup similar to this: e:\personal\username1\scans e:\personal\username2\scans e:\personal\username3\scans e:\personal\username3\scans Permissions are not inherited on these directories. I ...
5
votes
3answers
3k views

Can Linux file permissions be fooled?

I came across this example today and I wondered how reliable Linux file permissions are for hiding information $ mkdir fooledYa $ mkdir fooledYa/ohReally $ chmod 0300 fooledYa/ $ cd fooledYa/ $ ls ...
0
votes
1answer
412 views

umask is being ignored on Gentoo while creating new files

I have a server running Gentoo and hosting a drupal installation. Whenever a Drupal update is executed, the directory permissions of the updated module turn from 755 to 744 preventing the application ...
0
votes
2answers
63 views

Managing a networked drive [closed]

We're having issues with people moving files both intentionally and accidentally on a networked drive. What would be a good way to establish accountability without bogging down the storage server? Is ...
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
2answers
1k views

FTP directory restrictions via IIS6

We are trying to setup the FTP on our stand-alone dedicate Windows Server 2003 (Standard, 32bit, SP2) IIS6. We are NOT using AD. It is NOT setup for user isolation, as I need the "administrator" ...
7
votes
1answer
706 views

Do /usr/local and /usr/local/bin need to be group-writable? If so, why?

While it's possible that it's a fluke of a package I installed or the VPS image, it appears that /usr/local and /usr/local/bin (both of which are owned by root:staff) are group-writable by default on ...
2
votes
2answers
13k 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 ...
1
vote
1answer
367 views

Safely execute custom script parts as sudo

In /usr/local/bin I've the following script called sdown /usr/local/bin$ cat sdown #!/bin/bash if [ $# -lt 1 ]; then echo "no time set" else sudo shutdown -h $1 fi Permssions are 788: ...
5
votes
1answer
412 views

How to not move permissions on fileserver file move

I have a problem with a NetApp file server with Windows XP clients. The files are on a single SAN drive. The users regularly move files from \\storage\share to their personal folder at e.g. ...
1
vote
1answer
268 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 ...
0
votes
1answer
279 views

Automatically change UID of file

Due to development policies, all my relevant server files have g+w policies. This is working great, but, for added accountability, I'd like the files to change owner UID upon being edited by other ...
2
votes
1answer
116 views

setgid file deletion rights

I have been learning Linux from few days, and now I am at File Parmissions with sticky bits, I tried the following: [root@localhost sdcdir]# ll total 24 drwx------. 2 root root 16384 Mar 21 21:38 ...
2
votes
1answer
878 views

IIS 401.3 - Unauthorized on only 1 server out of 3 set up for network load balancing

Over the weekend our Server Admin set up two virtual Windows 2008 machines with IIS installed and set them up under NLB. I came in and changed the application pool the website was running under to ...
1
vote
1answer
8k views

Is it possible to hide folders/subfolders from users based on permissions?

Having a Windows Server 2008 R2 that has a share with lots of nested folders, I want to be able to only show certain folders to certain AD users/AD user groups. Is it possible to configure the ...
0
votes
2answers
259 views

OS X Snow Leopard, change file permissions on copy

I work with OS X, Snow Leopard and need to allow users to make copies of files (templates) located in a read-only repository for subsequent editing. The repository is located on a separate physical ...
0
votes
1answer
127 views

Ubuntu Server Web exposed folder recommended permissions [duplicate]

Possible Duplicate: What’s the best way of handling permissions for apache2’s user www-data in /var/www? I am setting up my first server from scratch and as I am completely novice at this I ...
0
votes
1answer
386 views

Disable suhosin file permission check

I have just recently found out that suhosin makes sure not to execute php files with file permissions more open than 755. However, I need to temporarily allow someone else FTP access to some files, so ...
0
votes
3answers
108 views

really simple: file permissions

I really don't understand. I have on my localhost web projects on the path /var/php/project_name I have changed ownership of that files to my user name via chown. Now, assume I have private ...
2
votes
2answers
2k views

Cronjob not running as apache

I have a cron job that runs a PHP script and creates files (images). But the cron job is running as me (being me my own username), not apache, nobody, httpd, www... and all the files created belongs ...
0
votes
2answers
7k views

How to set shared files permission across a network?

I am trying to set permissions to a shared folder. Let's say the shared folder is in computer A. I want computer B and C can only read the folder but computer D can delete the folder. I don't have a ...
0
votes
2answers
233 views

What permissions should I give these files? [closed]

I have some files that nobody needs read access to and apache needs read and write access to. Should I do chown nobody.apache file chmod 460 file or chown apache.nobody file chmod 640 file or ...
2
votes
3answers
4k views

Re-give users ownership of their mapped home folders via powershell

I changed the user quota on a windows 2008 machine and after that some users reported that they were able to read but not write to their mapped home folders. If I re-enter the Home Folder path in the ...
2
votes
1answer
81 views

How to secure a group of *nix users to a single directory and it's subdirectories?

We're setting up a CentOS 6.2/ Apache web server with higher security requirements than I'm used to. I've set up a user group called "web" and I want to limit it's members to only being able to read, ...
0
votes
1answer
124 views

IIS7 - What permission to grant to which account, and where?

I need my ASP page (intranet) to read files from another local Windows server. I know that IIS7 has different system user accounts which it uses depending on the security context etc. but to be honest ...
2
votes
0answers
896 views

What does the red x icon mean next to a user in folder permissions (Windows 7) [duplicate]

In trying to debug various strange issues on a machine, I found something strange - when I go to C:\Users\administrator and get properties, security tab, it lists the users (the local admin account, ...
3
votes
2answers
1k views

Octal representation of file/folder permissions using awk?

We have various of machines here with all sorts of hardware and Operating Systems, most of them do regular tasks with bash that an agent executes. However it came to my attention that some Solaris ...
1
vote
1answer
245 views

Windows 2008 + IIS + Backup folder permissions or script to view all folders with X permissions?

I know how to backup IIS 7 configuration, but unaware of a way to backup which folder requires write permissions. If a server was to go down and I needed to restore, I could restore the config and ...
2
votes
2answers
535 views

Permissions somehow block access to files in CentOS 6

A friend of mine hosts some of the websites he has built for his clients. Somehow he messed up the permissions giving all clients' websites a 403 error upon loading. When I ssh to his server and log ...
1
vote
1answer
5k 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
407 views

NTFS permissions for a user on another computer in case of a disk moving in a cluster?

Is there a way to set NTFS permissions for a user on another computer? I have two nodes in a failover cluster. Both have a specific user account ("charley") local to the node. Charley has files on a ...