Permission denied (public), lost connection

I’m trying to copy one file from AWS Instance one to instance two. But getting bellow error.

Here is my copy command

scp jdk-8u221-linux-i586.tar.gzz ip-172-31-18-114.us-east-2.compute.internal:/home/ubuntu/ 

Error:

https://ibb.co/3vf1cQC 

Tried giving sudo proviliges to ubuntu user in both AWS servers, butstill same issue.

I can see that, connection is hapening sucessfully but copying is not happening ..? May I know please why ..?

Note: In .ssh folder am having three files only.

authorized_keys, id_rsa, known_hosts 

Netbeans11 Permission Denied Access Log When Started Tomcat9 Ubuntu 18.04

I installed Apache tomcat 9.0.24 in my machine(ubuntu 18.04) with this tutorial visit https://linuxize.com/post/how-to-install-tomcat-9-on-ubuntu-18-04/ but i dont make link, it works fine in terminal but always gets error Permission denied access log when started in netbeans11.

Myubuntu’s user loged in is andre

installation folder in /opt/tomcat/apache-tomcat-9.0.24 I have create user tomcat :

sudo useradd -r -m -U -d /opt/tomcat -s /bin/false tomcat sudo chown -RH tomcat: /opt/tomcat/apache-tomcat-9.0.24 sudo sh -c 'chmod +x /opt/tomcat/apache-tomcat-9.0.24/bin/*.sh' 

tomcat-user.xml with this configuration :

<tomcat-user xmlns="......">   <role rolename="tomcat"/>   <role rolename="role1"/>   <user username="tomcat" password="" roles="tomcat"/>   <user username="both" password="" roles="tomcat,role1"/>   <user username="role1" password="" roles="role1"/>   <role rolename="manager-gui"/>   <role rolename="manager-script"/>   <role rolename="manager-jmx"/>   <role rolename="manager-status"/>   <role rolename="admin-gui"/>   <role rolename="admin-script"/>   <user username="admin" password="admin" roles="manager-gui,manager- script,manager-jmx,manager-status,admin-gui,admin-script"/> <tomcat-user/> 

tomcat’s configuration in netbeans :

Server location : /opt/tomcat/apache-tomcat-9.0.24 Username : admin Password: admin 

When i started the server from netbeans a authentication windows tomcat manager application is showed. And I type user : admin and password : admin.

Error : java.io.FileNotFoundException: /opt/tomcat/apache-tomcat-9.0.24/logs/localhost_access_log.2019-08-22.txt (Permission denied)

But i always get that error(Permission denied access log file), and http://localhost:8080 is always 404. Anyone can explain me what’s the problem? thanx

Error while assigning item level permission using SP 2010 Workflow

I am using SP 2010 environment and have created on designer workflow for setting the item level permission.Each item has a string field in the list with values as “SPGroupName1;SPgroupName2;SPgroupName3” I want to provide unique permissions to above mentioned groups. While assigning this complete string workflow throws error while running.

Please guide me on this.

Thanks,Kailash

SPO PowerShell – How to add AD Group as permission on a Document Library Folder

I am writing a PS script to create a site with a doc library. The doc library will have many folders, each of which need its permissions set via an AD Group. I have been using PNP PowerShell, but see no way to do this. I can assign SharePoint Groups to the folders, but I need to assign Domain Groups (AD groups). Been searching for hours, any help is appreciated!

Stop External users with ‘contribute’ permission mass mailing everyone in AD (hide all users in AD from external users)

Our clients each have their own site on our tenant. They have contribute permission level (within their own site) to allow them to upload documents for us to process. With ‘contribute’ they also get the button to “SHARE”. When this is selected they can start to type letters in the selection box and can start to populate the box. They cannot press send, but but this point they could copy and past into an email and bulk email! How do I stop them seeing ALL USERS in the AD. Even users that are not in their site!

Thanks

ssign permission of the current user to a list item programmatically

I am making an event web part which is connected to a list of items. When a user attends an event, a json object will be parsed to a txt document that is attached to that particular list item /event. with the user details. However, when an user does not have edit permission, this will not work. In this case I want to give the user edit permissions. Im using sharepoint online.

I was thinking to use REST API to change the users permissions for that particular list item, but from what I could gather it, seems it only works for groups permission etc and not for the current user. Have I missed something, or do I need to user another kind of method?

Grant unique permission on an excel file in shared document but some permission grayed out

i’ve an excel workbook at shared libray, and i want to grant the permission:

  • anonymous can can edit and view but when i go to shared Documents -> tick the checkbox of the excel file->Library Tools->Library->Library Permissions->click anonymous access, Add Items/Edit Items/Delete Items are all grayed out

  • system account have Full control but there is a tick on “Limited Access” and grayed out when i go shared Documents -> onmouseover the excel file->right click manage permission->tick system account->edit user Permissions

How can i make about grayed checkout to normal?

How to add permission to the entire site from a list

I have a list “managers”, this list have a name picker, this list will be used every time a new manager leaves or join. How can I give the people on this list permission to the entire site? I mean, if I add someone on list “managers”, it will automatically give this person the “owner” permission on the site.

Is this possible?

Regards,