Hello, it must be the permission of the directory /home/perry/trunk if you are accessing the copied file as user john.
> On Dec 5, 2007 12:49 PM, Ludwig Isaac Lim <[EMAIL PROTECTED]> wrote: > > Hi: > > > > Suppose I logged in as user john, and I tried copying > > a.txt from /home/john/devel into /home/perry/trunk/so > > (owned by perry); but everytime I get a "Permission denied" > > error. > > > > I tried logging in in as perry and execute the > > following commands to allow anybody to copy into "so" > > subdirectory : > > cd trunk > > chmod 777 so > > > > After I executing this command, john is still unable to > > copy a.txt from /home/john/devel into /home/perry/trunk/so > > > > I tried another step, I logged in as john and execute: > > ln -s /home/perry/trunk/so my_so > > cp a.txt my_so > > > > I still get a permission denied. I tried changing the > > permissions /home/perry and /home/perry/trunk into > > rwx--x--x, but it still doesn't work. > > > > I wonder why it doesn't work. If I'm not mistaken > > permission mode 777 allows anybody to read/write/execute, > > Plus the fact the change the permission mode of /home/perry > > and /home/perry/trunk into rwx--x--x(According to my man > > pages, x is allowed access if it is a directory); so based > > on my understanding, anybody can access /home/perry and > > /home/perry/trunk the permission should be rwxrwxrwx for the directory so that all others can read and write into the directory not just access and see what is inside (--x). > > hope this helps. _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

