Go Back   MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 9, 2003, 03:41 AM   #1
GeneR
macrumors 6502a
 
GeneR's Avatar
 
Join Date: Jan 2003
Location: The land of delusions, CA.
Send a message via AIM to GeneR Send a message via Yahoo to GeneR
How do you CHMOD on OSX?

Sorry, really not a computer buff. Only learn what I need. However, I'm trying to install a program on my linux host and it says that I need to CHMOD a document to 777 in order to have it work.

If I can CHMOD on OS X would someone please help me understand how to do that? Thanks! Sorry for the bother.

Gene
__________________
Helpful hint #001: Work for Good, not for Evil.

What I like about MacRumors: Very cool people. It's always like a party. The people are friendly, funny, smart, and pretty darn cool. And I'm always learning how much I don't know.


RAMEN RANK: Yellow belt - Ramen noodle eater. (Not quite professional grade as of yet.)
GeneR is offline   0 Reply With Quote
Old Jun 9, 2003, 03:54 AM   #2
ibookin'
macrumors 65816
 
ibookin''s Avatar
 
Join Date: Jul 2002
Location: Los Angeles, CA
chmod 777 <filename>
__________________
13" MacBook Air 1.7GHz i5
17" MacBook Pro 2.6GHz Hi-Res
iPhone 6 64GB Silver
ibookin' is offline   0 Reply With Quote
Old Jun 9, 2003, 04:34 AM   #3
Chimaera
macrumors regular
 
Join Date: Nov 2002
hang on, this is a doc on a remote computer you need to chmod?

or is the file on your machine?

