8
votes
Is it safe to use 777 for my public html folder?
Define safe.
It's not a best practice. Depending on the scope of your install (e.g. who has access to the system) it may not be a big deal - for example if the only purpose of this machine is to run ...
5
votes
File system permission for MediaWiki?
The following picks up on a fresh working LAMP installation under Red Hat 7 or clone (CentOS 7, Scientific Linux 7, Orcale 7, etc). Set Selinux to permissive for the installation.
setenforce 0
First ...
3
votes
Accepted
How to allow MediaWiki non-users to only read some wiki pages related login and account creation?
Use wgWhitelistRead in your LocalSettings.php configuration file.
3
votes
Accepted
How to set execute-only permission for a php script in a .htaccess file?
I'm partly confused by your question, so I'll answer it the best I can.
To set permissions on any file on a server (including php files) there's a couple of ways.
If you have a web file manager ...
2
votes
Noob question - regarding images on webserver not loading when URL is typed, but do when clicked from link on index html
The problem you are having is related to case sensitivity on a unix filesystem, as well as an incorrect file extension.
In your HTML you have the filename thisWeek.png however you are linking to ...
2
votes
Can .htaccess be used to set file permissions?
Apache's .htaccess files cannot be used to set unix file permissions.
chmod is a command line tool for unix-like systems that is used to change the unix permissions of files on the filesystem. chmod ...
2
votes
Permissions suddenly changed to '00' on sites images directory
Permissions did not change by themselves, someone (or something) changed it. That could happen multiple ways:
PHP Scripts changing permissions
User changing permissions via FTP (chmod)
The thing is, ...
2
votes
How to fix "Missing a temporary folder" error in Wordpress?
Well... I fixed it! But as it usually goes, I'm unsure of the exact thing that put it together. However, I will leave what I did over here, in hopes that it might help someone else in the future.
...
2
votes
Accepted
How to set permission for a system user to particular website on plesk
The group psaserv doesn't have permission to write to /var/www/vhosts/example.com/. The middle group in the permissions (r-x) are for the group. The group has "read" (r) and "execute&...
1
vote
Files synced via dropbox cannot be served with IIS because of file permissions
Have you checked if the folder has permissions to IIS user?
Try testing with giving all permissions to everyone on the folder and check if files are accessible by your application. Then start ...
1
vote
What should the Unix file system permissions be for PHP files under Apache?
755 for folders and 644 for php and other files.
1
vote
what is the proper file permissions needed for certificate files
This is partially subjective and especially because your question lacks too many points of context like: which applications are using these certificates, which OS (based on your mention of 644 it ...
1
vote
Can't include file with php due wrong permissions on local server
It seems that the passage of a file through Mega makes it lose the group permissions and so in the server the www-data (the apache one) group doesn't have any permission and the pages just don't work.
...
1
vote
Why doesn't Apache allow access to files outside the web root --from within index.html?
This doesn't really have anything to do with Apache or server-side permissions, but more to do with how the browser resolves relative client-side URLs (according to RFC 3986).
I'm assuming /html is ...
1
vote
Can uploaded files override Apache permissions?
"Option 1."
Write a script. Something like
create_account <student name>
will do well. In the script do your create the directory(ies) and then make sure permissions are right. More or less, ...
1
vote
Can access to Google Analytics with historical data be recovered after losing administrator access?
I had a similar issue in the pass, and was able to resolve it by contacting Google directly. Google sent me a specific file I had to update on the website to prove that I really owned it, then they ...
1
vote
Can't edit files via FTP even though permissions are correct?
Only run this command on your terminal
chown -R username /var/www/html
and then restart the vsftpd service by using below command
sudo /etc/init.d/vsftpd restart
1
vote
Can't edit files via FTP even though permissions are correct?
This drwxrwxrwx lets me know that beta is readable, writable and can be exercuted by all users of any groups, however what it doesn't tell me is that the files or folders within them folders use the ...
1
vote
Can't edit files via FTP even though permissions are correct?
As mentioned by master sensei closetnoc not all FTP connections allow that.
In addition, as a Mac user I have noticed that not all FTP clients will allow editing. The best results I have gotten is ...
1
vote
File system permission for MediaWiki?
An explanation for the SELinux portion.
I know next to nothing about mediawiki but use SELinux daily so I figured I would help explain what you are setting. I got the definitions from various man ...
1
vote
Cakephp 3 installation on Ubuntu doesn't have permission to access index.php
Looks like a no brainer, folder ownership!
Try doing the following:
sudo chown -R www-data:www-data /webroot
1
vote
What file permissions should I set before I give website project folder to hosting service?
My question is what file permissions should I set for the files in
this folder before I submit it to the hosting service in order to
avoid problems with security, access, other things?
There are ...
1
vote
best apache log file permissions on cpanel server
I basically agree with Simon Hayters statement that if they gained shell access - unless they had limited shell access by injection into say a php application that was using shell_exec - I personally ...
1
vote
best apache log file permissions on cpanel server
If they are able to login via your SHELL then its pretty much game over and as mentioned by @w3d Apache log files are least of your worries.
Apache writes to log files directly, no one can view ...
1
vote
How can I restrict access to JSON data such that users cannot access it directly with their browser, but the JavaScript can still get it?
... visitors of my website can't see the JSON file from it's URL, but that JavaScript file can access it?
JavaScript is the wrong thing to be using if you're dealing with secure files. It sounds like ...
1
vote
What are the permissions required to edit page in a site in FrontPage 2003?
After much trial and error, it seems like the users need to be local administrators on the web server.
Obviously, this a scenario that forces us to implement many other safeguards.
1
vote
FTP 550 Permission Denied BUG?
After search I see really a lot peoples with the same problem.
Please check the OWNER of file, in my case the owner was ROOT.
To solve the problem just do it:
chown -R apache:apache /public_html/...
1
vote
Accepted
How to create private BlueSpice for MediaWiki website?
The solution is to go to group * in the WikiAdmin - Permission manager and uncheck the Read under the Wiki column adjacent to the Namespace column mentioned in the question.
1
vote
Is it enough to get permission by e-mail to show customer case study on website?
1.) Is there a (written) contractual agreement between you and your client?
(a.) If so, what does the privacy/data usage/advertising-publishing clauses say you can do with the data? There data may be ...
1
vote
Accepted
EC2 Folder Permissions on Amazon AWS
KD - Good question. You should set permission 755 for all directories. Make sure that never set 777 permission for any folder/files.
Also best thing is you set 755 for all word-press folders and 644 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
permissions × 39apache × 7
mediawiki × 6
linux × 6
files × 5
php × 4
ftp × 4
ubuntu × 4
web-hosting × 3
apache2 × 3
htaccess × 2
web-development × 2
security × 2
cpanel × 2
error × 2
users × 2
localhost × 2
403-forbidden × 2
chmod × 2
google-analytics × 1
wordpress × 1
https × 1
cms × 1
legal × 1
search × 1