[Novalug] Infrant NAS & Mac OSX link/unlink

Wayne Dernoncourt wayned@panix.com
Tue Nov 26 08:32:38 EST 2013


Nope, I open a terminal window and neither rm or unlink have no effect but there is also no error.  I wonder if it is an implementation issue on the Infrant gadget?  BTW, the terminal is how I created the link in the first place when "Make alias" would create a non-functioning alias.

This clown speaks for himself

> On Nov 25, 2013, at 3:14 PM, Mark Smith <mark@winksmith.com> wrote:
> 
> and can you delete the symlink from a terminal?  sounds like the finder is
> having a cow.  creating is an issue for it, but deleting should be a piece
> of cake.  i use NFS with finder all the time and don't see these issues so
> i know it works.  check permissions?  the macosx userid can be quite a bit
> different and especially newer versions of NFS will do id mapping.  make sure
> you can do it from a terminal.
> 
> you can see what NFS thinks you are by creating a file from a terminal
> (aka "> file") and then doing an ls -l on the file.
> 
>> On Mon, Nov 25, 2013 at 07:08:37AM -0500, Wayne Dernoncourt wrote:
>> Oddly enough there is no error, the sym link just sits there.  If I drag the to the trash it goes away and then reappears.  I wonder if the issue is that the Apple doesn't actually support operations like this over NFS?   Could there be slightly different implementations of NFS?
>> 
>> This clown speaks for himself
>> 
>>> On Nov 24, 2013, at 8:13 PM, Mark Smith <mark@winksmith.com> wrote:
>>> 
>>> can't delete the symlink?  that's an odd one.  the only reason a symlink
>>> delete would fail is due to a lack of write permissions in the parent
>>> directory unless we're talking extra ACL privs (aka getfacl)... also is
>>> this failing on macosx?  or on a different machine?  what's the error?
>>> are we mixing and matching the GUI delete function and the unix rm command?
>>> 
>>>> On Sun, Nov 24, 2013 at 06:25:36PM -0500, Wayne Dernoncourt wrote:
>>>> Gee, I don't know, I wouldn't be surprised since  ln -s worked and the alias command didn't.  Okay, maybe "ln -s worked" isn't quite right since I can't delete the sym link...  I'm pretty sure that if I ask Apple what the problem is they will say it's Netgear's problem and vice versa.
>>>> 
>>>> This clown speaks for himself
>>>> 
>>>>> On Nov 24, 2013, at 3:36 PM, Mark Smith <mark@winksmith.com> wrote:
>>>>> 
>>>>> isn't MAC's idea of an "alias" different than what is available on
>>>>> ext2/3/4/nfs/etc?  the good news is that symlinks is by macosx.
>>>>> 
>>>>>> On Fri, Nov 22, 2013 at 11:49:51AM -0500, Wayne Dernoncourt wrote:
>>>>>> I have an Infrant (now Netgear) NAS.  I copied some files to it and some if those files needed to have links to other directories.  The Mac OS has a function that will create an alias - except that seems to have stopped working, well not quite it creates the link but it doesn't actually work.  The link is large (200k?) and it doesn't actually open the file.  If I use the same function on a spinning drive, it works fine.  If I drop down to the command line and use ln -s /src/dir/file /dest/dir/part (or whatever) creates the link - yeah!
>>>>>> 
>>>>>> But if I make a typo (?never?) - it seems like I can't get rid of the link.  If I use rm or rm -f, I don't get an error but the link doesn't go anywhere, same thing with unlink.  If I use the Mac OSX GUI to drag the link to the trash, it disappears and a second later it's back.
>>>>>> 
>>>>>> I can't figure out what is going on.  Does anyone have a clue?
>>>>> 
>>>>> -- 
>>>>> Hei konā mai
>>>>> Mark Smith
>>>>> mark@winksmith.com
>>> 
>>> -- 
>>> Hei konā mai
>>> Mark Smith
>>> mark@winksmith.com
> 
> -- 
> Hei konā mai
> Mark Smith
> mark@winksmith.com



More information about the Novalug mailing list