NationStates Jolt Archive


Unix Help

New Malachite Square
31-05-2008, 00:42
Alright, so I've been having an enormous amount of trouble with file permissions lately (rather self-imposed, unfortunately).

For many of my files, "ls -l" has been giving me modes such as -rwxr-xr-x@

Anyone have a clue what the "@" means?
UpwardThrust
31-05-2008, 00:46
Alright, so I've been having an enormous amount of trouble with file permissions lately (rather self-imposed, unfortunately).

For many of my files, "ls -l" has been giving me modes such as -rwxr-xr-x@

Anyone have a clue what the "@" means?

@ normally specifies a symbolic link type
New Malachite Square
31-05-2008, 00:53
@ normally specifies a symbolic link type

Doesn't that show after the file path when -F is specified?
UpwardThrust
31-05-2008, 00:56
Doesn't that show after the file path when -F is specified?

Hmmm I thought the version on FreeBSD did that before on the -l but its been awhile

You are right on all my linux systems
New Malachite Square
31-05-2008, 01:01
You are right on all my linux systems

And I'm running OS X. :D
UpwardThrust
31-05-2008, 01:01
And I'm running OS X. :D

Hmmmm maybe I should go find my freeBSD virtual lol might be closer
Myrmidonisia
31-05-2008, 01:23
Do a 'man' on ls?
In OSX, the '@' does represent a symbolic link. maybe ls -l includes -F?
UpwardThrust
31-05-2008, 01:25
Do a 'man' on ls?
In OSX, the '@' does represent a symbolic link. maybe ls -l includes -F?

Hmmm thought so ... older versions of freebsd used to do it (4.10 or so) but its been a LONG time
New Malachite Square
31-05-2008, 04:48
If this is the case, then half my files are symbolic links leading nowhere. Great.
UpwardThrust
31-05-2008, 04:50
If this is the case, then half my files are symbolic links leading nowhere. Great.

Well I dont know what you are looking at but that is the 1 biggest thing that pissed me off CLI mac

They symbolic link like EVERYTHING was a pain in the ass the few times I scripted for them
New Malachite Square
31-05-2008, 04:53
Well I dont know what you are looking at but that is the 1 biggest thing that pissed me off CLI mac

They symbolic link like EVERYTHING was a pain in the ass the few times I scripted for them

This is a recent problem for me. A little superuser mistake on my part. I accidentally left out a '~' in a certain path, shall we say.

Damn ACLs. Damn them all to hell. THEY are the source of my troubles.
The Alma Mater
31-05-2008, 07:45
Damn ACLs. Damn them all to hell. THEY are the source of my troubles.

Correct. Next time just limit yourself to chmod.
New Malachite Square
31-05-2008, 22:34
Correct. Next time just limit yourself to chmod.

To be fair, the ACL accident was the Finder's fault. chmod was how I tried to fix my ACL problems, which, obviously, didn't work.

:rolleyes:@self