Re[4]: [OpenAFS] permissions, symbolic links, ftp
Ron Croonenberg
ronc@DEPAUW.EDU
Thu, 08 Jan 2004 11:28:23 +0000 (CT)
I noticed something ....
When I cd to the root of the file system ("/") in ftp I end up in the user
directory /home/otheruser when logged in as user.
when I try to cd to /home/user (or a link to /home/user) it says that file
doesn't exist. (amnd that is correct because it is trrying to cd to
/home/otheruser/home/user and that doesn't exist.
So it looks like I can't go any higher (or is it lower) up the tree then the
homedirectory of the user I am logged into with ftp. When I log in with a shell
I can go to the root of the filesystem and cd to another users directory.
question is, why can I go to the root of the filesystem when I log in but I
can't when I log in with ftp.
Is that an AFS permissions thing ? or is it an ftp thing ? (meaning ftp doesn't
even know there is anything below the users home directory ?)
thanks,
Ron
>
>On Thursday, January 08, 2004 07:51:59 +0000 Ron Croonenberg
><ronc@DEPAUW.EDU> wrote:
>
>> Yes both user and otheruser exist.
>>
>> btw: I ftp in using the "otheruser" account, and then try to change
>> directory to the /home/user/public_html/csc496 directory via that
>> symbolic link
>>
>> here are the permissions that exist in that directory :
>> Access list for . is
>> Normal rights:
>> faculty rl
>> system:anyuser rl
>> admin rlidwka
>> user rlidwka
>> otheruser rlidwk
>>
>> here are the permissions that exist in the other users directory where the
>> symbolic links are :
>> Access list for . is
>> Normal rights:
>> system:anyuser rl
>> admin rlidwka
>> otheruser rlidwka
>>
>> With ftp it doesn't seem to work. When I just login as otheruser (a
>> shell) and cd to the symbolic link, everything just seems to work.
>>
>> thanks,
>>
>> Ron
>>
>>> Are you sure that /home/user exists when you ftp in?
>>>
>>> -derek
>>>
>>> Ron Croonenberg <ronc@DEPAUW.EDU> writes:
>>>
>>>> Hello all,
>>>>
>>>> I have a permissions question.
>>>>
>>>> I have a user with a public html directory and a subdirectory in that
>>>> one.
>>>>
>>>> some thing like :
>>>> /home/user/public_html/csc496
>>>>
>>>> I set permissions so that another user has accress to it with :
>>>> fs setacl /home/user/public_html/csc496 otheruser rlidwk
>>>>
>>>> then, in otheruser's home directory I made a symbolic link to that
>>>> directory with :
>>>>
>>>> ln -s /home/user/public_html/csc496 /home/otheruser/user
>>>>
>>>> Now when I use ftp, connect as otheruser and try to cd to user (and
>>>> that's a symbolic link to that other directory) then ftp reports that
>>>> it "can't find file
>>>>
>>>> So am I missing some permission ?
>
>What are the ACL's on /home/user and /home/user/public_html?
>otheruser will need at least 'l' on these to traverse them in order to get
>to the csc496 subdirectory.
>
>-- Jeffrey T. Hutzelman (N3NHS) <jhutz+@cmu.edu>
> Sr. Research Systems Programmer
> School of Computer Science - Research Computing Facility
> Carnegie Mellon University - Pittsburgh, PA
>
>_______________________________________________
>OpenAFS-info mailing list
>OpenAFS-info@openafs.org
>https://lists.openafs.org/mailman/listinfo/openafs-info
>
=======================================================================================
Ron Croonenberg | Phone: 1 765 658 4761
Technology Coordinator | Fax: 1 765 658 4732
|
Department of ComputerScience | e-mail : ronc@DePauw.edu
DePauw University |
Julian Science & Math Center | http://www.depauw.edu/acad/computer/RonCroonenberg.asp
602 South College Ave. |
Greencastle, IN 46135 |
=======================================================================================