Permissions

Started by ejso, April 03, 2016, 12:47:09 AM

Previous topic - Next topic

ejso

Good evening, I'm trying to change the permissions of files (as root), but it is not working. I entered File Management -----> Advanced File Manager

Sandeep

Use sftp manager .. Winscp

ejso

Good morning Sandeep, thanks for the excellent suggestion, was having trouble setting up FileZilla and CuteFTP 8.
But still have a problem, I can not change the permissions of directories or files.

Sandeep

Unknown problem ... linux won't run if permissions are not working

do you have the root access ?

what files and folders you're trying to change permissions ?

ejso

the you have the root access? Yes, I have access!

what files and folders you're trying to change permissions? I'm installing wordpress and is not letting install the plugins!

Sandeep

go to cwp >> user accounts >> Fix Permissions >> choose site's user from dropdown menu >> click Fix Account Permissions

Administrator

you should check that you have disabled FileSystemLock option in the users control panel, if FileSystemLock is enabled you want be able to make and changes.


ejso

Good day, please find where FileSystemLock the control panel, my thanks

Sandeep

login with user's name not root

ejso


lbocko

Where do I find Users-->Accounts on Dashboard? Installed a WP site in subfolder to set up before replacing current, but I have no permissions to add posts, menus, plugins etc. File Unlocked, and only see FTP accounts. I do not see where I can edit users.

bluebrad

i did a booboo i was typing in chmod 777 -r /home/ and now im getting this permissions 403 forbidden You don't have permission to access / on this server.
Server unable to read htaccess file, denying access to be safe

what are the defaults?
how can i recover from this

ejsolutions

#12
Depends on your setup and which modules you are using..
find /home/user_name -type d -exec chmod 755 {} \;
find /home/user_name -type f -name "*" | xargs chmod 644

or
find /home/user_name -type d -exec chmod 750 {} \;
find /home/user_name -type f -name "*" | xargs chmod 640


Permissions of 777 should almost never be used!