Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Unix problem HELP me please....!

Re: Unix problem HELP me please....!

From: Stephane Faroult <sfaroult_at_oriole.com>
Date: Fri, 20 Jul 2001 21:40:07 -0700
Message-ID: <F001.003509EE.20010720214022@fatcity.com>

Sinardy wrote:
>
> Hi all,
>
> In my Solaris 7 I have
>
> .................................
> In server site
>
> todaydate=`date '.....
>
> /data/$todaydate/myfile1.tar
> /data/$todaydate/myfile2.tar
>
> Because this file is created daily so I create a softlink to this file (to
> make the ftp user essayer)
>
> $ ln -s /data/$todaydate /data/todayfile
> $ chmod 777 /data/todayfile
>
> ............................
> In client site when the user (ftp user)
>
> ftp> cd /data/todayfile
> ...Permission denied
>
> ................................
> Do I have to copy all those files into a physical directory ?
> Can I go to my softlink and what is the permission required?
>
> Thank you guys,
> regards,
> Sinardy
>

Check permissions on /data, it may not be readable by the ftp user. Also, your chmod changes permissions on the file, not the link itself. Some Unixes do not use link permissions, Solaris 7 may. 'man chmod' will tell you whether there is a flag to specifically change permissions on the link (if there is one, it is likely to be -h).

HTH, Stephane Faroult
Oriole Corporation
Voice: +44 (0) 7050-696-269
Fax: +44 (0) 7050-696-449
Performance Tools & Free Scripts



http://www.oriole.com, designed by Oracle DBAs for Oracle DBAs
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroult
  INET: sfaroult_at_oriole.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Jul 20 2001 - 23:40:07 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US