if its on the remote machine you need to do the following:
1, open terminal (applications:utilities)
2, type SSH -l <account name on remote server> <IP/DNS of remote server> (for example ssh -l badger 62.31.22.145 OR ssh -l badger www.reallydull.com> (no these are *NOT* valid accounts - only examples )
3, enter your password
4, type cd <location of file> (eg cd /~/reallycoolapp/ (the ~ denotes your home directory))
5, type chmod 777 <filename>
6, type ./<filename>

if the file is on your OSX machine omit steps 2 and 3.
Chimaera is offline   0 Reply With Quote
Old Jun 9, 2003, 04:40 AM   #4
maradong
macrumors 65816
 
maradong's Avatar
 
Join Date: Mar 2003
Location: Luxembourg
did it work ?
maradong is offline   0 Reply With Quote
Old Jun 9, 2003, 07:58 AM   #5
Veldek
macrumors 68000
 
Veldek's Avatar
 
Join Date: Mar 2003
Location: Germany
Send a message via ICQ to Veldek Send a message via AIM to Veldek Send a message via MSN to Veldek
Can't you also do it using the "Get info" contextual menu? This is perhaps slightly easier than using the terminal for someone new to Unix. In this case 777 means read and write permission to everyone.

edit: oops, didn't see that it was on linux. Forget about my post.
Veldek is offline   0 Reply With Quote
Old Jun 9, 2003, 01:08 PM   #6
GeneR
Thread Starter
macrumors 6502a
 
GeneR's Avatar
 
Join Date: Jan 2003
Location: The land of delusions, CA.
Send a message via AIM to GeneR Send a message via Yahoo to GeneR
Hmmm.

Thanks for info!

I didn't try it (yet). (I got so frustrated last night I stayed up until 2am trying to find another way.) I found that BBEdit had Open from FTP Server option.

File > Open from FTP Server >
Entered my server info, username, password,
pressed 'Connect'
Then clicked on the files and folders and pressed 'Get Info' and worked with the CHMOD settings that way.

What a pain in the butt.

However, I really appreciate the info. I will definitely try using all the helpful information on this thread. Thanks a lot, guys!

RE: ibookin's suggestion.
Would that mean going into the utility, Terminal, and typing in CHMOD?

RE: Veldek
I'm sorry, I did not understand your meaning by "oops, didn't see that it was on linux. Forget about my post." What exactly is the difference between the two?

I apologize for my ignorance. Thanks a lot.
__________________
Helpful hint #001: Work for Good, not for Evil.

What I like about MacRumors: Very cool people. It's always like a party. The people are friendly, funny, smart, and pretty darn cool. And I'm always learning how much I don't know.


RAMEN RANK: Yellow belt - Ramen noodle eater. (Not quite professional grade as of yet.)

Last edited by GeneR; Jun 9, 2003 at 01:10 PM.
GeneR is offline   0 Reply With Quote
Old Jun 9, 2003, 03:00 PM   #7
Doctor Q
Administrator
 
Doctor Q's Avatar
 
Join Date: Sep 2002
Location: Los Angeles
Quote:
Originally posted by Chimaera
4, type cd <location of file> (eg cd /~/reallycoolapp/ (the ~ denotes your home directory))
A minor correction: I think you mean cd ~/reallycoolapp/, with no slash on the front.
__________________
Oh do pay attention 007. In the wrong hands, this cylindrical 12-core Mac Pro with three 4K displays, FirePro graphics, and Thunderbolt 2 could be very dangerous.
Doctor Q is offline   0 Reply With Quote
Old Jun 10, 2003, 01:27 PM   #8
Chimaera
macrumors regular
 
Join Date: Nov 2002
you're absolutely right, I do meany ~/reallycoolapp/
Chimaera is offline   0 Reply With Quote
Old Jun 10, 2003, 01:51 PM   #9
Veldek
macrumors 68000
 
Veldek's Avatar
 
Join Date: Mar 2003
Location: Germany
Send a message via ICQ to Veldek Send a message via AIM to Veldek Send a message via MSN to Veldek
Well, I meant in OS X you needn't use the terminal to change permissions. You can do it from Aqua. Using linux, I don't know if your window manager makes this possible. Most probably it can only be done using the terminal (and this is what most linux users do anyway, isn't it?)
Veldek is offline   0 Reply With Quote
Old Jun 10, 2003, 01:55 PM   #10
Chimaera
macrumors regular
 
Join Date: Nov 2002
Sure he could do it in X - however I'm guessing he dosn't had X available to him
Chimaera is offline   0 Reply With Quote
Old Jun 10, 2003, 02:29 PM   #11
gopher
macrumors 65816
 
Join Date: Mar 2002
Location: Maryland, USA
Send a message via AIM to gopher Send a message via Yahoo to gopher
Most of the time unless you are going to really get into the Unix of Mac OS X you don't want to Chmod. Mac OS X's operating system and applications have very specific permissions that you don't want to mess around with. With Mac OS X 10.1.5 and up you can run an Apple utility to fix permissions to match the template of the operating system's expected permissions:

http://docs.info.apple.com/article.html?artnum=106900
for Mac OS X 10.1.5.

and for Mac OS X 10.2 and up, use the Applications -> Utilities -> Disk Utility -> First Aid tab -> select the hard disk and hit the Repair Permissions button if your machine will boot to the desktop. One method to fixing some machines that won't boot the hard disk with 10.2 and up is use the Mac OS X 10.2 installer CD's Disk Utility in the Installer menu.

There is a utility called batchmod which will modify permissions in batch, if you know what you are doing. People who don't can render their whole system unbootable. Batchmod is here:

http://www.macupdate.com/info.php/id/6440

Only use it if you are sure what you are doing. One of my friends used it and not only made his hard drive unbootable, but also his CD drive!
__________________
[url=http://www.macmaps.com/mac.html]http://www.macmaps.com/mac.html [url]
gopher is offline   0 Reply With Quote
Old Jun 10, 2003, 03:21 PM   #12
yzedf
Banned
 
yzedf's Avatar
 
Join Date: Nov 2002
Location: Connecticut
Send a message via AIM to yzedf
open the terminal (Applications folder)

type the following:

man chmod

this will give you the manual (man) for chmod (command).

you can use this for just about any unix based utility in OS X or linux or BSD.
yzedf is offline   0 Reply With Quote
Old Jun 10, 2003, 03:32 PM   #13
Tim Flynn
macrumors regular
 
Join Date: Jan 2003
Location: Alberta
There is also a utility out there somewhere called "batmod" I believe.
It works well.
__________________
T Flynn
RMS Welding Systems
Tim Flynn is offline   0 Reply With Quote
Old Jun 25, 2009, 09:08 AM   #14
Dunepilot
macrumors 6502a
 
Dunepilot's Avatar
 
Join Date: Feb 2002
Location: UK
Send a message via MSN to Dunepilot
Quote:
Originally Posted by Tim Flynn View Post
There is also a utility out there somewhere called "batmod" I believe.
It works well.
Its 'batchmod' for anyone who finds this 6 years later via Google

http://www.macchampion.com/arbysoft/Welcome.html
__________________
Wii Code - 0279-2698-2658-0111 - Dunepilot
Dunepilot is offline   0 Reply With Quote
Old Jun 25, 2009, 09:52 AM   #15
Doctor Q
Administrator
 
Doctor Q's Avatar
 
Join Date: Sep 2002
Location: Los Angeles
Thanks, Dunepilot. It's pretty funny to see this thread again after 6 years and 2 weeks!
__________________
Oh do pay attention 007. In the wrong hands, this cylindrical 12-core Mac Pro with three 4K displays, FirePro graphics, and Thunderbolt 2 could be very dangerous.
Doctor Q is offline   0 Reply With Quote
Old Nov 12, 2009, 08:28 PM   #16
MacGranite
macrumors newbie
 
Join Date: Nov 2008
Quote:
Originally Posted by Dunepilot View Post
Its 'batchmod' for anyone who finds this 6 years later via Google

http://www.macchampion.com/arbysoft/Welcome.html
that URL appears to be dead, but I found the app here:
http://www.macchampion.com/arbysoft/...d/Welcome.html
MacGranite is offline   0 Reply With Quote
Old Aug 1, 2011, 11:28 AM   #17
rhett7660
macrumors G3
 
rhett7660's Avatar
 
Join Date: Jan 2008
Location: Sunny, Southern California
Quote:
Originally Posted by MacGranite View Post
that URL appears to be dead, but I found the app here:
http://www.macchampion.com/arbysoft/...d/Welcome.html
I know this is an old thread.. but this is exactly what I was looking for! Thank you very much!
__________________
"It's quite an experience to hold the hand of someone as they move from living to dead."
"Times are looking grim these days, holding on to everything, it's hard to draw the line"
rhett7660 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
help! iv turned my ssd drive (all of it) to OSX Base System and i cant reinstall osx nemotheswimmer OS X Mavericks (10.9) 4 Apr 2, 2014 02:26 PM
CHMOD Applescript (Drag & Drop) SpeedFleX Mac Programming 1 Mar 3, 2014 05:34 PM
Automator chmod permissions help drjustice Mac Basics and Help 0 Dec 17, 2013 07:54 AM
Problems with OSX restoring OSX Yogakun OS X 2 Nov 19, 2012 11:33 PM
chmod access to Pict. Folder of other user dusk007 OS X 2 Sep 12, 2012 05:24 PM

Forum Jump

All times are GMT -5. The time now is 02:09 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC