[Samba] problem giving setting user permissions on specific folder

Alberto Valdes Gonzalez alberto.valdes at spacetech-i.com
Thu Jan 29 02:20:28 MST 2015


Hi,

yes if i type:

voyager /data/company # getent passwd peter
peter:*:11398:10513:peter:/home/INTERN/peter:/bin/false

peter is the user i want to grant the permissions

And if i type

voyager ~ # getent group domänen-benutzer
domänen-benutzer:x:10513:charles,christian,andreas.karl

i don't see peter there, but in my windows server he is part of that group

alberto





On 28.01.2015 23:53, Gaiseric Vandal wrote:
> 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?
>
>

-- 

/Alberto Valdes/

/I.T. Engineer/


/SpaceTech GmbH/

/Seelbachstr.//13/

/D-88090 Immenstaad/

/www.spacetech-i.com/ <http://www.spacetech-i.com/>


/Phone: +49-7545-93284-103 /

/Email: //alberto.valdes at spacetech-i.com/ 
<mailto:alberto.valdes at spacetech-i.com>


SpaceTech GmbH, Amtsgericht Ulm, HRB-Nr. 632023

Executive board: Bernhard Doll (CEO), Frank Gilles



More information about the samba mailing list