Skip to content
Advertisement

Tag: permissions

Protect website files on linux hosting server

l have a website that is hosted in linux server, and my root is (/home/MyAccountName). My website allows users to upload there c++/c code, compile, and execute it. The problem is: The executed user’s program will have all the owner permissions (read – write -execute). so if the user’s code is like : system(‘cd / && rm -r MyAccountName’); when

Linux tar command ignore files which permission denied

I encountered an issue when I tar a directory. There is a backup file in one of the sub directory created by another user and it doesn’t allow other user to read. so my tar command was failed. My question is: Can I ignore this file (actually this file is not important) and tar the rest of the files/directories? Answer

ssh key gen Permission Denied [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question

Why can’t this user delete this file?

If I do: I see: If I sudo to root and then su to jenkins, I should be able to delete this, yes? Other relevant information about the directory and its parent: If I do: then I see than the user “jenkins” has been added to the “root” group: But if I: I get: Why is permission denied? Answer As

what is the meaning of the lost+found directory on linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question

Advertisement