summaryrefslogtreecommitdiff
path: root/howto.txt
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-03 02:26:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:08:14 -0500
commit9c0a83dd2ce28f0b1db4003c1592f0e2a837be76 (patch)
tree02720f4b5a1cfc9de60e9aafd8290d7f5411021f /howto.txt
parente965f365016e061ee9cddbcf0d0468cd52fd6482 (diff)
downloadsamba-9c0a83dd2ce28f0b1db4003c1592f0e2a837be76.tar.gz
samba-9c0a83dd2ce28f0b1db4003c1592f0e2a837be76.tar.bz2
samba-9c0a83dd2ce28f0b1db4003c1592f0e2a837be76.zip
r4496: expanded info on testing your filesystem for xattr support
(This used to be commit bf9dfcc5e2f1b3fb827d4625ebaa2e75b754c76c)
Diffstat (limited to 'howto.txt')
-rw-r--r--howto.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/howto.txt b/howto.txt
index db585f6958..7071fdfbc1 100644
--- a/howto.txt
+++ b/howto.txt
@@ -135,3 +135,30 @@ simulate it by using the option:
that will place all extra file attributes (NT ACLs, DOS EAs, streams
etc), in that tdb. It is not efficient, and doesn't scale well, but at
least it gives you a choice when you don't have a modern filesystem.
+
+Testing your filesystem
+-----------------------
+
+To test your filesystem support, install the 'attr' package and run
+the following 4 commands as root:
+
+ touch test.txt
+ setfattr -n user.test -v test test.txt
+ setfattr -n security.test -v test2 test.txt
+ getfattr -d test.txt
+ getfattr -d system.txt
+
+You should see output like this:
+
+ # file: test.txt
+ user.test="test"
+
+ # file: test.txt
+ security.test="test2"
+
+If you get any "Operation not supported" errors then it means your
+kernel is not configured correctly, or your filesystem is not mounted
+with the right options.
+
+If you get any "Operation not permitted" errors then it probably means
+you didn't try the test as root.