Rev cgi question

Richard Miller wow at together.net
Wed Apr 2 12:01:06 EDT 2008


Not quite solved yet.

I believe this issue has been talked about before, but the answer is  
not clear to me.

If I change the file attributes of a particular folder to "777" from  
within my ftp program, my Rev cgi script can then go ahead and delete  
it using Delete File and Delete folder commands. But if if then use a  
Rev program to put a new folder on the server (via ftp) in the same  
place as this last one, I can't delete it (unless I manually change  
it to 777). There must be some setting on the server itself...  
probably in the Ownership & Permissions area... to configure any new  
folders placed there so they can be deleted by Rev... but I can't  
sort out how to do this. This Ownership/Permissions area is  
completely foreign to me.

Help would be much appreciated.

Thanks.
Richard



On Apr 2, 2008, at 8:53 AM, Richard Miller wrote:

> I sorted it out. It was an Ownership & Permission OSX setting.
> Can someone provide guidance on the correct way to set those  
> settings for unrestricted Rev cgi access, while still retaining  
> server security? Or is the security issue on a Mac (running its  
> native server app) not an issue, regardless of these settings?
>
> Thanks.
> Richard
>
>
> On Apr 2, 2008, at 8:41 AM, Richard Miller wrote:
>
>> There's something else going on. I wish it was just spelling, but  
>> it's not. It's probably particular to OSX.
>>
>> I tried the following:
>>
>>    set the defaultfolder to "/users/myusername"
>>    put the folders into buffer
>>
>> I get back the correct list of folders, including one called  
>> "Desktop"
>>
>> I then try this:
>>
>>    set the defaultfolder to "/users/myusername/Desktop"
>>    put the folders into buffer
>>
>> It returns the list of folders inside the cgi-bin directory. I  
>> tried changing "Desktop" to "Library" and got the same cgi-bin  
>> results.
>>
>> What's going on here?
>>
>> Thanks.
>> Richard
>>
>>
>> On Apr 2, 2008, at 8:26 AM, jbv wrote:
>>
>>>
>>>
>>> Richard ,
>>>
>>> I have done that dozens of time, mostly on linux & windoze  
>>> servers...
>>> So I'm not sure about OSX settings, but one thing I'd check first  
>>> is the
>>> spelling of the folder's name... it might sound silly, but many  
>>> times
>>> I have been blocked by spelling problems (or case sensitive  
>>> spelling)
>>> when referring to folders & files...
>>>
>>> JB
>>>
>>>> I don't understand what is happening with this. This is on a  
>>>> MacMini
>>>> server.
>>>>
>>>> I ask a Rev cgi script the following:
>>>>
>>>>      put (there is a folder "/users/myusername/desktop") into  
>>>> buffer
>>>>
>>>> It returns TRUE.
>>>>
>>>> I then ask the following:
>>>>
>>>>     put (there is a folder "/users/myusername/desktop/foldername")
>>>> into buffer
>>>>
>>>> (foldername = any folder sitting on the desktop)
>>>>
>>>> It returns FALSE.
>>>>
>>>> Does this have something to do with some setting I need to  
>>>> change on
>>>> the server?... or am I asking for information which is not  
>>>> accessible
>>>> from a Rev cgi script located inside the CGI-Executables folder?
>>>>
>>>> What I ultimately want to do is have the Rev cgi script delete a
>>>> folder sitting elsewhere on the server. Is there a reason this  
>>>> can't
>>>> be done?
>>>>
>>>> Thanks.
>>>> Richard Miller
>>>> _______________________________________________
>>>> use-revolution mailing list
>>>> use-revolution at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your  
>>>> subscription preferences:
>>>
>>> _______________________________________________
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your  
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your  
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list