Session illustrating problem follows.


su-2.05b$ mount
...
...
/dev/ar0s1e on /samba (ufs, NFS exported, local, suiddir, soft-updates, acls)



su-2.05b# cd /samba su-2.05b# mkdir abc su-2.05b# chown samba:samba abc su-2.05b# chmod 4700 abc su-2.05b# setfacl -m u:rumik:rwx abc su-2.05b# su rumik su-2.05b$ mkdir abc/dir1 su-2.05b$ touch abc/file1 su-2.05b$ ls -l abc total 2 drwsr-xr-x 2 samba samba 512 Feb 8 14:34 dir1 -rw-r--r-- 1 samba samba 0 Feb 8 14:34 file1 su-2.05b$ exit exit su-2.05b# setfacl -d -m u::rwx,g::---,o::---,u:rumik:rwx abc su-2.05b# su rumik su-2.05b$ mkdir dir2 mkdir: dir2: Permission denied su-2.05b$ touch file2 touch: file2: Permission denied su-2.05b$ exit

Of course in the last part of session I want to create something in directory abc

-bash-2.05b$ touch abc/file2
touch: abc/file2: Operation not permitted
-bash-2.05b$ touch abc/dir2
touch: abc/dir2: Operation not permitted

vita
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to