[Samba] problem giving setting user permissions on specific folder

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


Hi Rowland,

No, "user" is the owner of that folder not the user i want to grant 
permissions. lets put it like this

voyager /data/company # ls -l
insgesamt 0
drwxrwx---+ 1 administrator domänen-benutzer  412 15. Jan 13:27 intranet

I want the user "peter" to have read and write permissions in the 
"intranet" folder. The user peter belongs to the "domänen-benutzer" group

my samba conf for that folder is:

[Intranet]
    comment = Intranet
    path = /data/company/intranet
    read only = no
    store dos attributes = Yes
    create mask = 0666
    directory mask = 0777

Alberto


On 28.01.2015 20: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
>

-- 

/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