jowe Posted March 20, 2019 Share Posted March 20, 2019 (edited) Hi I have a problem with permissions on my media share. When I create a folder within that share as user "downloader" i can't read the files as user "kodi". And if i create the folder as "kodi", "downloader" can't enter that folder. The settings on the share is as follows. User downloader is connected from a WS2019 and a mapped drive is connected with that user. Just reinstalled from WS2016. User kodi is connected both on a Virtual LibreELEC HTPC. And a Windows10 laptop. Same problem on both. First when i had this problem, it only effected the share if i used a cache disk and mover. So I haven't used cache disk for years now. But now it happends for everything that is saved on the server. Found the link to post when i had that problem, was never solved though. I have used the Docker safe "new Permissions", and also the old "new Permissions" only on that media share. Any hints would be greatly appreciated! JoWe root@Tower:/mnt/user/media/series/The.Station# ls -al total 92 drwxrwxrwx+ 1 nobody users 4096 Mar 19 20:48 ./ drwxrwxrwx+ 1 nobody users 38 Oct 5 07:42 ../ drwxrwxrwx+ 1 nobody users 4096 Oct 5 07:44 The.Station.E01 drwxrwxrwx+ 1 nobody users 4096 Oct 12 06:52 The.Station.E02 drwxrwxrwx+ 1 nobody users 4096 Oct 19 10:13 The.Station.E03 drwxrwxrwx+ 1 nobody users 4096 Oct 28 15:17 The.Station.E04 drwxrwxrwx+ 1 nobody users 4096 Nov 2 07:32 The.Station.E05 drwxrwxrwx+ 1 nobody users 4096 Nov 12 21:19 The.Station.E06 drwxrwx---+ 1 downloader users 4096 Mar 19 20:20 The.Station.E07 drwxrwx---+ 1 downloader users 4096 Mar 19 20:16 The.Station.E08 drwxrwx---+ 1 downloader users 4096 Mar 19 20:18 The.Station.E09 drwxrwx---+ 1 kodi users 45 Mar 19 20:48 aaaa/ tower-diagnostics-20190320-0707.zip Edited March 28, 2019 by jowe Link to old problem / Solved Quote Link to comment
jowe Posted March 28, 2019 Author Share Posted March 28, 2019 I managed to solve this by removing ACL, that probably has been there since i tried out AD permissions years ago... I went slow and didnt take all folders at once, and the went up one level, and removed the -R. Not to include subfolders, that i already had fixed. setfacl -bn -R directory/ Strange thing, is that after this command i went in to the folder and created a subfolder, and that made me loose permissions to the folder, and the ACL came back. So i had to redo the setfacl command again. And after that i stuck. This was the same for all folders, like 10+. Then reset permissions with chmod -R 777 directory/ Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.