File Uploading

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

File Uploading

Patrick Larkin-2
Hello -

I am migrating a lot of code from a Lasso 8.5 box on MacOS X Server 10.4 to Lasso 8.6 (for now) on MacOS X Server 10.7.  

One application allows secretaries to upload documents for public view.  This was working beautifully on the old 10.4 server but am having difficulty bringing it over.

In ServerAdmin

- The file paths are defined for the default ///var/tmp and the directory where the files get copied to after upload
- File tags are enabled

In SiteAdmin:

- The defined Lasso user has all permissions for the File Paths define
- The defined Lasso user has "Allow" for file tags
- I set "Allow Any File Extension" to eliminate this possibility

When I upload, I get:

There was an error uploading your file: (-9961) No permission

So, is ///var/tmp the correct directory in 10.7?  I tried using the tester in ServerAdmin > Sites > File Paths to upload to ///var/tmp and I'm not sure what feedback that is supposed to give.  It does nothing.

Is there something else I'm missing?

Patrick Larkin
Developer/Administrator of Special Systems / Webmaster
Bethlehem Area School District




#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: File Uploading

Randy Zumwalde
I believe I had to change the permissions for the var/temp folder and the upload folder where I move the file to.

Sent from my iPad

On Dec 19, 2012, at 2:55 PM, Patrick Larkin <[hidden email]> wrote:

> Hello -
>
> I am migrating a lot of code from a Lasso 8.5 box on MacOS X Server 10.4 to Lasso 8.6 (for now) on MacOS X Server 10.7.  
>
> One application allows secretaries to upload documents for public view.  This was working beautifully on the old 10.4 server but am having difficulty bringing it over.
>
> In ServerAdmin
>
> - The file paths are defined for the default ///var/tmp and the directory where the files get copied to after upload
> - File tags are enabled
>
> In SiteAdmin:
>
> - The defined Lasso user has all permissions for the File Paths define
> - The defined Lasso user has "Allow" for file tags
> - I set "Allow Any File Extension" to eliminate this possibility
>
> When I upload, I get:
>
> There was an error uploading your file: (-9961) No permission
>
> So, is ///var/tmp the correct directory in 10.7?  I tried using the tester in ServerAdmin > Sites > File Paths to upload to ///var/tmp and I'm not sure what feedback that is supposed to give.  It does nothing.
>
> Is there something else I'm missing?
>
> Patrick Larkin
> Developer/Administrator of Special Systems / Webmaster
> Bethlehem Area School District
>
>
>
>
> #############################################################
> This message is sent to you because you are subscribed to
>  the mailing list Lasso
> [hidden email]
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: File Uploading

Patrick Larkin-2
Yeah, I did a chmod 777 just to test and it still failed.

Group on tmp directory is "wheel" and group on target directory is "admin"

Tried changing target to "staff" (which is what my old server is set to) and "wheel" both to no avail.

Patrick


On Dec 19, 2012, at 3:13 PM, Randy Zumwalde wrote:

> I believe I had to change the permissions for the var/temp folder and the upload folder where I move the file to.
>
> Sent from my iPad
>
> On Dec 19, 2012, at 2:55 PM, Patrick Larkin <[hidden email]> wrote:
>
>> Hello -
>>
>> I am migrating a lot of code from a Lasso 8.5 box on MacOS X Server 10.4 to Lasso 8.6 (for now) on MacOS X Server 10.7.  
>>
>> One application allows secretaries to upload documents for public view.  This was working beautifully on the old 10.4 server but am having difficulty bringing it over.
>>
>> In ServerAdmin
>>
>> - The file paths are defined for the default ///var/tmp and the directory where the files get copied to after upload
>> - File tags are enabled
>>
>> In SiteAdmin:
>>
>> - The defined Lasso user has all permissions for the File Paths define
>> - The defined Lasso user has "Allow" for file tags
>> - I set "Allow Any File Extension" to eliminate this possibility
>>
>> When I upload, I get:
>>
>> There was an error uploading your file: (-9961) No permission
>>
>> So, is ///var/tmp the correct directory in 10.7?  I tried using the tester in ServerAdmin > Sites > File Paths to upload to ///var/tmp and I'm not sure what feedback that is supposed to give.  It does nothing.
>>
>> Is there something else I'm missing?
>>
>> Patrick Larkin
>> Developer/Administrator of Special Systems / Webmaster
>> Bethlehem Area School District
>>
>>
>>
>>
>> #############################################################
>> This message is sent to you because you are subscribed to
>> the mailing list Lasso
>> [hidden email]
>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to  <[hidden email]>
> #############################################################
> This message is sent to you because you are subscribed to
>  the mailing list Lasso
> [hidden email]
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
>

