NFS and File_isDirectory

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

NFS and File_isDirectory

Mason Miller
I server a lot of data via an NFS sharepoint. I have no problem manipulating files, creating file, etc, but File_isDirectory does not recognize that directories are directories. I am running 8.6x, but I suspect the same would be true in 9.x. Any ideas of a test I could use to replace that in the lasso tag?

Thanks,

Mason



#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: NFS and File_isDirectory

Jolle Carlestam-2
19 apr. 2017 kl. 21:02 skrev Mason Miller <[hidden email]>:
>
> I server a lot of data via an NFS sharepoint. I have no problem manipulating files, creating file, etc, but File_isDirectory does not recognize that directories are directories. I am running 8.6x, but I suspect the same would be true in 9.x. Any ideas of a test I could use to replace that in the lasso tag?

Here’s the definition in Lasso 9

define File_IsDirectory(path::string) => dir(#path)->exists

I’m assuming the dir type knows about directories. But don’t have an NFS to try on.

HDB
Jolle

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: NFS and File_isDirectory

Eric Knibbe-2
Might depend on the OS you're running. On OS X I have an NFS share mounted, and so this works in L9:

$ lasso9 -s "File_IsDirectory('/Volumes/ISOs/CentOS')"
true

‐‐‐‐‐‐‐‐‐‐✂‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
Eric3
 

> On Apr 20, 2017, at 5:40 AM, Jolle Carlestam <[hidden email]> wrote:
>
> 19 apr. 2017 kl. 21:02 skrev Mason Miller <[hidden email]>:
>>
>> I server a lot of data via an NFS sharepoint. I have no problem manipulating files, creating file, etc, but File_isDirectory does not recognize that directories are directories. I am running 8.6x, but I suspect the same would be true in 9.x. Any ideas of a test I could use to replace that in the lasso tag?
>
> Here’s the definition in Lasso 9
>
> define File_IsDirectory(path::string) => dir(#path)->exists
>
> I’m assuming the dir type knows about directories. But don’t have an NFS to try on.
>
> HDB
> Jolle

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: NFS and File_isDirectory

Eric Knibbe-2
On 8.6 under OS X 10.9 I got this code to return "true" when examining a mounted NFS share called "ISOs":

        [File_isDirectory('///Volumes/ISOs/CentOS/');]

but only after...
- adding "///Volumes/ISOs/" to the Allowed File Paths in ServerAdmin > Sites > Sites > File Paths
- assigning allow permissions to that path in SiteAdmin > Setup > Security > Files
- restarting Lasso

‐‐‐‐‐‐‐‐‐‐✂‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
Eric3
 

> On Apr 21, 2017, at 4:27 PM, Eric Knibbe <[hidden email]> wrote:
>
> Might depend on the OS you're running. On OS X I have an NFS share mounted, and so this works in L9:
>
> $ lasso9 -s "File_IsDirectory('/Volumes/ISOs/CentOS')"
> true
>
> ‐‐‐‐‐‐‐‐‐‐✂‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
> Eric3
>
>
>> On Apr 20, 2017, at 5:40 AM, Jolle Carlestam <[hidden email]> wrote:
>>
>> 19 apr. 2017 kl. 21:02 skrev Mason Miller <[hidden email]>:
>>>
>>> I server a lot of data via an NFS sharepoint. I have no problem manipulating files, creating file, etc, but File_isDirectory does not recognize that directories are directories. I am running 8.6x, but I suspect the same would be true in 9.x. Any ideas of a test I could use to replace that in the lasso tag?
>>
>> Here’s the definition in Lasso 9
>>
>> define File_IsDirectory(path::string) => dir(#path)->exists
>>
>> I’m assuming the dir type knows about directories. But don’t have an NFS to try on.
>>
>> HDB
>> Jolle


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: NFS and File_isDirectory

Mason Miller
I am ruining the share on OS X using NFS Manager. I will look, maybe it is an option I have misconfigures.

Mason

Sent from my iPhone

> On Apr 24, 2017, at 1:42 PM, Eric Knibbe <[hidden email]> wrote:
>
> On 8.6 under OS X 10.9 I got this code to return "true" when examining a mounted NFS share called "ISOs":
>
>    [File_isDirectory('///Volumes/ISOs/CentOS/');]
>
> but only after...
> - adding "///Volumes/ISOs/" to the Allowed File Paths in ServerAdmin > Sites > Sites > File Paths
> - assigning allow permissions to that path in SiteAdmin > Setup > Security > Files
> - restarting Lasso
>
> ‐‐‐‐‐‐‐‐‐‐✂‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
> Eric3
>
>
>> On Apr 21, 2017, at 4:27 PM, Eric Knibbe <[hidden email]> wrote:
>>
>> Might depend on the OS you're running. On OS X I have an NFS share mounted, and so this works in L9:
>>
>> $ lasso9 -s "File_IsDirectory('/Volumes/ISOs/CentOS')"
>> true
>>
>> ‐‐‐‐‐‐‐‐‐‐✂‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
>> Eric3
>>
>>
>>> On Apr 20, 2017, at 5:40 AM, Jolle Carlestam <[hidden email]> wrote:
>>>
>>> 19 apr. 2017 kl. 21:02 skrev Mason Miller <[hidden email]>:
>>>>
>>>> I server a lot of data via an NFS sharepoint. I have no problem manipulating files, creating file, etc, but File_isDirectory does not recognize that directories are directories. I am running 8.6x, but I suspect the same would be true in 9.x. Any ideas of a test I could use to replace that in the lasso tag?
>>>
>>> Here’s the definition in Lasso 9
>>>
>>> define File_IsDirectory(path::string) => dir(#path)->exists
>>>
>>> I’m assuming the dir type knows about directories. But don’t have an NFS to try on.
>>>
>>> HDB
>>> Jolle
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> 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]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: NFS and File_isDirectory

Mason Miller
In reply to this post by Eric Knibbe-2
Maybe ruining was the appropriate verb...

Sent from my iPhone

> On Apr 24, 2017, at 1:42 PM, Eric Knibbe <[hidden email]> wrote:
>
> On 8.6 under OS X 10.9 I got this code to return "true" when examining a mounted NFS share called "ISOs":
>
>    [File_isDirectory('///Volumes/ISOs/CentOS/');]
>
> but only after...
> - adding "///Volumes/ISOs/" to the Allowed File Paths in ServerAdmin > Sites > Sites > File Paths
> - assigning allow permissions to that path in SiteAdmin > Setup > Security > Files
> - restarting Lasso
>
> ‐‐‐‐‐‐‐‐‐‐✂‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
> Eric3
>
>
>> On Apr 21, 2017, at 4:27 PM, Eric Knibbe <[hidden email]> wrote:
>>
>> Might depend on the OS you're running. On OS X I have an NFS share mounted, and so this works in L9:
>>
>> $ lasso9 -s "File_IsDirectory('/Volumes/ISOs/CentOS')"
>> true
>>
>> ‐‐‐‐‐‐‐‐‐‐✂‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
>> Eric3
>>
>>
>>> On Apr 20, 2017, at 5:40 AM, Jolle Carlestam <[hidden email]> wrote:
>>>
>>> 19 apr. 2017 kl. 21:02 skrev Mason Miller <[hidden email]>:
>>>>
>>>> I server a lot of data via an NFS sharepoint. I have no problem manipulating files, creating file, etc, but File_isDirectory does not recognize that directories are directories. I am running 8.6x, but I suspect the same would be true in 9.x. Any ideas of a test I could use to replace that in the lasso tag?
>>>
>>> Here’s the definition in Lasso 9
>>>
>>> define File_IsDirectory(path::string) => dir(#path)->exists
>>>
>>> I’m assuming the dir type knows about directories. But don’t have an NFS to try on.
>>>
>>> HDB
>>> Jolle
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> 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]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Loading...