Questions tagged [file-permissions]

Most current file systems have methods of administering permissions or access rights for specific users and groups of users. These systems control the ability of the users to view or modify the contents of the filesystem.

Permissions on Unix-like systems are managed in three distinct classes. These classes are known as user, group, and others.

Permissions on Windows systems can be granted to users, groups, computers, or other built-in security principals such as SELF or CREATOR OWNER.

Permissions are generally configured in an Access Control List (ACL, pronounced ackle) with each entry in the list being referred to as an Access Control Entry (ACE).

965 questions
0
votes
1 answer

Tomcat - Symbolic link to image directory doesn't display images

I have a Java web app deployed on Tomcat 6 on Ubuntu 9.04. For certain images, I want to create a symbolic link to another directory of images. This will allow me to reference images that remain on the server even if the application is removed and…
Tai Squared
  • 639
  • 1
  • 9
  • 10
0
votes
1 answer

Server directory read permissions

(1)I'm currently in the process of moving a project to a web host. (2)I want to install the site into a sub-domain - ie. sub.domain.com (3)I've directed sub.domain.com to a sub-directory of the server root: /sub/public_html (4)/sub has 2…
Fortisimo
  • 101
  • 2
0
votes
1 answer

File Permissions: Who are the user, group, and others on my web server? What perms should i use for uploaded files, php files, etc.?

I am using cPanel with apache 2 and php 5.2. I have a file upload script, which currently puts the uploaded files in a directory with 0777 perms and the file itself also has 0777 perms. this is because with other perms, i would be thrown an "Invalid…
Garrett
  • 203
  • 2
  • 5
  • 10
0
votes
1 answer

Windows 7 and Program Files Protection

I'm developing software on a Windows 7 machine, and struggling with the security permissions. Something I do quite often is to install our software from the installer to c:\program files and then change config files inside it using notepad. If I…
Tim
  • 3
  • 1
0
votes
1 answer

How can I edit Yaws config file on Windows?

I have installed Yaws webserver on my Windows Vista machine. Now I want to edit yaws.conf so that the server listen to another port instead of the default 8080. But when I'm editing the file in a text editor, I can not save the file, because it says…
Jonas
  • 1,187
  • 5
  • 19
  • 33
0
votes
1 answer

Need help with file permissions on Ubuntu so that NFS clients can read/write?

I have a local Ubuntu development web server and a Mac client which I use to access and edit the files on. I'm attempting to setup NFS on my Ubuntu server so that I can access the virtual server directories from my OS X client. I'm having issue with…
Camsoft
  • 961
  • 4
  • 12
  • 21
0
votes
1 answer

Linux file permissions issue, unexpected access to file

I'm relatively new to Linux so please excuse my ignorance. I have a public web directory where I have been experimenting with the permissions to try to learn about them. I have set up a simple test.php file and set its permissions as follows: -rw…
columbo
  • 219
  • 2
  • 12
0
votes
1 answer

SSH key stopped working, still works on other servers

I've got about a dozen servers that I log into via an authorised ssh key, and up until today it was working fine. Today, one of those servers refuses to accept my key - it accepts a root key and my passphrase, just not my key. Nothing has changed in…
Andrew
  • 8,002
  • 3
  • 36
  • 44
0
votes
3 answers

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 to write to it?
thedp
  • 333
  • 1
  • 6
  • 14
0
votes
4 answers

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 quicker to download the files directly to the…
Simon Hartcher
  • 140
  • 3
  • 11
0
votes
2 answers

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 try to run, including chmod itself. Any idea on…
Valeriy
0
votes
1 answer

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 didn't inherit the folder permissions, but only gave…
0
votes
2 answers

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 Ultimate machines all chained into 1x 16 port netgear…
K.A.I.N
0
votes
0 answers

pg_ctl start on Windows gives error: could not open file "global/pg_control": Permission denied

On Windows Server 2022, I am logged in as Administrator and trying to do a pg_ctl start on a Postgresql database that was initially created by user SYSTEM, but get the following error in the cmd console (I tried both with and without "Run as…
Lurch
  • 1
  • 1
0
votes
2 answers

Incorrect Permissions and Ownership in /etc/nginx/sites-available Folder for Containers

I seem to have encountered an issue with the default permissions and ownership of the containers within my /etc/nginx/sites-available directory. The current permissions and ownership structure appears to be off, and I'm concerned that it might not…