summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_fake_perms.c
AgeCommit message (Collapse)AuthorFilesLines
2003-03-27Use the new modules system in VFS. If a module can't be loaded with theJelmer Vernooij1-5/+3
new modules system, we still fall back to the old system. (This used to be commit cebe8d8b424f10006f2f791a8f086c6c8a7f5d57)
2003-03-03Fixes to the vfs_fake_perms modules - we only need to specify the VFSAndrew Bartlett1-211/+29
functions that we actually modify. Also a better implementation of the stat() and fstat() functions. Andrew Bartlett (This used to be commit 03e74be11cf76167ed211398016274cbaba5847b)
2002-12-30Add a new VFS module, that just fiddles the file permissions. Still need toAndrew Bartlett1-0/+471
make it fiddle with NT ACLs (or report no ACL, so Samba fakes it up). The idea here is that Samba reports an NT ACL to Windows clients, which use that ACL in downloaded profiles. If the user doesn't have write permissions on the directories being downloaded, then it cant put the subfolders in (yes, NT will set perms so that it can't access the dir as the user the created it) and the profile download fails. The current solution it to give the user unix write perms to the folders, but this is rather dangerous - sombody could trojen the profile. This should avoid that mess. I'll test this out properly next week, but it works in vfstest (thanks idra!). Andrew Bartlett (This used to be commit 1ad782282a3eb4f89c489a77ad8404099d41d0f9)