On Wed, Mar 02, 2011 at 09:41:27AM -0500, Allen Chen wrote: > I'm looking for a function from samba side: > I want to hide files if the owner is not me, though I have > read/write permissions on those files. > Can samba do this? > > Because samba can hide unreadable files, so is there a way to hide > files if the owner is not me? > it doesn't matter what kind of permissions are already setup on > those files(I don't want to change it), > something like in the samba share config: > hide owner != %U
You could do this with a Samba VFS module - that implements this by interposing itself in the readdir() call. I'm not planning to add another option for this - it's much easier to do it via a VFS module. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
