[Samba] recursibve listing of file owner, possible?

Ryan Bair ryandbair at gmail.com
Fri Oct 24 01:15:00 GMT 2008


You just need the owner of the files? You can do this quite easily
using the find utility with the -printf option.

--Ryan

On Thu, Oct 23, 2008 at 3:21 PM, Steve Hanselman <SteveH at brendata.co.uk> wrote:
> Hi,
>
> I'm writing a utility that needs to smbmount various shares from servers in numerous domains (no problem, all working) and then list the contents of the directories (no problem again) and obtain the windows file owner in a textual form.....
>
> Any ideas how I can achieve the last part efficiently?
>
> I see that smbcacls can do it 1 file at a time, I really need  a way of doing it recursively.
>
>
>
> The information contained in this email is intended for the personal and confidential use
> of the addressee only. It may also be privileged information. If you are not the intended
> recipient then you are hereby notified that you have received this document in error and
> that any review, distribution or copying of this document is strictly prohibited. If you have
> received  this communication in error, please notify Brendata immediately on:
>
> +44 (0)1268 466100, or email 'technical at brendata.co.uk'
>
> Brendata (UK) Ltd
> Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX  UK
> Registered Office as above. Registered in England No. 2764339
>
> See our current vacancies at www.brendata.co.uk
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list