[Samba] Looking for ACL-tutorial
Gémes Géza
geza at kzsdabas.sulinet.hu
Sun Jan 4 18:54:55 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Holger Wesser írta:
| hi there,
|
| maybe anybody can help me. i'm looking for a tutorial, how to use samba
| together with acls on freebsd 5.1. i have several problems relating to
| this topic:
|
| 1.) i created a directory and set the default-permissions via "setfacl
| -dm". but what i have to do, if i want another group/user access to this
| directory? how do i set the acl recursively ?
|
| 2.) i wanted to set the permissions by right-clicking on the directory
| in windows xp, select "properties->permissions". when i try to change an
| entry, i always get an "permission denied".
|
| folks, thanks for your advice and help.
|
| greets
| holger
~From my previous experience with FreeBSD 5.0 I've found, that unlike
Linux's setfacl FreeBSD's doesn't support recursivity. So you would need
to write a shell/perl script to do it recursively. Something which would do:
for i in `ls`; do
if [ -d $i ]
currpath=`pwd`
cd $i
setfacl
cd $currpath
fi
done
this bash script if you modify a little bit should do the trick for
recursivity.
Good Luck!
Geza
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/+GF//PxuIn+i1pIRAhbXAJ4qd2nEvddP5litauYO0vkuRfzEtgCfUjzq
OJqGCJ07+dmEO/vdkVO++jQ=
=2dmM
-----END PGP SIGNATURE-----
More information about the samba
mailing list