#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: File Uploading

Jonathan Guthrie-3
Have you allowed file uploads / access to temp directories in the site instances portion of the server admin?


On 2012-12-19, at 3:36 PM, Patrick Larkin <[hidden email]> wrote:

> Yeah, I did a chmod 777 just to test and it still failed.
>
> Group on tmp directory is "wheel" and group on target directory is "admin"
>
> Tried changing target to "staff" (which is what my old server is set to) and "wheel" both to no avail.
>
> Patrick
>
>
> On Dec 19, 2012, at 3:13 PM, Randy Zumwalde wrote:
>
>> I believe I had to change the permissions for the var/temp folder and the upload folder where I move the file to.
>>
>> Sent from my iPad
>>
>> On Dec 19, 2012, at 2:55 PM, Patrick Larkin <[hidden email]> wrote:
>>
>>> Hello -
>>>
>>> I am migrating a lot of code from a Lasso 8.5 box on MacOS X Server 10.4 to Lasso 8.6 (for now) on MacOS X Server 10.7.  
>>>
>>> One application allows secretaries to upload documents for public view.  This was working beautifully on the old 10.4 server but am having difficulty bringing it over.
>>>
>>> In ServerAdmin
>>>
>>> - The file paths are defined for the default ///var/tmp and the directory where the files get copied to after upload
>>> - File tags are enabled
>>>
>>> In SiteAdmin:
>>>
>>> - The defined Lasso user has all permissions for the File Paths define
>>> - The defined Lasso user has "Allow" for file tags
>>> - I set "Allow Any File Extension" to eliminate this possibility
>>>
>>> When I upload, I get:
>>>
>>> There was an error uploading your file: (-9961) No permission
>>>
>>> So, is ///var/tmp the correct directory in 10.7?  I tried using the tester in ServerAdmin > Sites > File Paths to upload to ///var/tmp and I'm not sure what feedback that is supposed to give.  It does nothing.
>>>
>>> Is there something else I'm missing?
>>>
>>> Patrick Larkin
>>> Developer/Administrator of Special Systems / Webmaster
>>> Bethlehem Area School District
>>>
>>>
>>>

Jono

----------------------------
Jonathan Guthrie
[hidden email]
LassoSoft Inc.
#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: File Uploading

Brad Lindsay-2
As always, I highly recommend walking tedious step by tedious step through Steve Piercy's file permissions guide:

http://www.stevepiercy.com/lasso_stuff/file_perms.lasso


(And then I thank the Lord that almost everything I write these days is in Lasso 9.)


Brad
#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: File Uploading

Patrick Larkin-2
In reply to this post by Jonathan Guthrie-3
In ServerAdmin.lassoapp, I set Server > Tags so File is enabled.  I clicked on the Sites tab and then File Paths and created the directory I want as my target.  I believe you give permissions to that path in the SiteAdmin.lassoapp which I did.  Did I miss something?  




On Dec 19, 2012, at 3:39 PM, Jonathan Guthrie wrote:

> Have you allowed file uploads / access to temp directories in the site instances portion of the server admin?
>
>
> On 2012-12-19, at 3:36 PM, Patrick Larkin <[hidden email]> wrote:
>
>> Yeah, I did a chmod 777 just to test and it still failed.
>>
>> Group on tmp directory is "wheel" and group on target directory is "admin"
>>
>> Tried changing target to "staff" (which is what my old server is set to) and "wheel" both to no avail.
>>
>> Patrick
>>
>>
>> On Dec 19, 2012, at 3:13 PM, Randy Zumwalde wrote:
>>
>>> I believe I had to change the permissions for the var/temp folder and the upload folder where I move the file to.
>>>
>>> Sent from my iPad
>>>
>>> On Dec 19, 2012, at 2:55 PM, Patrick Larkin <[hidden email]> wrote:
>>>
>>>> Hello -
>>>>
>>>> I am migrating a lot of code from a Lasso 8.5 box on MacOS X Server 10.4 to Lasso 8.6 (for now) on MacOS X Server 10.7.  
>>>>
>>>> One application allows secretaries to upload documents for public view.  This was working beautifully on the old 10.4 server but am having difficulty bringing it over.
>>>>
>>>> In ServerAdmin
>>>>
>>>> - The file paths are defined for the default ///var/tmp and the directory where the files get copied to after upload
>>>> - File tags are enabled
>>>>
>>>> In SiteAdmin:
>>>>
>>>> - The defined Lasso user has all permissions for the File Paths define
>>>> - The defined Lasso user has "Allow" for file tags
>>>> - I set "Allow Any File Extension" to eliminate this possibility
>>>>
>>>> When I upload, I get:
>>>>
>>>> There was an error uploading your file: (-9961) No permission
>>>>
>>>> So, is ///var/tmp the correct directory in 10.7?  I tried using the tester in ServerAdmin > Sites > File Paths to upload to ///var/tmp and I'm not sure what feedback that is supposed to give.  It does nothing.
>>>>
>>>> Is there something else I'm missing?
>>>>
>>>> Patrick Larkin
>>>> Developer/Administrator of Special Systems / Webmaster
>>>> Bethlehem Area School District
>>>>
>>>>
>>>>
>
> Jono
>
> ----------------------------
> Jonathan Guthrie
> [hidden email]
> LassoSoft Inc.
> #############################################################
> This message is sent to you because you are subscribed to
>  the mailing list Lasso
> [hidden email]
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
>

#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: File Uploading

Patrick Larkin-2
In reply to this post by Brad Lindsay-2
That's what I used last time but didn't have it bookmarked.  

What does Lasso 9 do to make it easier besides having voluminous documentation?  ;)



On Dec 19, 2012, at 3:48 PM, Brad Lindsay wrote:

> As always, I highly recommend walking tedious step by tedious step through Steve Piercy's file permissions guide:
>
> http://www.stevepiercy.com/lasso_stuff/file_perms.lasso
>
>
> (And then I thank the Lord that almost everything I write these days is in Lasso 9.)
>
>
> Brad
> #############################################################
> This message is sent to you because you are subscribed to
>  the mailing list Lasso
> [hidden email]
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
>

#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: File Uploading

Jonathan Guthrie-3
In reply to this post by Patrick Larkin-2
http://yourserver/serveradmin.0.LassoApp?tab1=sites&tab2=sites&tab3=paths

sites -> file paths

for example on windows it's C://WINDOWS/TEMP

then you go to siteadmin and make sure that is allowed by the user you're uploading as.
you can also check if the temp dir is accepting file uploads via server admin



On 2012-12-19, at 3:49 PM, Patrick Larkin <[hidden email]> wrote:

