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
3k views

nginx & file permissions

I'm running nginx on Debian Lenny. I have many people on the box and they all have "http" directories in their home folders, and I have nginx vhosts configured for those. The problem is: how do I ...
6
votes
1answer
6k views

How to set default umask for Tomcat webdav servlet?

The title says it all. I need Tomcat's webdav servlet to create files with rw-rw-r-- rights, but it keeps creating it as rw-r--r--. I tried to set up umask in /etc/profile, but it didn't help ...
2
votes
2answers
186 views

in linux file permissions, what is the number besides the permissions?

What does the number besides the permission represnet? i.e. the 3, 8, and 1's. Also, is there a command that combines chown and chgrp ?
4
votes
3answers
111 views

Why give owner anything other than 7 for file permissions?

In Unix-like OS's, what's the point of giving the owner of a file anything less than 7 (rwx) for file permissions? The owner can trivially change the owner permissions for his/her files, and so can a ...
0
votes
3answers
1k views

Apache and PHP write permission?

I have a php script that writes to a file. But when I try to actually write to the file I get permission denied. How can I tell what user name I need to add to the file permission in order for the php ...
0
votes
4answers
863 views

403 Forbidden when trying to download file that was uploaded using SSH

I have FTP access to an Apache server on linux to upload files so that they can be downloadable from the web. I recently was granted SSH access for extra permissions and figured that it would be ...
0
votes
2answers
344 views

Locked out by changing file permissions

I just locked my root account (and all other accounts if it matters) completely out of the RHEL 5.4 by changing permissions on every file to 400. Now I have "Permission denied" on any command that I ...
1
vote
3answers
4k views

OpenSSH SFTP: chrooted user with access to other chrooted users' files

Decided to re-phrase the question entirely in order to not have to make a new one. I currently have an SFTP server set up using OpenSSH's SFTP functionality. All my users are chrooted, and everything ...
1
vote
2answers
509 views

How do I fix a gid on files moved to a new server

I've copied a folder of data from one linux server to another via a tarball. The group ids (GIDs) don't match up on the two servers, so I now have files that look like -rw-rw-r-- 1 tim 1013 88 ...
2
votes
2answers
1k views

Apache and linux file permissions

