RE: Query regarding the owner and group of a file.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

> > > From: redhat-list-bounces@xxxxxxxxxx 
> > > [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
> > logs after
> > > 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 
> after the vi 
> > 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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux