ashman70 Posted October 3, 2016 Author Share Posted October 3, 2016 /mnt/user/Downloads Quote Link to comment
CHBMB Posted October 3, 2016 Share Posted October 3, 2016 ls -la /mnt/user/Downloads Sent from my LG-H815 using Tapatalk Quote Link to comment
ashman70 Posted October 3, 2016 Author Share Posted October 3, 2016 root@Tower:~# ls -la /mnt/user/Downloads total 0 drwxrwxrwx 1 nobody users 6 Nov 23 2015 ./ drwxrwxrwx 1 nobody users 171 Oct 2 20:00 ../ Quote Link to comment
CHBMB Posted October 3, 2016 Share Posted October 3, 2016 root@Tower:~# ls -la /mnt/user/Downloads total 0 drwxrwxrwx 1 nobody users 6 Nov 23 2015 ./ drwxrwxrwx 1 nobody users 171 Oct 2 20:00 ../ So where are all the files that you can't delete? Quote Link to comment
ashman70 Posted October 3, 2016 Author Share Posted October 3, 2016 In the Downloads folder Quote Link to comment
CHBMB Posted October 3, 2016 Share Posted October 3, 2016 In the Downloads folder There's nothing in there... unless I'm missing something? Quote Link to comment
ashman70 Posted October 3, 2016 Author Share Posted October 3, 2016 It was in /mnt/users/downloads/completed I have another folder called Downloads for some reason and I thought it was that one, it wasn't Here is the output: drwxrwxrwx 1 nobody users 6 Oct 3 12:46 ./ drwxrwxrwx 1 nobody users 60 Sep 26 21:54 ../ -rw-rw-rw- 1 ashman users 14340 Oct 3 13:40 .DS_Store -rw-rw-rw- 1 ashman users 4096 Sep 5 13:13 ._.DS_Store drwxrwxrwx 1 nobody users 226 Sep 4 11:07 some.downloaded.file/ drwxrwxrwx 1 nobody users 211 Sep 29 08:55 some.downloaded.file/ drwxrwxrwx 1 nobody users 157 Sep 28 00:47 some.downloaded.file/ drwxr-xr-x 1 nobody users 75 Oct 2 19:41 some.downloaded.file/ drwxrwxrwx 1 nobody users 168 Sep 30 21:21 some.downloaded.file/ drwxrwxrwx 1 nobody users 190 Sep 27 22:35 some.downloaded.file/ drwxrwxrwx 1 nobody users 145 Sep 28 00:47 some.downloaded.file/ drwxr-xr-x 1 nobody users 268 Oct 2 21:55 some.downloaded.file/ drwxrwxrwx 1 nobody users 189 Sep 15 18:33 some.downloaded.file/ drwxrwxrwx 1 nobody users 143 Oct 3 13:40 some.downloaded.file/ drwxrwxrwx 1 nobody users 156 Oct 3 12:03 some.downloaded.file/ drwxrwxrwx 1 nobody users 156 Oct 3 12:03 some.downloaded.file drwxrwxrwx 1 nobody users 199 Sep 28 00:47 some.downloaded.file/ drwxrwxrwx 1 nobody users 274 Sep 29 21:27 some.downloaded.file/ drwxrwxrwx 1 nobody users 286 Sep 30 18:42 some.downloaded.file/ drwxrwxrwx 1 nobody users 271 Aug 21 17:14 some.downloaded.file/ drwxrwxrwx 1 nobody users 134 Sep 28 09:39 some.downloaded.file/ drwxrwxrwx 1 nobody users 81 Sep 27 22:35 some.downloaded.file/ drwxrwxrwx 1 nobody users 230 Sep 28 09:39 some.downloaded.file/ drwxrwxrwx 1 nobody users 175 Sep 29 08:54 some.downloaded.file/ drwxr-xr-x 1 nobody users 170 Oct 2 19:39 some.downloaded.file/ drwxr-xr-x 1 nobody users 287 Oct 2 22:26 some.downloaded.file/ drwxrwxrwx 1 nobody users 290 Sep 29 10:38 some.downloaded.file/ drwxrwxrwx 1 nobody users 141 Sep 28 09:39 some.downloaded.file/ drwxrwxrwx 1 nobody users 166 Sep 29 08:54 some.downloaded.file/ drwxr-xr-x 1 nobody users 268 Oct 1 22:18 some.downloaded.file/ drwxrwxrwx 1 nobody users 172 Sep 30 23:41 some.downloaded.file/ drwxrwxrwx 1 nobody users 158 Sep 29 19:32 some.downloaded.file/ drwxr-xr-x 1 nobody users 220 Oct 2 19:40 some.downloaded.file/ drwxr-xr-x 1 nobody users 138 Oct 2 19:41 some.downloaded.file/ drwxrwxrwx 1 nobody users 226 Sep 29 08:55 some.downloaded.file/ drwxrwxrwx 1 nobody users 4096 Sep 30 20:00 some.downloaded.file/ drwxrwxrwx 1 nobody users 240 Sep 30 18:42 some.downloaded.file/ drwxrwxrwx 1 nobody users 134 Oct 3 12:03 some.downloaded.file/ drwxrwxrwx 1 nobody users 214 Sep 29 08:54 some.downloaded.file/ drwxr-xr-x 1 nobody users 172 Oct 2 19:39 some.downloaded.file/ Quote Link to comment
trurl Posted October 3, 2016 Share Posted October 3, 2016 Sound like you have a user share named Downloads and another user share named downloads. These are different user shares as far as linux and unRAID are concerned, but SMB and Windows has trouble telling them apart. You should probably consolidate them. Quote Link to comment
CHBMB Posted October 3, 2016 Share Posted October 3, 2016 This is one reason I only ever use lowercase for folders on Linux. Sent from my LG-H815 using Tapatalk Quote Link to comment
ashman70 Posted October 3, 2016 Author Share Posted October 3, 2016 How do I consolidate the shares, is there an easy way? Quote Link to comment
ashman70 Posted October 3, 2016 Author Share Posted October 3, 2016 I just delete the Downloads share, there was nothing in it. I adjusted the permission for the downloads share, but as user ashman, I still can't delete files? Quote Link to comment
trurl Posted October 3, 2016 Share Posted October 3, 2016 Since the Downloads share doesn't seem to have any contents, you can just go to the settings for that share and delete it. Any idea how it got created? Did you perhaps intend for your applications to use Downloads but then you configured them to use downloads instead, so that downloads got created by the applications? If the applications created the downloads share then it likely still has default settings show you might want to check those. Any folder in /mnt/user is a user share. Any top level folder on cache or any array drive will appear as a folder in /mnt/user. If you create a folder in /mnt/user or at the top level of cache or array drives it will be a user share with default settings. Quote Link to comment
trurl Posted October 3, 2016 Share Posted October 3, 2016 I just delete the Downloads share, there was nothing in it. I adjusted the permission for the downloads share, but as user ashman, I still can't delete files? How did you adjust the permission for the downloads share? Quote Link to comment
ashman70 Posted October 3, 2016 Author Share Posted October 3, 2016 Through the gui in the shares tab, I changed the security to secure, and added the user ashman with full read/write permissions for both SMB and AFP. I am still unable to delete some files. Quote Link to comment
trurl Posted October 3, 2016 Share Posted October 3, 2016 Through the gui in the shares tab, I changed the security to secure, and added the user ashman with full read/write permissions for both SMB and AFP. I am still unable to delete some files. Are you trying to do this from the same PC you said you deleted the credentials on? What if you set the security to public? Quote Link to comment
ashman70 Posted October 3, 2016 Author Share Posted October 3, 2016 No I am doing it on my Mac. If I set the security to public I can delete anything. Quote Link to comment
sparklyballs Posted October 3, 2016 Share Posted October 3, 2016 this is getting increasingly towards being nothing to do with our container and more to do with shares and SMB. Quote Link to comment
ashman70 Posted October 3, 2016 Author Share Posted October 3, 2016 Fair enough, I just don't understand how the permissions changed when all that was happening was frequent updates to NZBget and Sonarr, the two apps that use this directory. Quote Link to comment
trurl Posted October 3, 2016 Share Posted October 3, 2016 No I am doing it on my Mac. If I set the security to public I can delete anything. If you deleted the credentials on Windows, that will have no bearing on whether the credentials were renegotiated on your Mac! Each computer logs in on its own, and how it logs in is not always obvious since if it has successfully logged in before it will just try to do it again the same way without prompting, which might not be what you need. Please study that post I linked earlier. Sparkly, I agree totally. He already started another thread about it. I will see if I can move all this discussion over there. Quote Link to comment
sparklyballs Posted October 3, 2016 Share Posted October 3, 2016 run the newperms script over the host side of the downloads folder, change the umask setting like i showed you to cover for future downloads, and if you still can't delete files, then it is an error rooted in shares and SMB. 1 1 Quote Link to comment
trurl Posted October 3, 2016 Share Posted October 3, 2016 I have split and merged all these posts with his other thread. Quote Link to comment
CHBMB Posted October 3, 2016 Share Posted October 3, 2016 Fair enough, I just don't understand how the permissions changed when all that was happening was frequent updates to NZBget and Sonarr, the two apps that use this directory. That's what we've been trying to look at. Basically on Unraid: User = nobody Group = users drwxrwxrwx d = directory (& file would be indicated by a - ) rwx = read, write & execute for owner (nobody) rwx = read, write & execute for members of the group (users) rwx = read, write & excute for all other users So ls - la tells us that everything is being created as expected by the docker containers, as we set the file ownership to nobody:users with PUID = 99 (nobody) and PGID = 100 (users) which is the case for the vast majority of those files you showed us. There are some exceptions, notably the .DS_Store files, but those are nothing to do with the container, but created by Mac. My understanding of users on Unraid, and I'm sure someone will correct me if I'm wrong, is that you created a user, ashman, who is added to the group:users. So in theory IF your clients have negotiated appropriate smb permissions they should be able to have full permissions on these files (indicated by the second block of three letters apertaining to group being set at rwx ) IF the docker had been creating files with permissions like -rwx------ nobody users then that would have told us that only the user nobody had file permissions and the reason you couldn't delete files was because ashman does not have any permissions as part of the group users. But as you can see, thats not the case. So the conclusion is it's something to do with how your clients are interacting over smb. Which is what trurl is trying to help you with. I never have got my head around Windows/Mac smb stuff, and I no longer use either OS myself, so I'm going to leave this one to trurl, who I'm sure will correct anything above that I may have got wrong. As it stands that's what I understand to be the issue. Quote Link to comment
Thomas van Dalen Posted September 3, 2017 Share Posted September 3, 2017 I had the same thing, i went to tools -> set permissions, and hit the downloads share. finally it worked again Quote Link to comment
CHBMB Posted September 3, 2017 Share Posted September 3, 2017 I had the same thing, i went to tools -> set permissions, and hit the downloads share. finally it worked againThat's fine, but it can break docker containers if you do this....Sent from my LG-H815 using Tapatalk Quote Link to comment
Thomas van Dalen Posted September 3, 2017 Share Posted September 3, 2017 6 minutes ago, CHBMB said: That's fine, but it can break docker containers if you do this.... Sent from my LG-H815 using Tapatalk Good to know, i just started using unraid, thanks for the tip. I have deluge installed, but it doesn't download i think cause i have done this, do i need to reinstall deluge or get a full fresh docker img? 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.