I recently moved a Symfony 1.3.2 website (a PHP web framework), from a windows machine to Linux (Ubuntu 9.10). Ever since then, I have had all kinds of problems involving file permission (even though ...
0
votes
1answer
483 views

Windows Vista file permissions does not inherit when copying to a network share

I've got a network share with specific permissions on a subfolder (e.g. access to developers and freelancers). A designer copied PNG files from his local system to the network share. These files ...
1
vote
1answer
3k views

Hiding parent folders, give NTFS subfolders full access

On a Windows 2003 server, I need to provide access to a subfolder of the central "project share". The main project folders should not be accessible, preferably hidden, because this access is granted ...
1
vote
1answer
1k views

Tomcat deploy error

When deploying an application with the Tomcat manager I get the following error: FAIL - Failed to deploy application at context path /prademo Tomcat log shows: INFO: HTMLManager: install: ...
1
vote
1answer
89 views

dangers are in giving public execute permissions to the httpdocs

I am new to linux webhosting services and I have question in my mind which is there any danger are in giving public execute permissions to the httpdocs
1
vote
0answers
624 views

Windows Server 2008 Web Edition can't change permissions

I'm used to using Windows Server 2003 but decided to get a Vista Web Edition for IIS7 and to run our MVC applications on. I have installed copSSH that I use for SFTP, and when I upload my files I am ...
0
votes
2answers
411 views

Windows 7 Sharing issue on RAID 5 Array(s)

Greetings all, I'm having a very odd error with a windows 7 ultimate x64 system. The network system setup is as follows: 2x XP Pro 32 Bit machines 1x Vista ultimate x64 machine 2x Windows 7 x64 ...
2
votes
2answers
2k views

Limit ftp users to only certain directories in Ubuntu

There are several questions around limiting ftp users to certain directories. However, most of them refer to vsftpd, which I don't think I have installed on my system. I'm running Ubuntu 9.04. How ...
1
vote
2answers
3k views

Configure ApacheDS 1.5 with accessControlEnabled=true for authenticated access

I need to set up an apacheDS instance. I am using standalone 1.5.5 on Linux. I have removed the example partition and added two of my own, each with their own suffixes. I have imported LDIFs for ...
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 ...
3
votes
2answers
3k views

How can I give default group write permission to a file created by www-data?

our apache runs as www-data:psacln if this line is run; <?php file_put_contents("./file.txt",""); then apache creates this file without write permission to the group, -rw-r--r-- 1 www-data ...
0
votes
2answers
1k views

Special OS X like ACL Permission for Linux

I have a Unix File System in which I would like to emulate a OS X like Home folder where I have a 'Public' subfolder that is writeable for all but where no Files can be deleted. I installed ACL on ...
2
votes
2answers
8k views

Plesk file permissions - Apache/PHP conflicting with user accounts

I'm building a Drupal site which performs various automatic disk operations using the apache user (id=40). The problem is that the site was set up on a subdomain belonging to user ID 10001 (ie my ...
1
vote
2answers
158 views

Puzzled about PHP file permission and shared webhosting - what are some explanations?

I have this issue with different web-hosting, particular upload scripts which can only upload to a folder only if it has 777 permission (which is risky). On the test server (on a different webhost), ...
2
votes
2answers
3k views

Windows folder permissions, why is this happening?

On my Windows server I have a share called 'Data', inside data are 3 child folders called 1, 2 and 3. The NTFS permissions are as follows Data (The AllStaff group has Modify here, Admins have full ...
2
votes
1answer
733 views

Creating Daemons in Linux… how should the file permissions be?

I am setting up a few PHP Gearman Daemons running on PEAR System_Daemon. I need them to be able to write to the following locations... /var/run/{APPNAME}.pid /etc/init.d/{APPNAME} ...
-2
votes
2answers
10k views

How can I set the default permissions mode on files uploaded via FTP to 775?

I'm using ProFTPD 1.3.1 Server on Linux. Currently when you upload files via FTP the files have the permissions mode of 664. I would like to change this to default files to 775 instead. The aim is ...
1
vote
1answer
429 views

Linux NFS client has unlimited access to shared files from Solaris server

I am sharing files with NFS from a Solaris 2.6 server to a Linux Red Hat EL 4 client and also to other solaris 2.6 clients. On the solaris clients, write access is correctly controlled by file ...
0
votes
1answer
342 views

Determine group of unreadable unix/linux directory

dcoles1@shovel:/ $ cd /DriveXT dcoles1@shovel:/DriveXT $ ls . unreadable dcoles1@shovel:/DriveXT $ cd /DriveXT/MML/ dcoles1@shovel:/DriveXT/MML $ ls . unreadable dcoles1@shovel:/DriveXT/MML $ ...
0
votes
1answer
118 views

Server 2008 Filesharing: One login for multiple Users?

We are running a media server on Server 2008. I am trying to setup one of the shares to accessed through one username & password, for reasons specific to the environment--It cannot be anonymous, ...
1
vote
2answers
18k 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 ...
0
votes
1answer
105 views

Windows Perms - ADOMAIN\AMACHINE$ - means what (precisely)?

I've got a task running on AMACHINE under the SYSTEM account. There's a shared directory on BMACHINE which is visible on AMACHINE and that shared directory allows r+w to a username ...
2
votes
2answers
709 views

Secure Windows to Linux file upload

I am looking for a way to do a bulk upload of a list of media files from a remote windows machine to a Linux server. The files should be encrypted before sending so I am looking at either SCP or ...
3
votes
1answer
341 views

NTFS and Linux Permissions

I have defined a share in samba config, I am looking to modify permissions on a subfolder within MyShare to allow a specific NTFS group named MyFolder_Security modification rights and all other (with ...
1
vote
1answer
2k views

Specific file permissions in .deb

I can create a .deb package successfully with all the file owner fields set correctly. Unfortunately the permission fields are ignores. For example I install one file with: install -v -cm 400 -o ...
0
votes
3answers
4k views

Why is it necessary to chmod o+r parent directory to fix 403 access forbidden error with Nginx and Passenger?

This may be an Nginx wrinkle, or it may be because I don't understand Unix permissions. We're using Hudson CI to deploy our staging instance. So RAILS_ROOT is /var/lib/hudson/jobs/JOBNAME/workspace. ...
0
votes
1answer
192 views

Cannot access files copied from another system

I brought Segate FreeAgent Go drive yesterday. I copied some Virtual Server hdds from my colleague's hard disk to mine. Now if I try to run VM it says The virtual machine configuration could not be ...
5
votes
4answers
10k views

Permission issues with Samba and OS X

I'm having some serious permission issues with Mac client machines (OS X Snow Leopard) connected to a UNIX server (running CentOS) through Samba. No matter which permissions I set for a file on the ...
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
1k views

How do I set the default umask in apache?

I need to set the default umask in apache on fedora so that my uploaded files have permissions 644 which are set to 600 by default in spite of doing chmod( $uploaded_file , 0644 ); in php script. Can ...
3
votes
3answers
1k views

sudo and sudo -i access features

What are privilege differences between sudo and sudo -i? With sudo it's $sudo echo "search foo.bar.baz" >> /etc/resolv.conf bash: /etc/resolv.conf: Permission denied ...and with sudo ...
4
votes
3answers
9k views

Log file permissions in Linux

I am trying to write a simple script that monitors /var/log/messages file. The file by default doesn't have read permission for users, when I allow read access to this file my script works perfectly, ...
2
votes
3answers
2k views

Some app accidentally change permissions in All Users/Application Data Folder on about 500 PCs — How can I restore it to windows default?

During a beta test, a customer installed some software of ours which accidentally modified the permissions of the All Users/Application Data folder on about 500 computers. They deployed the software ...
2
votes
2answers
447 views

How do I get nano to tell me if I don't have write permissions on a file?

I've used shell environments in the past where the text editor "nano" will warn me if I don't have write permissions on a file when I open the file for editing. This saves me a lot of time when I ...
4
votes
4answers
1k views

How to add a line to the end of a file which I can access via sudo?

I have tried: sudo "some string" >> test.txt But I am getting permission denied warning. Can anyone help?
0
votes
2answers
1k views

Migrate folder user permissions in a windows file server migration

First of all I'm not a Windows administrator so that perhaps this question is total nonsense. We are going to migrate our Windows file server to another machine, the people who are going to do the ...
2
votes
2answers
137 views

Preventing access to a directory for a specific group

I'm running a competition as part of a class on web application development. I need to prevent one user group from accessing the other user group's work directory and vice versa. I know I'll be ...
2
votes
4answers
5k views

Finding all files in NTFS with specific user or group in ACL

Executive summary: I want to find all the directories and files a particular user or group has access to. In more detail: I'm looking for a command-line tool to recursively search an NTFS directory ...
1
vote
4answers
5k views

Restoring default file permissions?

I know they say that given root access, someone will eventually type before they think and fubar their machine, and I just did. I did a recursive chmod changing everything to 775 thinking I was in a ...
0
votes
3answers
11k views

Can I see Folder Permissions on Windows in a Tree View?

Is there a way to see folder/file permissions in a collapsable tree view in Windows? What I think I need is something like: + folder1 - EntAdmins[RWX],JoeBloggs[R--],Administrators[RWX]] + folder2 - ...
2
votes
5answers
19k views

How to restrict users moving folders?

We have the following layout •Shared Folder "Clients" •Level 1 ("Client A"/"ClientB"/"Client C"/etc) •Level 2 ("Folder 1"/"Folder 2"/"Folder 3"/"Folder4") •Level 3 ...