Setting permission on feature dataset with sdelayer don't work

Discussion created by gismoe on Oct 21, 2010
Latest reply on Oct 22, 2010 by rbrennan-esristaff
I want to set permissions on a feature dataset but this results in an error message:
Error: Layer not found (-20).

This is may command:

sdelayer -o grant -l FDS,SHAPE -U FDS_EDIT -A SELECT,UPDATE,INSERT,DELETE -i 5153 -s SERVER -u ADMIN -p xxxxxx

Setting the permission with ArcCatalog works very well but i want to create a batch to rebuild all my permissions.