Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Folder permissions

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
silas2
Posts: 38
Joined: 2019-09-30 13:22

Folder permissions

#1 Post by silas2 »

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

#2 Post by silas2 »

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

#3 Post by silas2 »

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.

Post Reply