Jump to content

Change permission attributes of plugin using putty


kaledi
 Share

Go to solution Solved by FrostByte,

Recommended Posts

kaledi

Hello,

I've successfully manually copied a plugin into the Emby plugin folder using putty.  However, the permission attributes for the file are 'root' and therefore Emby can't see the plug in.  How can I use putty, or WinSCP to change the permission attributes so that Emby has access to it?

thanks

Link to comment
Share on other sites

FrostByte
28 minutes ago, kaledi said:

Hello,

I've successfully manually copied a plugin into the Emby plugin folder using putty.  However, the permission attributes for the file are 'root' and therefore Emby can't see the plug in.  How can I use putty, or WinSCP to change the permission attributes so that Emby has access to it?

thanks

Using WinSCP right click on the dll and choose Properties

image.png.40ddc196e87a1d40e48eb8c25a668d30.png

Link to comment
Share on other sites

kaledi

Thanks - it seems I can navigate around the folder and select the file in WinSCP, but I don't have root privaledges and therefore can't change the attributes.

How do I gain root privaledges with WinSCP, or how can change the attributes with Putty?

Link to comment
Share on other sites

  • Solution
FrostByte

You can use the guide below to setup WinSCP for SU

For putty this should work

sudo -i
cd /volume1/@appdata/EmbyServer/plugins
chown emby:emby myfile.dll
chmod 644 myfile.dll
ls -l myfile.dll

 

Edited by FrostByte
fixed chdir command
Link to comment
Share on other sites

kaledi

Thank you so much.  This worked a treat, with one modification for future reference.

To navigate to the directory it is

cd /volume1/@appdata/EmbyServer/plugins

sudo -i
cd volume1/@appdata/EmbyServer/plugins
chown emby:emby myfile.dll
chmod 644 myfile.dll
ls -l myfile.dll
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...