execute/access on /home/perry/trunk is enough read chmod(1).

On Dec 5, 2007 4:30 PM, Lawrence Guirre <[EMAIL PROTECTED]> wrote:
> Hello,
>
> You need to have the parent directories o+rx for 'others' to be able
> to read into the directories. So /home/perry and /home/perry/trunk
> and /home/perry/trunk/so needs to be o+rwx to be writeable by
> john. Better yet, add john to perry's group and allow perry's group
> write permissions on the ~/trunk/so directory.
>
> HTH!
>
> Lawrence
>
>
> johnrob y bantang wrote:
> > 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
> >
> >
>
> _________________________________________________
> 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
>
_________________________________________________
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

Reply via email to