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
4answers
12k 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
419 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
310 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
358 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
402 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
691 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
12k 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
366 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
404 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
263 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
275 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
862 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
254 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
126 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
385 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
1k 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
6k 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
80 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
123 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
998 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
239 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
530 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
4k 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
401 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 ...
0
votes
2answers
2k views

You don't have permission to access / on this server. Apache, win 7

read all the posts regarding this issue - and none of them seed to help my instance... I just moved all my dev stuff form a vista machine (where it worked fine) to a Windows 7 machine - Apache 2.2... ...
1
vote
1answer
491 views

AccessEnum recursion depth

I'm putting together a quarterly audit script and I'm trying to provide information to data owners about the groups they administer. The most difficult aspect of this operation is determining to ...
2
votes
2answers
1k views

Getting ACL's from a Windows 2003 server

I would like to have a tool that shows ACL's for all folders on a share on a server(Win2k3). I have tried using srvcheck but would like something that goes into sub folders and shows security settings ...
3
votes
1answer
7k views

Dovecot 2 /auth-userdb permissions

Error in log file: userdb lookup: connect(/var/run/dovecot/auth-userdb) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +r perm: /var/run/dovecot/auth-userdb, euid is not ...
1
vote
1answer
1k views

Managing folder access by subfolder permissions to simplify management on windows share

I have a Windows shared folder that contains a two level hierarchy. The permissions are managed by security groups. The interesting permissions are set in the second level. A first level folder should ...
2
votes
1answer
955 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
1answer
1k views

Users cannot run executables on network shares on XP

User A is in group 1. Group 1 has Full Control over a network shared folder that contains an executable (Office installation). User A gets the error: "... The specified path does not exist. Check the ...
1
vote
2answers
349 views

Permission denied for many directories with Rsync

I'm using Rsync to backup an Ubuntu Server server. I'm getting a lot of permission denied messages. Is there a command I can use to see exactly what directories were denied? I could scroll back up ...
3
votes
1answer
141 views

Test file for specific permissions

I have a script where I'd like to test a file for specific permissions, specifically 0644, if it is not that then chmod it. I know I could just chmod it and let it fall through in case it already was ...
2
votes
2answers
579 views

Samba/Cifs: Transferring executable permission bits to linux client

I'm trying to get my linux smb/cifs client recognize the executable bits that are set on some files on a share on a linux smb server. Here is our setup: Linux server exporting some directories via ...
0
votes
2answers
262 views

File permissions changing on save ( using root )

Using a fresh installation of CENTOS 6.2, when I connect to the server ( SFTP mount with nautilus ) and edit files, no matter what permission the file had before, it is reset to 700, ...
0
votes
1answer
101 views

Permissions of httpd apache2 and running certain php commands

I ran some recursive linux command that changed the permissions to all my website files.. all files are now like -rwxrwxrwx and all dictionaries are. drwxrwxrwx I don't know if that has anything to ...
9
votes
2answers
599 views

My server Admin wants me to set public write permissions on a directory

I'm relatively new to web development, so please be patient. I'm primarily an iPhone developer, but have recently done a site for someone else using shared hosting. I could write to files in PHP on ...
5
votes
1answer
111 views

Who is the “author” of a file (Gnu “ls” manual)

In the manual for Gnu "ls," I see this: --author with -l, print the author of each file Does anybody know what the “author” of a file means in this context? This is (maybe?) not the ...