ACL, Samba ACL, FTP acl
Hell-o you gurus
First, grab a cup of tea/coffee, because this is a long reading.
Now, starting from the tail, this is what I, eventually, want to get at: several accounts (ftpadmin, smbadmin and some more limited ftp accounts) that all have the same parent folder (and some child folders as well) and wich each cp/mv action whatever account makes, all files *will* eventually end up on disk with root:wheel ownage and 770 perm.
I have a folder named /mnt. On this folder I enabled acl.
# file: mnt # owner: root # group: wheel user::rwx user:root:rwx user:smbadmin:rwx user:ftpadmin:rwx group::--- mask::rwx other::---
drwxrwx---+ 8 root wheel 512B Apr 1 14:18 mnt
1)Now, thinking samba-like, beetween ftp and the sistem acl there should be a midleman (like samba mod-acl) that converts file ownage from smbadmin(eventually ftpadmin) to root:wheel. Had no luck with that, didn't find no modules/script capable of that.Maybe samba works in some other way that I didn't figure out.
2)Next, I've read about execution bits and applyes these commands
chmod -R u+s /mnt chmod -R g+s /mnt
3)Next, followed the crumbs of a ACL permision inheritance for newly created/cp'd/mv'd files. Did some reading and found a thing that I think will solve all my problems, the "default:user::" ACL entry. Unfortunatelly, in FreeBSD this is incorect. I latter read/succesfully tryed these settings on solaris.
So you see, I'm in a bit of a confused state of mind. Have no ideea wich path to take (the ftp samba-like midleman, the chmod way, or maybe the 3rd way of forcing all new files in the /mnt folder to have specific ownage and permisions). To my brain, the 3rd way should be the way to go, but am in definatelly need of some guidance/books something.
In other words...uhm... help !?
Last edited by da1; 1st April 2009 at 08:29 PM.
|Thread||Thread Starter||Forum||Replies||Last Post|
|samba and OpenBSD 4.4||mfaridi||OpenBSD Packages and Ports||5||24th November 2008 09:46 PM|
|Samba Server on FreeBSD 6.1||MiniStrange||FreeBSD General||1||8th August 2008 03:57 PM|
|Samba + acl||bichumo||General software and network||0||30th June 2008 10:49 AM|
|samba problem||sniper007||FreeBSD Ports and Packages||3||22nd June 2008 06:59 PM|
|Samba NOT STARTING||pcfxer||FreeBSD General||11||13th May 2008 10:29 AM|