6 votes
Accepted

Problem Set 8 Permissions

According to this post on the CS50 Reddit, the permissions have changed since a recent update50, and the documentation has not been updated to reflect the changes. In my experience, you'll need a ...
  • 3,036
4 votes
Accepted

PSET7: web server permissions problem

403 Forbidden / permissions / chmod: the Definitive Guide TL;DR: PHP files and config.json need to be set to chmod 640 despite what it says in the Problem Specification. Hope this helps!
  • 3,036
3 votes
Accepted

Pset8 search.php permission issues, warnings & fatal error - fail to open CS50.php

@Vitale: I feel your pain! Permission errors can be really frustrating. You are impatient to get back to work, and in your haste, you reach for chmod -R 777 *, the biggest sledgehammer in your toolkit....
  • 3,036
2 votes

Problem Set 8 Permissions

Based on the above from Matt Obert, I created the following bash script - bashPermsv2.sh - in the pset8 folder. Ran it from the terminal with: '~/workspace/pset8/ $ sh bashPermsv2.sh' and it ...
  • 39
1 vote
Accepted

Pset7 - Won't Let Me Enter Directory, Says Permission Denied

To start flask, the command is flask run. 644 removes execute permission, which is needed for cd. Access control 720 should work for pset7 and finance directories.
1 vote
Accepted

PSet8 Permissions Search

The lines referenced by the error messages appear to be in the area of CS50.php where it is looking up the configuration file. Make sure the permissions on pset8/includes/config.php pset8/config.json ...
1 vote
Accepted

undo a permission change

I know of no way to "undo" or roll back a permission change, but you can always change the permissions to whatever you want, using the same command and a different 3-digit number. By changing it to ...
  • 64.7k
1 vote
Accepted

problem in opening phpmyadmin and cs50 finance in pset7

There is a way to reset the IDE without fixing the PHP interpreter. You can create a new workspace. Go to https://cs50.io/sharmapranjal and click on the big gray square that says "+ Create a new ...
  • 3,036
1 vote
Accepted

pset8 permissions issues (no solutions from SE seem to be helping)

The short answer is: ls -l ~/workspace/pset7/config.json You should see something like this: ~/workspace/ $ ls -l ~/workspace/pset7/config.json -rw-rw---- 1 ubuntu ubuntu 155 Jul 26 23:47 /home/...
  • 3,036
1 vote
Accepted

Apache50 stop permission denied

If your website presents ("is stuck in") pset7 after you start apache for pset8, do a ctrl-F5 in the browser, that will reload the correct website. (author's note: after rereading the question I ...
1 vote
Accepted

ide50 version 60 installed. Still getting permission issues on Pset7

I'm on mobile and doing weekend fun stuff, so I haven't had a chance to test ide50 version 60 yet to see whether permission issues are resolved, and I can't do that now. In general, you should be ...
  • 3,036

Only top scored, non community-wiki answers of a minimum length are eligible