hidden files without dot

Discussion in 'Programmer Misc' started by Victor Eijkhout, Sep 19, 2008.

  1. This is weird. I have a couple of directories that are hidden in the
    sense that the Finder doesn't show them. (PathFinder does; they look
    dimmed, just like "dotfiles".)

    Their permissions are weird: an "ls -l" shows
    drwxrwxr-w@ 60 Victor /* et cetera */ SomeDirectoryName

    I've never seen an at-sign in permissions. And that's not a symbolic
    link: "ls -F" shows them as normal directories.

    Does anyone know what I have here?

    Victor.
    --
    Victor Eijkhout -- eijkhout at tacc utexas edu
     
    Victor Eijkhout, Sep 19, 2008
    #1
    1. Advertisements

  2. s (Victor Eijkhout) writes:

    > This is weird. I have a couple of directories that are hidden in the
    > sense that the Finder doesn't show them. (PathFinder does; they look
    > dimmed, just like "dotfiles".)
    >
    > Their permissions are weird: an "ls -l" shows
    > drwxrwxr-w@ 60 Victor /* et cetera */ SomeDirectoryName
    >
    > I've never seen an at-sign in permissions. And that's not a symbolic
    > link: "ls -F" shows them as normal directories.
    >
    > Does anyone know what I have here?


    In HFS, there's a flag to hide items, the 'v' attribute.

    [pjb@triton ~]$ /Developer/Tools/GetFileInfo .
    directory: "/Users/pjb"
    attributes: avbstclinmedz
    created: 04/12/2008 02:01:58
    modified: 09/19/2008 07:46:21

    You can change it with /Developer/Tools/SetFile

    [pjb@triton ~]$ /Developer/Tools/SetFile --help
    Invalid Argument --help (null)
    Usage: SetFile [option...] file...
    -a attributes # attributes (lowercase = 0, uppercase = 1)*
    -c creator # file creator
    -d date # creation date (mm/dd/[yy]yy [hh:mm[:ss] [AM | PM]])*
    -m date # modification date (mm/dd/[yy]yy [hh:mm[:ss] [AM | PM]])*
    -P # perform action on symlink instead of following it
    -t type # file type

    Note: The following attributes may be used with the -a option:
    A Alias file
    B Bundle
    C Custom icon*
    D Desktop*
    E Hidden extension*
    I Inited*
    M Shared (can run multiple times)
    N No INIT resources
    L Locked
    S System (name locked)
    T Stationery
    V Invisible*
    Z Busy*

    Note: Items marked with an asterisk (*) are allowed with folders
    Note: Period (.) represents the current date and time.
    Note: [yy]yy < 100 assumes 21st century, e.g. 20yy

    --
    __Pascal Bourguignon__ http://www.informatimago.com/

    "Indentation! -- I will show you how to indent when I indent your skull!"
     
    Pascal J. Bourguignon, Sep 19, 2008
    #2
    1. Advertisements

  3. Jolly Roger <> wrote:

    > In article <1inhl4z.1eebjx01g1nfhN%>,
    > s (Victor Eijkhout) wrote:
    >
    > > This is weird. I have a couple of directories that are hidden in the
    > > sense that the Finder doesn't show them. (PathFinder does; they look
    > > dimmed, just like "dotfiles".)
    > >
    > > Their permissions are weird: an "ls -l" shows
    > > drwxrwxr-w@ 60 Victor /* et cetera */ SomeDirectoryName
    > >
    > > I've never seen an at-sign in permissions. And that's not a symbolic
    > > link: "ls -F" shows them as normal directories.
    > >
    > > Does anyone know what I have here?

    >
    > man ls
    >
    > Look for the @ character. Then search the man page for "extended". ; )


    Thanks. I didn't know about extended flags. I was able to clear the
    "hidden" flag with "chflags".

    Victor.


    --
    Victor Eijkhout -- eijkhout at tacc utexas edu
     
    Victor Eijkhout, Sep 22, 2008
    #3
  4. Pascal J. Bourguignon <> wrote:

    > You can change it with /Developer/Tools/SetFile


    Thanks.

    Victor.
    --
    Victor Eijkhout -- eijkhout at tacc utexas edu
     
    Victor Eijkhout, Sep 22, 2008
    #4
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. Roy Smith

    Attaching dot-files?

    Roy Smith, Oct 3, 2004, in forum: Apps
    Replies:
    0
    Views:
    350
    Roy Smith
    Oct 3, 2004
  2. Replies:
    10
    Views:
    386
    James L. Ryan
    Apr 21, 2005
  3. Dick Sidbury

    finder and hidden dot files

    Dick Sidbury, Mar 14, 2008, in forum: Apps
    Replies:
    4
    Views:
    269
    william mitchell
    Mar 15, 2008
  4. lal_truckee

    dot files in finder

    lal_truckee, Jan 27, 2004, in forum: Mac
    Replies:
    5
    Views:
    246
    Simon Slavin
    Jan 29, 2004
  5. look^

    annoying dot/slash files

    look^, Jan 4, 2005, in forum: Mac
    Replies:
    1
    Views:
    276
    Eric Bear Albrecht
    Jan 5, 2005
  6. look^

    annoying dot/slash files

    look^, Jan 4, 2005, in forum: Mac
    Replies:
    7
    Views:
    259
    Steve Hix
    Jan 5, 2005
  7. Victor Eijkhout

    hidden files without dot

    Victor Eijkhout, Sep 19, 2008, in forum: Mac
    Replies:
    3
    Views:
    323
    Victor Eijkhout
    Sep 22, 2008
  8. Jo
    Replies:
    13
    Views:
    681
    E Z Peaces
    May 26, 2009
Loading...