> In ServerAdmin.lassoapp, I set Server > Tags so File is enabled.  I clicked on the Sites tab and then File Paths and created the directory I want as my target.  I believe you give permissions to that path in the SiteAdmin.lassoapp which I did.  Did I miss something?  
>
>
>
>
> On Dec 19, 2012, at 3:39 PM, Jonathan Guthrie wrote:
>
>> Have you allowed file uploads / access to temp directories in the site instances portion of the server admin?
>>
>>
>> On 2012-12-19, at 3:36 PM, Patrick Larkin <[hidden email]> wrote:
>>
>>> Yeah, I did a chmod 777 just to test and it still failed.
>>>
>>> Group on tmp directory is "wheel" and group on target directory is "admin"
>>>
>>> Tried changing target to "staff" (which is what my old server is set to) and "wheel" both to no avail.
>>>
>>> Patrick
>>>
>>>
>>> On Dec 19, 2012, at 3:13 PM, Randy Zumwalde wrote:
>>>
>>>> I believe I had to change the permissions for the var/temp folder and the upload folder where I move the file to.
>>>>
>>>> Sent from my iPad
>>>>
>>>> On Dec 19, 2012, at 2:55 PM, Patrick Larkin <[hidden email]> wrote:
>>>>
>>>>> Hello -
>>>>>
>>>>> I am migrating a lot of code from a Lasso 8.5 box on MacOS X Server 10.4 to Lasso 8.6 (for now) on MacOS X Server 10.7.  
>>>>>
>>>>> One application allows secretaries to upload documents for public view.  This was working beautifully on the old 10.4 server but am having difficulty bringing it over.
>>>>>
>>>>> In ServerAdmin
>>>>>
>>>>> - The file paths are defined for the default ///var/tmp and the directory where the files get copied to after upload
>>>>> - File tags are enabled
>>>>>
>>>>> In SiteAdmin:
>>>>>
>>>>> - The defined Lasso user has all permissions for the File Paths define
>>>>> - The defined Lasso user has "Allow" for file tags
>>>>> - I set "Allow Any File Extension" to eliminate this possibility
>>>>>
>>>>> When I upload, I get:
>>>>>
>>>>> There was an error uploading your file: (-9961) No permission
>>>>>
>>>>> So, is ///var/tmp the correct directory in 10.7?  I tried using the tester in ServerAdmin > Sites > File Paths to upload to ///var/tmp and I'm not sure what feedback that is supposed to give.  It does nothing.
>>>>>
>>>>> Is there something else I'm missing?
>>>>>

Jono

----------------------------
Jonathan Guthrie
[hidden email]
LassoSoft Inc.
#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: File Uploading

Randy Zumwalde
In reply to this post by Patrick Larkin-2
I had to set the tmp folder to allow read&write for everyone to get it to work. My file upload folder was set to read/write for admin

Sent from my iPad

On Dec 19, 2012, at 3:54 PM, Patrick Larkin <[hidden email]> wrote:

> That's what I used last time but didn't have it bookmarked.  
>
> What does Lasso 9 do to make it easier besides having voluminous documentation?  ;)
>
>
>
> On Dec 19, 2012, at 3:48 PM, Brad Lindsay wrote:
>
>> As always, I highly recommend walking tedious step by tedious step through Steve Piercy's file permissions guide:
>>
>> http://www.stevepiercy.com/lasso_stuff/file_perms.lasso
>>
>>
>> (And then I thank the Lord that almost everything I write these days is in Lasso 9.)
>>
>>
>> Brad
>> #############################################################
>> This message is sent to you because you are subscribed to
>> the mailing list Lasso
>> [hidden email]
>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to  <[hidden email]>
>
> #############################################################
> This message is sent to you because you are subscribed to
>  the mailing list Lasso
> [hidden email]
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: File Uploading

Patrick Larkin-2
In reply to this post by Jonathan Guthrie-3
Yep, I ran through all that in my initial email.  


I also mentioned the "tester" thing you reference and noted that it doesn't give you feedback one way or another even on my working server.  Unless no feedback is good?

On Dec 19, 2012, at 4:01 PM, Jonathan Guthrie wrote:

