RE: Query regarding the owner and group of a file.
- From: "Michael Velez" <mikev777@xxxxxxxxxxx>
- Date: Wed, 18 Apr 2007 11:51:26 -0400
-------------------------------------------after the viFrom: redhat-list-bounces@xxxxxxxxxxlogs after
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Ravi R.S
Sent: Wednesday, April 18, 2007 8:08 AM
To: redhat-list@xxxxxxxxxx
Subject: Re: Query regarding the owner and group of a file.
Yes, for me with the following settings for the files, it
saving and exiting from vi editor.
How do you open the file? With the open system call or the fopen
subroutine?
Can you run the:
ls -i trace.log
command and give the i-node number of the file before and
save?
Is the file local or on a network drive?
Michael
THIS A RESEND SINCE I NEVER SAW THIS POSTED
-------------------------------------------
Also, you may want to run the strace command on the vi
session when the program is run as 'root' and when run as
'test' to see what the difference.
Redirect standard error to a file since strace writes its
output to standard
error:
strace vi trace.log 2> strace.out
then compare the strace.out on vi run as root to the
strace.out on vi run as test. See if you can spot a
difference. It's not easy. That may be a long shot but ...
That's all I can help you out with. Maybe somebody more
knowledgeable on the list knows why it would do that.
Michael
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- References:
- Re: Query regarding the owner and group of a file.
- From: Ravi R.S
- RE: Query regarding the owner and group of a file.
- From: Michael Velez
- Re: Query regarding the owner and group of a file.
- Prev by Date: RE: Query regarding the owner and group of a file.
- Next by Date: read line from terminal
- Previous by thread: RE: Query regarding the owner and group of a file.
- Next by thread: read line from terminal
- Index(es):
Relevant Pages
|
|