You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to follow Security steps and created restricted_user using adduser command, set password for it, added necessary lines to sudoers file. Then I commented and uncommented necessary lines. Now when I submit code, it says "Runtime error". As I see, restricted user has no permissions to create log directories and files. I tried to run "sudo -u restricted_user mkdir log" in my "assignments/assignment_8/p1/admin" directory, and got "Permission denied" error. My assignments and tester folders are located in /var/www/acm****/private/ directory. I tried to move them to web root, but no success, the same error.
What steps I missed? Maybe i have to make restricted_user a root?
The text was updated successfully, but these errors were encountered:
I tried to follow Security steps and created restricted_user using adduser command, set password for it, added necessary lines to sudoers file. Then I commented and uncommented necessary lines. Now when I submit code, it says "Runtime error". As I see, restricted user has no permissions to create log directories and files. I tried to run "sudo -u restricted_user mkdir log" in my "assignments/assignment_8/p1/admin" directory, and got "Permission denied" error. My assignments and tester folders are located in /var/www/acm****/private/ directory. I tried to move them to web root, but no success, the same error.
What steps I missed? Maybe i have to make restricted_user a root?
The text was updated successfully, but these errors were encountered: