Re: How to change the Owner of a file



> Hi folks
> Can any body tell me how to change the owner of a file ??????
>
> I have written this script .......
>
> unless (chown $uid , $gid , $filename)
> {
> die "chown failed :$!";
> }
>
> this code will give me the error you can't change " permission denied "
> can any body tell me , how to over come this error
>
> bye
> rakesh
>
chmod?

http://www-cgi.cs.cmu.edu/afs/cs.cmu.edu/Web/People/rgs/pl-exp-file.html

/G
http://www.varupiraten.se/



.



Relevant Pages