Go Back   CodingForums.com > :: Client side development > General web building

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-17-2009, 06:18 PM   PM User | #1
LJackson
Senior Coder

 
Join Date: Jun 2008
Location: Cornwall
Posts: 1,973
Thanks: 289
Thanked 12 Times in 12 Posts
LJackson is on a distinguished road
Exclamation chmod? how do i set up?

Hi All,

i am trying to create a cache directory with write permissions set to writable and readable.

but i have absolutly no idea about chmod, ive been given some tutorials to follow but still dont really understand

i have created a new folder called cache in my root

and from one of the tutorials i have the following code
$ chmod 777 cache

which im not sure is correct nor do i know where to put this code?

can anyone please help me
thanks
Luke
LJackson is offline   Reply With Quote
Old 08-17-2009, 06:23 PM   PM User | #2
ckeyrouz
Senior Coder

 
ckeyrouz's Avatar
 
Join Date: Jun 2009
Location: Montreal, Canada
Posts: 1,044
Thanks: 5
Thanked 179 Times in 179 Posts
ckeyrouz is on a distinguished road
change your directory to root"
Code:
cd /
then type the command mentioned above:
Code:
chmod 777 ./cache
ckeyrouz is offline   Reply With Quote
Old 08-17-2009, 06:42 PM   PM User | #3
LJackson
Senior Coder

 
Join Date: Jun 2008
Location: Cornwall
Posts: 1,973
Thanks: 289
Thanked 12 Times in 12 Posts
LJackson is on a distinguished road
Quote:
Originally Posted by ckeyrouz View Post
change your directory to root"
Code:
cd /
then type the command mentioned above:
Code:
chmod 777 ./cache
hi mate thanks for your reply,

um how and where do i change the directory to root cd???

thanks
Luke
LJackson is offline   Reply With Quote
Old 08-17-2009, 07:04 PM   PM User | #4
tomws
Senior Coder

 
tomws's Avatar
 
Join Date: Nov 2007
Location: Arkansas
Posts: 2,644
Thanks: 29
Thanked 330 Times in 326 Posts
tomws will become famous soon enoughtomws will become famous soon enough
Linux command line. I'm betting you're a Windows user. Google for the equivalent Windows permissions settings.
__________________
Are you a Help Vampire?
tomws is offline   Reply With Quote
Old 08-17-2009, 07:05 PM   PM User | #5
LJackson
Senior Coder

 
Join Date: Jun 2008
Location: Cornwall
Posts: 1,973
Thanks: 289
Thanked 12 Times in 12 Posts
LJackson is on a distinguished road
yep im a windows user

will do's

thanks
Luke
LJackson is offline   Reply With Quote
Old 08-17-2009, 07:07 PM   PM User | #6
tomws
Senior Coder

 
tomws's Avatar
 
Join Date: Nov 2007
Location: Arkansas
Posts: 2,644
Thanks: 29
Thanked 330 Times in 326 Posts
tomws will become famous soon enoughtomws will become famous soon enough
FYI, Windows permissions confuse me just as much as you're confused by Linux permissions.
__________________
Are you a Help Vampire?
tomws is offline   Reply With Quote
Old 08-17-2009, 07:15 PM   PM User | #7
LJackson
Senior Coder

 
Join Date: Jun 2008
Location: Cornwall
Posts: 1,973
Thanks: 289
Thanked 12 Times in 12 Posts
LJackson is on a distinguished road
ok i have found this

http://www.mydigitallife.info/2007/0...windows-vista/

which i have read but how do i know which permissions to change so that when the folder has been uploaded it can be written to?

thank you
Luke
LJackson is offline   Reply With Quote
Old 08-17-2009, 07:15 PM   PM User | #8
LJackson
Senior Coder

 
Join Date: Jun 2008
Location: Cornwall
Posts: 1,973
Thanks: 289
Thanked 12 Times in 12 Posts
LJackson is on a distinguished road
ah ok lol
LJackson is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:19 AM.


Advertisement
Log in to turn off these ads.