If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Pervasive.SQL > Butil - Setowner

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-04-09, 08:45
Solero Solero is offline
Registered User
 
Join Date: Oct 2009
Posts: 2
Butil - Setowner

Hi there,

I tried to set an owner name to specified Btrieve file in our database with the BUTIL –setowner Function.
It seems that it works fine.
But when I tested the result (by opening the file with the Function Executer GUI program) it did not show me the message "owner name is invalid" like it should be.
Furthermore, when I try to set the owner using the GUI program it reported that the owner name is already set,
It means that the owner name is maybe set but the access to the file is still open and free (I tested that as well).


anyone help?
thanks.
Reply With Quote
  #2 (permalink)  
Old 10-04-09, 19:52
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,015
What was your command line when issuing the SETOWNER?
There are several levels of ownername access. For example, you can still allow read only access without the owner name or encrypt the entire file.
For example, the following disables read only access:
butil -setowner class.mkd /O1234 2
The following sets the owner name and allows read only access to the file:
butil -setowner class.mkd /O1234 1
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #3 (permalink)  
Old 10-05-09, 02:32
Solero Solero is offline
Registered User
 
Join Date: Oct 2009
Posts: 2
Quote:
Originally Posted by mirtheil
What was your command line when issuing the SETOWNER?
There are several levels of ownername access. For example, you can still allow read only access without the owner name or encrypt the entire file.
For example, the following disables read only access:
butil -setowner class.mkd /O1234 2
The following sets the owner name and allows read only access to the file:
butil -setowner class.mkd /O1234 1
Hi , Thanks For replyinh

the command line was:

BUTIL -setowner file.dat /Otest /2

maybe the '/2' is the problem?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On