There are many ways to do this. easy way is
Just make sure that have a rw- permission on all folders in this folder /home/perry/trunk/so. then login as john then copy it to that folder. command I think chmod -R o+rw /home/perry/trunk/so On Wednesday 05 December 2007 12:49, Ludwig Isaac Lim 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 > > > thanks in advance, > ludwig > > > > ___________________________________________________________________________ >_________ Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > _________________________________________________ > 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 -- Alben Benavente Alteza Information Systems Security and Internet Services Administration Information Systems Department / Philippine Airlines _________________________________________________ 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

