1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Grr, how to chmod a directory for full access

Discussion in 'Tech Support' started by ahug4122, 20 Apr 2008.

  1. ahug4122

    ahug4122 What's a Dremel?

    Joined:
    16 Sep 2004
    Posts:
    60
    Likes Received:
    0
    I have searched and searched google how to CHMOD it and can only find out how to do files not directories.

    I have directory on my desktop called "Ashley BACK UP" its has alot of my work on it now i only have read only access and its all in subfolders and there is about 3k file and folders on it. How do i chmod it so that i can have full access to all the files and folders? I can do it for all the files in a directory but not the subfolders and sub files

    Tnx in advance Ash
     
  2. ahug4122

    ahug4122 What's a Dremel?

    Joined:
    16 Sep 2004
    Posts:
    60
    Likes Received:
    0
    BTW MacBook (running Mac OS 10.4.11)
     
  3. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    Probably the same on Mac, but on Linux it's
    Code:
    chmod -R 777 /path/to/directory
    Note of warning, 777 is a very open and insecure mode...
     
  4. Tomm

    Tomm I also ride trials :¬)

    Joined:
    12 Apr 2004
    Posts:
    2,249
    Likes Received:
    0
    Yeah, open a terminal and do what Glider says. But there's no root account on OS X so you'll have to use
    Code:
    sudo chmod -R 777 /path/to/directory
    otherwise you'll get some permissions errors I'd imagine.
     
  5. OleJ

    OleJ Me!

    Joined:
    1 Jul 2007
    Posts:
    2,024
    Likes Received:
    10
    -R means recursive. In case you don't want to set subfolders to 777 then remove the -R

    :)
     
  6. trigger

    trigger Procrastinator

    Joined:
    22 Mar 2004
    Posts:
    1,106
    Likes Received:
    37
    Incidentally (and purely out of curiosity) does anyone know whether Mac OSX has man pages?
     
  7. ahug4122

    ahug4122 What's a Dremel?

    Joined:
    16 Sep 2004
    Posts:
    60
    Likes Received:
    0
    I have tried what you say and this is what i get

    Code:
    cpe-121-210-147-225:/ myerparramatta$ sudo chmod -r 777 /Users/myerparramatta/Desktop/Ashley\ BACK\ UP/
    Password:
    chmod: 777: No such file or directory
    But the directory is there and now when i try and open it, it says i have no access i look at the get info panel and it says write only so i have to can it manualy thru the get info panel. All the subfiles and subfolders still read only

    Anything else i can try
     
  8. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    Capital R instead of r ;)
     
  9. Firehed

    Firehed Why not? I own a domain to match.

    Joined:
    15 Feb 2004
    Posts:
    12,574
    Likes Received:
    16
    Sure, it's the full BSD shell underneath.

    Of course, you can do this in the GUI too. Cmd+I on the folder to get info, click the little lock icon in the bottom-right to get editing access, and then set things appropriately in the permissions bit at the bottom.
     
  10. ahug4122

    ahug4122 What's a Dremel?

    Joined:
    16 Sep 2004
    Posts:
    60
    Likes Received:
    0
    THANK YOU
    Fixing that letter case do it YAY
     

Share This Page