> http://yourserver/serveradmin.0.LassoApp?tab1=sites&tab2=sites&tab3=paths
>
> sites -> file paths
>
> for example on windows it's C://WINDOWS/TEMP
>
> then you go to siteadmin and make sure that is allowed by the user you're uploading as.
> you can also check if the temp dir is accepting file uploads via server admin
>
>
>
> On 2012-12-19, at 3:49 PM, Patrick Larkin <[hidden email]> wrote:
>
>> In ServerAdmin.lassoapp, I set Server > Tags so File is enabled.  I clicked on the Sites tab and then File Paths and created the directory I want as my target.  I believe you give permissions to that path in the SiteAdmin.lassoapp which I did.  Did I miss something?  
>>
>>
>>
>>
>> On Dec 19, 2012, at 3:39 PM, Jonathan Guthrie wrote:
>>
>>> Have you allowed file uploads / access to temp directories in the site instances portion of the server admin?
>>>
>>>
>>> On 2012-12-19, at 3:36 PM, Patrick Larkin <[hidden email]> wrote:
>>>
>>>> Yeah, I did a chmod 777 just to test and it still failed.
>>>>
>>>> Group on tmp directory is "wheel" and group on target directory is "admin"
>>>>
>>>> Tried changing target to "staff" (which is what my old server is set to) and "wheel" both to no avail.
>>>>
>>>> Patrick
>>>>
>>>>
>>>> On Dec 19, 2012, at 3:13 PM, Randy Zumwalde wrote:
>>>>
>>>>> I believe I had to change the permissions for the var/temp folder and the upload folder where I move the file to.
>>>>>
>>>>> Sent from my iPad
>>>>>
>>>>> On Dec 19, 2012, at 2:55 PM, Patrick Larkin <[hidden email]> wrote:
>>>>>
>>>>>> Hello -
>>>>>>
>>>>>> I am migrating a lot of code from a Lasso 8.5 box on MacOS X Server 10.4 to Lasso 8.6 (for now) on MacOS X Server 10.7.  
>>>>>>
>>>>>> One application allows secretaries to upload documents for public view.  This was working beautifully on the old 10.4 server but am having difficulty bringing it over.
>>>>>>
>>>>>> In ServerAdmin
>>>>>>
>>>>>> - The file paths are defined for the default ///var/tmp and the directory where the files get copied to after upload
>>>>>> - File tags are enabled
>>>>>>
>>>>>> In SiteAdmin:
>>>>>>
>>>>>> - The defined Lasso user has all permissions for the File Paths define
>>>>>> - The defined Lasso user has "Allow" for file tags
>>>>>> - I set "Allow Any File Extension" to eliminate this possibility
>>>>>>
>>>>>> When I upload, I get:
>>>>>>
>>>>>> There was an error uploading your file: (-9961) No permission
>>>>>>
>>>>>> So, is ///var/tmp the correct directory in 10.7?  I tried using the tester in ServerAdmin > Sites > File Paths to upload to ///var/tmp and I'm not sure what feedback that is supposed to give.  It does nothing.
>>>>>>
>>>>>> Is there something else I'm missing?
>>>>>>
>
> Jono
>
> ----------------------------
> Jonathan Guthrie
> [hidden email]
> LassoSoft Inc.
> #############################################################
> This message is sent to you because you are subscribed to
>  the mailing list Lasso
> [hidden email]
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
>

#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: File Uploading

Patrick Larkin-2
In reply to this post by Randy Zumwalde
I looked and /var/tmp already is read write for everyone.  


Patrick


On Dec 19, 2012, at 4:05 PM, Randy Zumwalde wrote:

> I had to set the tmp folder to allow read&write for everyone to get it to work. My file upload folder was set to read/write for admin

#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: File Uploading

Marc Vos
In reply to this post by Patrick Larkin-2
Hi Patrick,

I have OSX Server 10.7 and file uploads work fine in 8.6.

