What are the proper chown settings for images? [duplicate]

This question already has answers here: What permissions should my website files/folders have on a Linux webserver? (6 answers) Closed 8 years ago. I am testing a piece of software that is working except for some SVG images that are not showing. When I preview them using Firebug in Firefox, it says “Failed to load … Read more

How to turn on ls -l headers? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 7 years ago. Improve this question How do I turn on the labels for ls -l? -rw——- 1 root root 0 Jan 2 2014 php_logging.log The first is permissions … Read more

How do I get my machine to access the share now?

Disclaimer: Using windows to share files is definitely not as simple as on *nix, even if it seems like. First, I’m assuming we can securely (with passwords) share files / folders in basically only two ways: Have the same user+password on both machines or Authenticate on the connected shared folder. (providing user name and password) … Read more

restrictions on directory of linux server is not working

I have some files on my Linux Server, which is getting used on front-end. My directory structure is something like this. dir1/ dir1/ file3.pdf dir2/ file1.pdf dir2/ dir1/ file1.pdf file2.pdf file3.pdf All I want to do is put some restrictions on directories i.e if user some tries to access www.example.com/dir1 or www.example.com/dir1/dir1/ it should give … Read more

SFTP file download and upload permission

I have folder /sftp/xyz, need to give download and upload permission for ‘xyz’ folder for user ‘abc’. User ‘abc’ should access only the folder /sftp/xyz. I tried so many things but now the user ‘abc’ is able to access /home/, /sftp/ also able to edit files. Please help. Answer This is because user abc has … Read more

Change existing file type from standard file “-” to directory “d” as shown with Unix ls -l

In summary, if I use ls -l it yields something for a directory like… drwxr-xr-x and the reported error for a directory with files in it, is it shows as a standard file and ls -l yields… -rwxr-xr-x My goal is to find a way to manually change file type from “-” to “d” on … Read more

php file permission 600 gives me a blank page in localhost

When I set the file permission to 644 for php files, it works. But if I give them 600 then they give me blank pages. And it happens only in localhost, in remote host 600 file permission for php files works just fine. My permission specs: Folder permission: 755 File permission: 644 php file permission: … Read more

CHMOD file and directory permissions changing back [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 3 years ago. Improve this question I have a website and I am trying to link an image stored in a directory, however when I change the file permissions … Read more

index.html opens up fine but index.php saying 404 not find page [duplicate]

This question already has answers here: Closed 9 years ago. Possible Duplicate: How to configure php5 on apache2.2? I have bought new apache server 142.4.4.15 It opens up index.html but cannot open index.php I have php, apache and mysql installed on to it. Apache status showing working fine…. Is their any php configuration I am … Read more