On Mon, Feb 24, 2003 at 03:03:02PM -0000, harris ur rahman wrote:
>       I have 2 users (usr1,usr2). If i change the owner of a file 
> -file1- in usr1, to usr2 ( i am root, using chown ), Can usr2 view 
> or open the file (file1 , which now has the owner as usr2) 
> directly by giving command
> 
>  [EMAIL PROTECTED]/]$  vi /home/usr1/file1
> 
> I actually tried this but it gave me permission not granted. What 
> is the problem in accessing the file (file1) which apparently has 
> usr2 as its owner,but just that it is under usr1. If this is not 
> possible then what is the use of chown.

The directory /home/usr1 requires execute permissions for usr2.

Binand

-- 
Russian Roulette with Unix:
while :; do kill $RANDOM &> /dev/null && break || sleep 1; done


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to