in reply to Re: Re: File ownership
in thread File ownership

Do a ls -ld on the folder, or ls -l on the files. You should get output like the following:
-rwxr-xr-x    1 pgunn    users         143 Apr 17 14:09 titler
drwxr-xr-x   11 pgunn    users        2048 Apr 18 12:18 tmp
drwxr-xr-x    3 pgunn    users        2048 Mar 13 10:22 tmpmy
-rw-------    1 pgunn    patlocal   446033 Nov 26 09:33 vim_documentation.pdf
-rw-------    1 pgunn    users     3219465 Feb 11 10:14 why_good_companies_go_bad.pdf
The third field is the owner, the fourth is the group.

Replies are listed 'Best First'.
Re: Re: Re: Re: File ownership
by sulfericacid (Deacon) on Apr 23, 2003 at 18:12 UTC
    Sorry, I don't know how to do a ls -rd or ls -l. Someone told me yesterday in the CB this one a one-line perl program but I've never seen or heard of such things and have no idea on how to accompish them. Is that what this is? (not sure if it matters but this is on a webserver I don't own)

    "Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"

    sulfericacid
      You said you were sshing in, correct? If so, ls -l is a unix command that you should be able to type in when you log in.
        Ok, I got the following but what am I supposed to do now? I still need to have the directories (the top two) chowned to my account.
        total 56 drwxr-xr-x 2 nobody nogroup 4096 Apr 22 23:33 DZNwJtJjMI d-wxr----t 2 nobody nogroup 4096 Apr 22 23:27 UJFIVnesba -rwxrwxrwx 1 sulfericacid sulfericacid 312 Apr 23 15:59 info.p +l -rwxrwxrwx 1 sulfericacid sulfericacid 739 Apr 14 16:06 login. +html -rwxrwxrwx 1 sulfericacid sulfericacid 723 Apr 15 16:37 notes. +pl -rwxrwxrwx 1 sulfericacid sulfericacid 1399 Apr 21 15:20 pass.p +l -rwxrwxrwx 1 sulfericacid sulfericacid 31823 Apr 17 11:40 samche +er.gif


        "Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"

        sulfericacid