Clan x86

Technical (Development, Security, etc.) => Unix / Linux Discussion => Topic started by: Newby on June 06, 2006, 06:33:03 PM

Title: Weird symbolic link behavior
Post by: Newby on June 06, 2006, 06:33:03 PM
Quotenewby@impaler:~/space/Ghoul Studio Discography$ for i in ../../mus
mus2.jpg       music/         musiclist.txt 
newby@impaler:~/space/Ghoul Studio Discography$ ls ../..                   
cdrom/   external/       floppy/  ipod/       photos/  thumbdrive/
dvdrom/  external-ntfs/  hd/      old-drive/  space/

Observe: if I push tab when I am trying to list files, I see my home directory (which makes sense, I am in ~/space/Ghoul Studio Discography); however, if I ls ../.., I see /mnt, which is not the folder I should be seeing.

Thoughts? Further weird proof is from me pushing tab after I get enough letters to complete "music", it doesn't append a '/' at the end, it appends a space as if it is a file.

More weird behavior:

Quotenewby@impaler:~/space/Ghoul Studio Discography$ for i in ../../music/Ghoul/Ghoul\ -\ 2003\ -\ Maniaxe/*.mp3; do echo "$i"; done
../../music/Ghoul/Ghoul - 2003 - Maniaxe/*.mp3
Title: Re: Weird symbolic link behavior
Post by: iago on June 06, 2006, 10:01:56 PM
Yeah, Bash acts funny with symbolic links.  I'm not sure if there's any way around it. 
Title: Re: Weird symbolic link behavior
Post by: Rule on June 08, 2006, 03:53:24 AM
Edit:  Why don't these forums have a [delete post] option?   >:(

Title: Re: Weird symbolic link behavior
Post by: Ergot on June 08, 2006, 03:58:16 AM
Quote from: Rule on June 08, 2006, 03:53:24 AM
Edit:  Why don't these forums have a [delete post] option?   >:(


I though you could delete your own post... everywhere... ?!
Title: Re: Weird symbolic link behavior
Post by: Sidoh on June 08, 2006, 05:19:28 AM
We've recently enabled a feature that moves "deleted" posts to the trashcan automatically.  I didn't realize this was a repercussion, but I suppose I should have. :P

In any case, that's the cause.
Title: Re: Weird symbolic link behavior
Post by: MyndFyre on June 12, 2006, 11:06:40 PM
Quote from: Sidoh on June 08, 2006, 05:19:28 AM
We've recently enabled a feature that moves "deleted" posts to the trashcan automatically.  I didn't realize this was a repercussion, but I suppose I should have. :P

In any case, that's the cause.
No, the cause is that the global default member permission set does not enable deletion of one's own posts.

I don't recall doing it, but it's likely that it was done because people were abusing it.