I have sharable datafiles (Pervasive) on a shared directory on a SBS2008 server
In Novell netware I was used to protect them from deleting or overwriting by
setting a command prompt like 'FLAG *.TST SRW DI'
how to do this on a SBS2008 server
Who is Participating?
Pr1zConnect With a Mentor Commented:
If you are happier using the command prompt, you can use the CACLS command
Displays or modifies access control lists (ACLs) of files

CACLS filename [/T] [/E] [/C] [/G user:perm] [/R user [...]]
               [/P user:perm [...]] [/D user [...]]
   filename      Displays ACLs.
   /T            Changes ACLs of specified files in
                 the current directory and all subdirectories.
   /E            Edit ACL instead of replacing it.
   /C            Continue on access denied errors.
   /G user:perm  Grant specified user access rights.
                 Perm can be: R  Read
                              W  Write
                              C  Change (write)
                              F  Full control
   /R user       Revoke specified user's access rights (only valid with /E).
   /P user:perm  Replace specified user's access rights.
                 Perm can be: N  None
                              R  Read
                              W  Write
                              C  Change (write)
                              F  Full control
   /D user       Deny specified user access.
Wildcards can be used to specify more that one file in a command.
You can specify more than one user in a command.

   CI - Container Inherit.
        The ACE will be inherited by directories.
   OI - Object Inherit.
        The ACE will be inherited by files.
   IO - Inherit Only.
        The ACE does not apply to the current file/directory.

Open in new window

So I think you need:
cacls *.txt /t /e /c /g:users:R

Open in new window

Hope this helps

Muzafar MominCommented:
assign readonly rights to user on folder sharing tab
BIAPROAuthor Commented:
On a folder are files wich are ok to delete, read-write,  and the one only read/write
so can't do it on a whole folder I guess

thats what i miss from netware , to set a whole group of files from a specific type in one click
like 'flag *.txt srw di'     all files with type .txt are sharable/readwrite delete inhibit
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.