folder permissions

asw2012

Contributor
Joined
Dec 17, 2012
Messages
182
I am trying to setup podcasts in the subsonic plugin. When the podcast is actually setup in Subsonic, it tries to DL, but I get error:
1585878039785.png


Now, when I try to delete a folder by directly browsing in my share on the server I get this:
1585877964845.png


I am not good with permissions, I need to know how to open this folder up so Subsonic has proper access to read/write.

Thanks.
 
Joined
Jan 4, 2014
Messages
1,644
Let's have a look at a screenshot of the share ACL (From Windows, Properties > Security > Advanced)
 

asw2012

Contributor
Joined
Dec 17, 2012
Messages
182
Hey, thanks for the reply, but I can't seem to find where to enter the ACL for the share....

1585882870149.png
 
Joined
Jan 4, 2014
Messages
1,644
OK. From a Windows PC, assuming you use Windows. Are you on FreeNAS 11.3? Your signature block says otherwise.
 

asw2012

Contributor
Joined
Dec 17, 2012
Messages
182
I am on 11.2-U8
 
Joined
Jan 4, 2014
Messages
1,644
Good. From Windows, Properties > Security > Advanced on the share in question.
 

asw2012

Contributor
Joined
Dec 17, 2012
Messages
182
1585884278755.png
 
Joined
Jan 4, 2014
Messages
1,644
It looks like Subsonic has full control, but you as a user, don't have write access.
 
Joined
Jan 4, 2014
Messages
1,644
Outline of steps I'd like you to do first on FreeNAS:
  1. Add the user subsonic with UID/GID 816.
  2. The user you're logging in as on the PC, on FreeNAS include the auxiliary group subsonic for that user.
  3. Log off the PC, and log back in and see if you now have write access to the share.
  4. Screenshot of the ACL again.
 
Last edited:

asw2012

Contributor
Joined
Dec 17, 2012
Messages
182
ok, I've followed along as best i can. Having trouble tying my microsoft user (logged in user) to the permissions into the FreeNAS permissions. Need more explanation.

Here's what I got so far:
1585886599640.png
 
Joined
Jan 4, 2014
Messages
1,644
Having trouble tying my microsoft user (logged in user) to the permissions into the FreeNAS permissions
I had a feeling this was going to happen. You need to associate the Microsoft account with a FreeNAS user account. I assume you haven't done this. Do you have any user accounts set up on FreeNAS?

Anyway, first things first, on FreeNAS, add subsonic to groups with GID 816.
 

asw2012

Contributor
Joined
Dec 17, 2012
Messages
182
First, done.
1585887921740.png


And, no I've not added any user accounts, I've only used root. (yes, yes.. I know) ;/
 
Joined
Jan 4, 2014
Messages
1,644
Well, try this first and see if it works. From Windows, map the share using the subsonic credentials e.g.

screenshot.233.png


See if you can now delete items in the share.
 

asw2012

Contributor
Joined
Dec 17, 2012
Messages
182
I can map a drive using subsonic + password. It connects, I can browse, but that same folder, can't delete or create.
 
Joined
Jan 4, 2014
Messages
1,644
So you've mapped to the equivalent of Z:\Media\Podcasts?
 

asw2012

Contributor
Joined
Dec 17, 2012
Messages
182
yes, with subsonic and password. dumps directly into that folder....
 
Joined
Jan 4, 2014
Messages
1,644
A screenshot of the ACL on that folder, please. Also, a screenshot of the permissions on the dataset the SMB share maps to (FreeNAS > Storage > Pools > dataset > Edit Permissions).
 

asw2012

Contributor
Joined
Dec 17, 2012
Messages
182
hope this helps some....

1585893158647.png


1585893234238.png
 
Joined
Jan 4, 2014
Messages
1,644
That's interesting. I would have expected an SMB share with those Unix mode bits to have an ACL looking like that below.


screenshot.234.png


I'm curious to know how you managed to transition from one to the other.

Besides that, as subsonic has full control over the share, I'd expect you to be able to create and delete in the share, but only if you've correctly mapped to the share with subsonic credentials.
 
Last edited:

asw2012

Contributor
Joined
Dec 17, 2012
Messages
182
Ok, thanks for the help. That last post got me to thinking nobody and no group having full control. So, I checked the Apply permissions recursively in that dataset - gave me the warning - now I have full control, create, edit, delete files and folders.

1585924126733.png
 
Top