Folder permissions

New to Debian (Or Linux in general)? Ask your questions here!

Folder permissions

Postby silas2 » 2019-12-05 11:37

I run:
Code: Select all
public_html$ sudo chmod -R 775 /var


But in my browser I see:
Code: Select all
public_html/var/page_cache" is not writable


What am I misunderstanding? Doesn't -R mean recursively apply to all sub-folders?
Doesn't 775 give all users write permissions?
silas2
 
Posts: 38
Joined: 2019-09-30 13:22

Re: Folder permissions

Postby silas2 » 2019-12-05 12:04

Could this be something to do with SELinux? When i type "sudo sestatus" I'm getting command not found....is it running?
This is exactly the issue i'm getting https://magento.stackexchange.com/quest ... t-writable
but does SELinux run by default?
silas2
 
Posts: 38
Joined: 2019-09-30 13:22

Re: Folder permissions

Postby silas2 » 2019-12-05 12:15

It seems /etc/selinux/config File is missing which according to the selinuxproject.org means its disabled, so I'm left wondering why -R 775 isn't making subfolders writeable.
silas2
 
Posts: 38
Joined: 2019-09-30 13:22


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable