Discussion Locked

Change file owner on Netware 4.11

0 helpful
10 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Is there a way to change the owner of files that changes all files owned by the same user without changing one file at a time. I can change files with filer, but each directory has to be accessed and each file selected. This is too time consuming when a user leaves.

10 replies

by acurrin

Use the following flag command at a command prompt.

flag *.* /name=username

at /s to include subdirectories

by alan

I would suggest licensing a copy of JRButils for this and other types of changes that aren't as easy with native programs. In JRButils you'll find a SETOWNER command that will let you change the ownership of a directory as well as file(s). To do a group of files the syntax is:
setowner * /d
which will set ownerships (and also quota charges) to the username substituted for . There are other flags including /dt which will go through an entire tree.
Another benefit of JRButils is being able to script the maintenance of user accounts.

--alan

by jeng

#1 is almost correct - except that it will change all files to the new owner.

The following will change only those that are owned by the current owner.

flag *.* /name={new owner} /owner={current owner} /s

by npatel5

Friend,

There is an excellent TID on this on the NOVELL website. I don't remember the exact syntax. But you will have to download one exe from the website. I did this long back.

what happens is that if a user creates a file. He is the owner. But if that user is deleted, the ownership info is lost. This command, can replace all this lost ownership and the new owner would be ADMIN.

I am sorry, I don't have that TID right now. But you can search NOVELL website. Keyword " FILES WITH NO OWNER"

Give it a shot !

This discussion is closed to new replies.