Forum archive
TKL Fileserver Samba Permissions
Hi all,
I'm newbie on TKL Fileserver, after installing the appliance I was trying to setup some shares to use with windows, I was able to create and enter the shares but when trying to copy files or create directories inside the shares I get the message "you need permission to perform this action". On the "File Share Defaults, security and access control" I used Guest access and writable=yes, I need to have full users access to this share, could someone guide me on this permissions issue?
Thanks.
Just like in Windows there are both File permissions (in TKL this relates to the Linux users) and Share permissions (in TKL this relates to the Samba users). So you need to ensure that users have the appropriate File and Share permissions.
I'm not sure whether it's the best way, but back when I used to admin Windows servers I used to use the share level permissions to set access (i.e. either the users had all rights or none) and then file level permissions to handle read/write access.
When I started using Linux/Samba I transposed that way of working straight to Linux/Samba. So I use Samba permissions to allow read access (or not) then use file permissions to define read/write access (as appropriate). So when I configure Samba I either allow users all rights (read/write/everything) or don't give them any access at all. You then decide whether they can read/write or read only via the Linux file permissions.
In your case it sounds like you have successfully configured your Samba users and their permissions, but haven't allowed them write access at a file level.
Does that clarify it for you? If you need more pointers then post back and I'll see if I can explain more/better.