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)

2
votes
2answers
708 views

Permissions won't cascade more than 1 level

Running Windows Small Business Server 2011 I have a file structure with a lot of sub folders (sometimes 5-6 levels deep). I have created access groups to grant access to my users, and also deny ...
0
votes
1answer
126 views

Trying to include file from another account: permissions denied

I have a dedicated server running php with dso handler, I am including a global config.php from one account into all the other accounts. This works fine on apache when opening the sites via browser. ...
0
votes
0answers
121 views

tomcat webapp file creation set permissions automatically

we have a webapp running on a Linux server with tomcat6 which creates folders and files on the local filesystem. The site is hosted by a third party, which is pretty strict on their security ...
5
votes
2answers
2k views

wget starts downloading then stops “cannot write to”

I'm using wget to mirror some files across from one server to another. I'm using the following command: wget -x -N -i http://domain.com/filelist.txt -x = Because I want to keep the directory ...
0
votes
3answers
1k views

Robocopy and permissions

I have this issue, I am trying to copy home directory from one server to another using robocopy. Now, my issue is, would robocopy be able to bring over all the permissions as well? Here is the ...
1
vote
1answer
191 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) ...
2
votes
3answers
556 views

PHP unlink() deleting file user has no permission to

A bit of a long shot here but thought I'd see if anyone had a fix for this: I am having an issue whereby the PHP function unlink() is being able to successfully delete a file even though explicit ...
0
votes
1answer
120 views

how setup automatically permission for the maillog file on redhat

like in the title, I would like to know which file I've to modify to setup the permission on the maillog file as 0644. I know that is a bad practice but I need it otherwise my script fail everytime. ...
1
vote
3answers
122 views

Linux / CentOS - Need to set R/W only permissions for future directories

I have very little background in Linux of any type, so I'm completely firing off the hip to begin with. I have been asked by the boss to set up an FTP server based on CentOS. So far, things have ...
2
votes
2answers
66 views

similar files has the same permission & owner but some of them give forbidden error

I moved a file from another server to my server. in directory listing Apache doesn't show it and I cant download it from browser (forbidden) but I created a new file and chmod + chown both of them to ...
0
votes
1answer
80 views

Proper linux permissions for images that are uploaded to allow deletion and re-uploading

What permissions should I set, and how, to allow apache to overwrite uploaded images, deleting them and re-uploading them, as well as allowing the permissions on the underlying folders to be passed to ...
0
votes
1answer
63 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
5k 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
3answers
4k 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
238 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
181 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
108 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
176 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
170 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 ...
0
votes
0answers
363 views

mount an hard disk as www-data (for webDAV), access it with the normal user

on my little Linux box (Ubuntu 12.04), I got an hard disk auto-mounted on /mnt/storage (relevant /etc/fstab line here): #/dev/sdc1 UUID=49707dae-90a7-4c67-9a46-a156980db4ab /mnt/storage ext3 ...
1
vote
1answer
259 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 ...
3
votes
4answers
8k 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
492 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
190 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
364 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
262 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 ...
0
votes
4answers
8k 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
304 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 ...
0
votes
0answers
81 views

Make my upload folder more secure

I'm sorry if there is already 100 answers out there about this, but they just got me confused. I've a working php-script that allows me to upload images to the webserver when I'm logged in to a CMS. ...
2
votes
1answer
207 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. ...
1
vote
2answers
657 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
594 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
238 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 ...
0
votes
0answers
139 views

getting a 404/403 error for payment gateway

We are setting up an online payment facility using a payment gateway. After the payment gateway finishes processing the credit card details for a payment, the user is redirected to a "403 Forbidden" ...
5
votes
3answers
2k 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
295 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
2k 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
775 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
440 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
1answer
4k 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
294 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
306 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
198 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
196 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 ...
0
votes
0answers
68 views

users with same group permissions problems on ftp uploads

i have two user with the same group: admin:admin and socialmedia:admin when i upload files with a ftp client, it says that files are uploaded in this way: admin uploads: folder -> 755 admin:1003 / ...
2
votes
1answer
107 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
633 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
5k 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
194 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 ...