[Samba] Trying to add a super user to generated user directories

TAKAHASHI Motonobu monyo at monyo.com
Sun Dec 29 09:36:17 MST 2013


From: Rowland Penny <rowlandpenny at googlemail.com>
Date: Wed, 18 Dec 2013 19:50:20 +0000

>> 2013/12/18 Rowland Penny <rowlandpenny at googlemail.com
>> <mailto:rowlandpenny at googlemail.com>>
>>
>>     On 18/12/13 19:32, Ariel Luciano Rodriguez wrote:
>>
>>         Hello, In my office we have folders for each user generated
>>         with this code
>>
>>         [usuario]
>>                  path=/media/usuarios/%U
>>                  read only = no
>>                  admin users = root
>>                  valid users = %u, %U
>>                  veto files = /*.mp3/*.mp4/*.mpg/*.avi/
>>
>>         Everyones folder is created with this code for example
>>
>>         mkdir /media/usuarios/martin
>>         chown -R martin:martin /media/usuarios/martin
>>
>>         What I need is to allow my boss to access every user folder
>>         from windows
>>         which I have no idea how to do since:

Create another share like:

  [boss$]
    path = /media/usuarios
    valid users = boss

Of course you have to set proper permission to every folder for your boss
to access every path.

---
TAKAHASHI Motonobu <monyo at monyo.com> / @damemonyo 
                   facebook.com/takahashi.motonobu



More information about the samba mailing list