Re: seteuid and file ownership

2003-03-20 Thread Vishal Jain
ncrease quotas" Also user vishalj belongs to Administrators group. /etc/passwd has that information. Are there any more priveleges I need to give? thanks, Vishal -Original Message- From: Andrew DeFaria [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 1:17 PM To: [EMAIL PROTECTED]

Re: seteuid and file ownership

2003-03-20 Thread Andrew DeFaria
You might start by checking the status after the setuid call. Perhaps it failed. Vishal Jain wrote: Hi, I am making a seteuid() call to impersonate user "shweta". Then I create a file. When I do ls -l on the file, it shows the owner as "vishalj" which was the user before doing impersonation. -rw