In ServerAdmin, go to Sites->File Paths and upload a small file. The path that you get there is your upload path. Normally this should be ///var/tmp but it may be different - I don't know what Apple does with Apache when you setup 10.7 as a workgroup server (I haven't). Therefore I always do this uploadtest in Lasso8 so Lasso8 can determine its upload path:

Allowed File Paths
        /
  ///var/tmp/
  ///
 

In SiteAdmin, I have this setting under Security->Files, group AnyUser:

File Permissions

  Path Permissions
1 ///var/tmp/   Allow: Inspect, Read, Create, Write, Move, Copy, Delete, Any Extension

For my other group, I have these settings:

File Permissions

  Path Permissions
1 ///var/tmp/   Allow: Inspect, Read, Create, Write, Move, Copy, Delete, Any Extension
2 /   Allow: Inspect, Read, Create, Write, Move, Copy, Delete, Any Extension
3 ///   Allow: Inspect, Read, Create, Write, Move, Copy, Delete, Any Extension
4 / (Read Only) Allow: Read, Inspect


Next, my permissions on /var/tmp are: drwxrwxrwt   and I cannot remember setting these, but ... hey, that's more than a year ago.

And the last thing you might do is to add the Lasso User to the ACL of the folder you want to create/upload to:

- Open a VNC session and select the folder, or its parent, where you want to allow files and folders to be created/uploaded.
- Press CMD-I (Get Info)
- At the bottom, cllick the small padlock to unlock the ACL.
- Click the + to add another user: scroll down until you see Lasso User (not Lasso Group) and select it.
- Give it Read and Write permissions.
- Select 'Apply to enclosed items...' from the cogwheel at the bottom.
- Close the Get Info window
- Try to upload.

With me, this works.

- -
Regards,
Marc


On 19 dec. 2012, at 20:55, Patrick Larkin <[hidden email]> wrote:

> Hello -
>
> I am migrating a lot of code from a Lasso 8.5 box on MacOS X Server 10.4 to Lasso 8.6 (for now) on MacOS X Server 10.7.  
>
> One application allows secretaries to upload documents for public view.  This was working beautifully on the old 10.4 server but am having difficulty bringing it over.
>
> In ServerAdmin
>
> - The file paths are defined for the default ///var/tmp and the directory where the files get copied to after upload
> - File tags are enabled
>
> In SiteAdmin:
>
> - The defined Lasso user has all permissions for the File Paths define
> - The defined Lasso user has "Allow" for file tags
> - I set "Allow Any File Extension" to eliminate this possibility
>
> When I upload, I get:
>
> There was an error uploading your file: (-9961) No permission
>
> So, is ///var/tmp the correct directory in 10.7?  I tried using the tester in ServerAdmin > Sites > File Paths to upload to ///var/tmp and I'm not sure what feedback that is supposed to give.  It does nothing.
>
> Is there something else I'm missing?
>
> Patrick Larkin
> Developer/Administrator of Special Systems / Webmaster
> Bethlehem Area School District
>
>
>
>
> #############################################################
> This message is sent to you because you are subscribed to
>  the mailing list Lasso
> [hidden email]
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>

#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: File Uploading

stevepiercy
In reply to this post by Randy Zumwalde
On 12/19/12 at 4:05 PM, [hidden email] (Randy Zumwalde) pronounced:

>I had to set the tmp folder to allow read&write for everyone to
>get it to work. My file upload folder was set to read/write for admin

I recommend not doing that at the OS level, but do set it for
AnyUser through Lasso SiteAdmin (see Step 6 in my guide).  Stick
to my guide.  Use the code samples therein to debug, provide
meaningful error reports, and end guesswork.
http://www.stevepiercy.com/lasso_stuff/file_perms.lasso

Make sure to read the notes after the code samples.

If it still doesn't work, then provide the error report from the
code samples.

--steve



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Steve Piercy               Web Site Builder              
Soquel, CA
<[hidden email]>                  <http://www.StevePiercy.com/>

#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>