Quota Management – SetOwner SendTo extension

As part of quota management, sometimes it’s useful to change the ownership of a file, or all files within a certain directory, to a different user so that those files are “owned” by the appropriate person that is responsible for the files/directories. Also, sometimes it’s appropriate to change the ownership of a file(s) so that they are not counted against a user’s quota – particularly if it’s a large file shared by multiple people (Access database for example). There’s also the instance that you (as an administrator) may copy/restore a file for a user from some location to your network volume, and now you become the owner of the file instead of the user that uses the file. Wouldn’t it be nice to easily change the ownership of the file to the user that will use that file?

I’m a big advocate of JRB Utilities. I often say, “If you’re managing a network without JRB as part of your toolkit, you’re working too hard!”. One of the JRB utilities is SETOWNER, which allows you to change the ownership of a file. I wanted to be able to easily assign file ownership by using Windows Explorer’s Send To functionality and JRB’s SETOWNER utility – which is exactly what my SetOwnerSendTo utility does.

If you select Yes, the file ownership will be associated with user object named “UNOWNED” (which is another Cool Tip I’ll explain in another article). Otherwise, by selecting No, the file will not have an owner. You might do this for a file that you don’t know who the “right” owner is.

Perhaps the next person to ACCESS the file is a candidate to be the owner of the file at which time, you can make that person the owner of the file(s). (you must have sufficient rights to your tree to create a user object for this to work)

For full functionality of SetOwnerSendTo, you’ll need to have the following JRB utilities available in your search path:

The \JRB32 versions:

SETOWNER

CREATOBJ

DQUOTA

SETQUOTA

DELOBJ

The .\GUI1\SETOWNER.EXE version needs to exist in your path as:

SETOWNER_GUI1EXE

(0 votes, average: 0.00 out of 5)You need to be a registered member to rate this post.

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.