When I'm working within one of my application's directories that is in the webapps directory (Ex: /webapps/mysameappdirectory) I get the permissions denied message when I try to mv, rm, unzip, etc. I was reading in the document about the different permissions options, but I wasn't 100 percent sure which option would be the one I would want to change the permissions to what I need (and if it's even possible to change those permissions within those directories.) asked 27 Nov '14, 04:59 jcorbind |
You can generally reset permissions of all files and directories recursively from the current directory using these commands:
Blindly resetting permissions can be dangerous. If your application has a " If you get a bunch of errors that look like this:
Then that means the files you're changing are probably owned by one of your SSH users instead of the main account user. You can open a support ticket and we can Hope that helps! answered 27 Nov '14, 07:25 ryans ♦♦ Yes that helps and that's why I asked first! Thank you sir! :-)
(27 Nov '14, 11:28)
jcorbind
Also, I might need to change ownership for the ssh user that I assigned to that specific applications directory. I'm not too sure yet; I'll go through my linux essentials commands book and check when I get home from work. It's not mission critical right now and the sites are working fine.
(27 Nov '14, 14:48)
jcorbind
Update: I checked the permissions on a couple of my app's directories. Things looked good so I didn't change a thing. Next, I logged into two of my SSH user accounts that tied to only those apps and tried re-running the various commands that didn't work the night before (mv, wget, etc.)and low and behold they worked! I was exhausted at the time, so I chalk it up to user error on my part. lol Still your advice is rock solid especially while I looked through my linux commands book as a second source. Thanks again!
(28 Nov '14, 03:23)
jcorbind
|