xbmcgotham 35 Posted January 6, 2018 Posted January 6, 2018 Hi, Not sure why, but when you click on scan library (replace all files), the newly created and saved files are not accessible anymore. For some reason a user named "User #1002" is the owner. All new files are not anymore accessible to me. Please let me know how we can change this in the emby config so that the right user is used to create these files. And please let me know how emby can change ownership back to the default user so I can access the again. Thanks attached image: note. the unlocked files are the old original files on the NAS @@Luke can this be related the the NAS folder mapping which we needed to map directly in Ubuntu as Emby was not able to work yet with login credentials? If true, please implement this asap so that NAS drives which need login credentials can be connected inside Emby directly. Thanks
Luke 42086 Posted January 6, 2018 Posted January 6, 2018 I honestly don't think there's anything to implement, because the files are saved based on the credentials that the emby server process is running under.
xbmcgotham 35 Posted January 6, 2018 Author Posted January 6, 2018 @@Luke knowing from my time in the past being in IT a service can run on any given user profiles and this would produce the owner with any predeterment security levels. if the emby service is writing the files using user #1002 than this was automatically setup during install as i was not asked this at setup. i did make sure that the emby admin would have the save credentials as the nas drive folder login just in case emby would use this. i would need to test if this problem is related to the local mapping of the NAS in ubuntu or something else. i would need to be able to connect the NAS directly to emby, but cant at the moment as it does not support login yet. this is what i was wondering about and hoop it will be available soon as i cant move on implementing emby.
Luke 42086 Posted January 6, 2018 Posted January 6, 2018 Well those are two separate things. that still wouldn't change the credentials that the server process runs under. You don't need to wait for this feature though because you can always mount the smb path locally using fstab and then add the local path to emby.
xbmcgotham 35 Posted January 6, 2018 Author Posted January 6, 2018 @@Luke this is what i have done. the nas is connected at startup using the correct credentials. i can connect to it in emby through the fstab. but for some reason the wrong user is used to create the files themself. as the files are written to the nas, we know that the fstab works, however the creator is different. how can we make sure that the emby server is using the same user as is specified in fstab? what can i do at my end to fix this? another stange thing i notised is that the initial libary scan creates the new files correctly but the next manual scans do not.
Luke 42086 Posted January 6, 2018 Posted January 6, 2018 another stange thing i notised is that the initial libary scan creates the new files correctly but the next manual scans do not. Subsequent scans are only looking for library changes. if you delete an nfo and expect it to just come back, that won't happen.
Luke 42086 Posted January 6, 2018 Posted January 6, 2018 As far as the user goes, @@alucryd can detail the steps to run the emby server process under a different user, which of course may have other implications. thanks.
xbmcgotham 35 Posted January 6, 2018 Author Posted January 6, 2018 @@Luke i deleted some files and they where re-created after manual scan but not accessable. any idea if or when a direct connection to nas using login is possible? @@alucryd thanks, hope you have something on this
Luke 42086 Posted January 7, 2018 Posted January 7, 2018 It's likely we'll have it in the future, yes. Thanks.
xbmcgotham 35 Posted January 7, 2018 Author Posted January 7, 2018 (edited) thanks i will wait till than Edited January 7, 2018 by xbmcgotham
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now