[Samba] problem giving setting user permissions on specific folder

Gaiseric Vandal gaiseric.vandal at gmail.com
Wed Jan 28 15:53:22 MST 2015


On 01/28/15 14:04, Rowland Penny wrote:
> On 28/01/15 18:45, Alberto Valdes Gonzalez wrote:
>> Hi Rowland:
>>
>> voyager /data/company # ls -la folder1/
>> insgesamt 56
>> drwxrwxr-x+ 1 administrator  domänen-benutzer  744 26. Sep 12:45 .
>> drwxr-xr-x  9 root           root             4096 25. Sep 23:33 ..
>> drwxrwxr-x+ 1 user   domänen-benutzer  200 20. Jan 14:40 folderx
>> drwxrwxr-x+ 1 user   domänen-benutzer  288 19. Jan 14:19 folderxt
>> drwxrwxr-x+ 1 administrator  domänen-benutzer   20 26. Sep 00:18 folderx
>> drwxrwxr-x+ 1 user   domänen-benutzer 1210 26. Sep 00:18 folderx
>> drwxrwxr-x+ 1 administrator  domänen-benutzer  474 25. Sep 23:39 folderx
>> drwxrwxr-x+ 1 user        domänen-benutzer  536 25. Sep 23:39 folderx
>>
>> sorry i had to change the owner name to "user" and the folders name 
>> to "folderx" because i cannot publish the real names.
>>
>>
>> The user i am having problem with belongs to the "domänen-benutzer" 
>> group.
>>
>> "domänen-benutzer" is the group owning all the folders in my samba 
>> server
>>
>
> Is the 'user' the user that should be able to access the share  ?
>
> Have you given 'Administrator' a uidNumber ? might be an idea to post 
> your smb.conf.
>
> Rowland
>



Maybe try creating a directory with 777 permissions, then have the 
problem user create a file in that directory, and see how the 
permissions are set.    I had some weird thing with trusted domain users 
where the group membership of the trusted users was ignored.    I had a 
grant access for  each user to the file.      I think this may have been 
some winbind bug but never resolved it (it wasn't that critical.)


Also , does "getent passwd" and "getent group"  (or "getent passwd 
someuser" and "getent group somegroup" )  show  the "Windows" users? and 
groups?

Is this an issue for all users or just a specific one?




More information about the samba mailing list