Help - Search - Members - Calendar
Full Version: Chmod
Zymic Webmaster Forums > Zymic Free Web Hosting > Tutorials
Cmain
First we will look at a basic overview of how chmod works.

There are three types of permissions when using chmod:
Read - Read a file / List Files
Write - Write a file / Create, rename, and delete files
Execute - Execute a script

There are also the groups of users when using chmod:
Owner - The owner of the file
Group - The group to which the owner belongs
Other - Everyone else

Each of these three types of permissions is assigned a number. They are the following:
Read - 4
Write - 2
Execute - 1

The permissions are added down each column, like so:


Here are some example values:


If you are still having trouble here is a tool that may help you:
http://cmain.zymichost.com/CHMOD/

The Wikipedia page may also be helpful:
http://en.wikipedia.org/wiki/Chmod


How to Change File Permissions

The rest of this tutorial will take place in FileZilla which can be downloaded here: http://filezilla-project.org/

Step 1: Connect to your FTP using this tutorial: http://www.zymic.com/forum/Ftp-t59.html

Step 2: Right-Click on the file in which you would like to change the permissions of:


Step 3: Select File Attributes from the menu that appears:


Step 4: Change file permissions and click Ok:
Brucex
I am new to this... can you do it for me?

I tried doing that in Dreamweaver ftp, but not working?


Cmain
QUOTE(Brucex @ Dec 22 2007, 02:40 PM) *
I am new to this... can you do it for me?

I tried doing that in Dreamweaver ftp, but not working?


Download Filezilla and follow that part of my tutorial. Just navigate to the /jpowered/newscms/ directory, right click on the data folder, click File Attributes, type 777 in the Numeric Value field, and click ok.

http://filezilla-project.org/download.php
FatalExe
Im getting this
CODE
[R] 550 Could not change perms on phpbbmods.txt: Operation not permitted

on FlashFXP. Im logged in with my account too. Help?
jeger003
OMG man thank you soo much I have been looking doing everything and can't get it to change. THANK YOU. This is very helpful for a joomla site.
t4zone
QUOTE(FatalExe @ Mar 12 2008, 04:28 AM) *
Im getting this
CODE
[R] 550 Could not change perms on phpbbmods.txt: Operation not permitted

on FlashFXP. Im logged in with my account too. Help?


If you use FlashFXP, first, you have to log in to your site (by Quick Connect or Sites Menu)
Then, up st to your host and right-click on file/folder you want to chmod and click Attributes (CHMOD)
After that, chmod file/folder

P/S : You also can use Ctrl+O to quickly chmod
Ghost Assassin
Hey....

How do allow access to a directory?

For example, this website

http://redirect.xg1.de/css/maps/

Xycris
Hiya everyone,

I hope you can help me with this:

I wanted to delete my files on the server but somehow I can't due to writing permissions. I tried changing it directly from FTP and in another method over the Files Manager from the user account but no changes occurs. Here is the log that my FTP client states:

Command: DELE robots.txt
Response: 550 Could not delete robots.txt: Read-only file system
Command: DELE robots.txt
Response: 550 Could not delete robots.txt: Read-only file system
Status: Set permissions of '/robots.txt' to '777'
Command: SITE CHMOD 777 robots.txt
Response: 550 Could not change perms on robots.txt: Read-only file system

I have my account in vndv.com servers.
Cmain
QUOTE(Xycris @ Aug 17 2008, 01:41 PM) *
Hiya everyone,

I hope you can help me with this:

I wanted to delete my files on the server but somehow I can't due to writing permissions. I tried changing it directly from FTP and in another method over the Files Manager from the user account but no changes occurs. Here is the log that my FTP client states:

Command: DELE robots.txt
Response: 550 Could not delete robots.txt: Read-only file system
Command: DELE robots.txt
Response: 550 Could not delete robots.txt: Read-only file system
Status: Set permissions of '/robots.txt' to '777'
Command: SITE CHMOD 777 robots.txt
Response: 550 Could not change perms on robots.txt: Read-only file system

I have my account in vndv.com servers.


http://www.zymic.com/forum/index.php?showtopic=12168

Use the search next time.
40n
QUOTE(Cmain @ Aug 17 2008, 06:01 PM) *


Dead Link.,...


also I try to chmod and get this:

QUOTE
Status: Set permissions of '/forum/cache/index.htm' to '777'
Command: SITE CHMOD 777 index.htm
Response: 550 Could not change perms on index.htm: Read-only file system
Status: Set permissions of '/forum/cache' to '777'
Command: CWD /forum
Response: 250 OK. Current directory is /forum
Command: SITE CHMOD 777 cache
Response: 550 Could not change perms on cache: Read-only file system


Also using the newest version of filezilla. Anythoughts.
Cmain
QUOTE(40n @ Aug 27 2008, 08:39 PM) *
Dead Link.,...
also I try to chmod and get this:
Also using the newest version of filezilla. Anythoughts.


http://www.zymic.com/forum/index.php?showtopic=12295
40n
QUOTE(40n @ Aug 28 2008, 12:39 AM) *
Dead Link.,...
also I try to chmod and get this:
Also using the newest version of filezilla. Anythoughts.


Thanks, but I actually searched and found it..XD. Any word yet?
tuantrung
thank you very much.
now my forum aready runing, i love you
now i create new my class forum
test forum cuchuoi.uuuq.com/forum
but i cant change to my other domain Ex: cuchuoi.co.cc
88ken88
Hiya. I'm probably doing something insanely stupid here, but when I attempt to edit my directory (making it a 777), it won't let me check off all of the boxes. All of the boxes except for the "w" option in Group ("g"). I'm pretty clueless, I have to admit. Any suggestions?

EDIT: I have already tried searching, I could find nothing.
IDR
QUOTE(t4zone @ Apr 21 2008, 01:13 PM) *
If you use FlashFXP, first, you have to log in to your site (by Quick Connect or Sites Menu)
Then, up st to your host and right-click on file/folder you want to chmod and click Attributes (CHMOD)
After that, chmod file/folder

P/S : You also can use Ctrl+O to quickly chmod



the chmod is not working.. the same message comes up :

Command: SITE CHMOD 777 configuration.php
Response: 550 Could not change perms on configuration.php: Operation not permitted

so who would give this permission? if not can anyone let me know.. so that i could get out of my fantasies...
Fguy
QUOTE(IDR @ Apr 28 2009, 11:56 PM) *
the chmod is not working.. the same message comes up :

Command: SITE CHMOD 777 configuration.php
Response: 550 Could not change perms on configuration.php: Operation not permitted

so who would give this permission? if not can anyone let me know.. so that i could get out of my fantasies...


I hope this is the right thread for this question. Anyways, I'm pretty sure I'll have no problems understanding user, group, and other permissions, and how to use chmod or control panel or whatever. but...

I have noticed that default permissions on new directories are 750, and also that when you try to change permissions using FileManager in Control Panel, there is no option for changing 'other' rights. Anyways, I'm pretty sure I can deal with it, I just thought that before I go changing things, I'd find out what zymic's reason or philosphy is for doing things this way.

regards.
Skyrus
QUOTE(Fguy @ Jun 21 2009, 04:34 PM) *
I hope this is the right thread for this question. Anyways, I'm pretty sure I'll have no problems understanding user, group, and other permissions, and how to use chmod or control panel or whatever. but...

I have noticed that default permissions on new directories are 750, and also that when you try to change permissions using FileManager in Control Panel, there is no option for changing 'other' rights. Anyways, I'm pretty sure I can deal with it, I just thought that before I go changing things, I'd find out what zymic's reason or philosphy is for doing things this way.

regards.

o_0 Im had to problem
wheay
wow! man, ive been looking for this tutorial in ages. thanks.

note: allowing chmod 0777 (tutorial)
Ah Cheong
QUOTE
Command: SITE CHMOD 777 configuration.php
Response: 550 Could not change perms on configuration.php: Operation not permitted

i also facing the same problem...
tmacuritiba
Hi!

I tried to change some folder and files permissions to 777, but it remain with 770.

777 permission isn´t allowed?
dc2698
Me too.............in my web control panel I could chmod folders with 770 only! My photo gallery requires a temp. folder which has 777 attributes! Please help me out~thx~
PropaneTank
I have that same problem. I need to CHMOD a few of my directories to 777 but I won't let me, it changes them back to 770. Why is this?
Birdmaru
my CHMOD is 666 but it's working fine.. Should I change to 777 instead?
ssfdre38
QUOTE(Birdmaru @ Oct 7 2010, 08:03 AM) *
my CHMOD is 666 but it's working fine.. Should I change to 777 instead?

that is if your site is asking for it
IamShipon1988
Note to all users. Remember that setting a file permission to 777 or 0777 is granting access to the public to the entire file. Furthermore, it turns on read, write, and execute permissions, and turns off the hidden, archive, and system attributes. So do be careful when setting your permissions. Do not CHMOD a file to 0777 or 777 unless requested by the script.
agmlabs
But...what about changing owner/group? ( No talking about Permissions ). I know with FileZilla you can change File's Permissions ( 644-777 etc ) but those values are valid for the owner specified in file ( 2001 or 190932 etc and this is what I need to change )

Reason: I have a simple file counter.txt, if I created it using the PHP script within directory then PHP can make further writings to it. fwrite,fopen work good ( its owner=2001 and Group=2001 ) but if I create this file on my desktop counter.txt and then uploaded to my directory then the owner is 190935 different and consequently fopen() fwrite() fail ! Even having permission set to 644 on both files the difference is in the owner...I need to change it back to 2001. Is this possible?
ssfdre38
well fopen() and fwrite() are disable so it wont work
Jacques Deslauriers
QUOTE(ssfdre38 @ Jul 23 2011, 05:49 PM) *
well fopen() and fwrite() are disable so it wont work


I created a folder named Mariages and tried to FTP a file to that folder and received the following error message :

Réponse : 553-Can't open that file: Permission denied
Réponse : 553 Rename/move failure: No such file or directory


I tried chmod to that folder but I keep getting

550 Could not change perms on Mariages: Operation not permitted

I tried various permissions like 777 ,766 etc but always the same problem

Where am I going wrong

Jacques
artonweb
The correct permissions on folders are 755
and on files 644.
Nothing more nothing less!!
ssfdre38
to use fwrite() chmod the file to 777 and the folders to it
brand44
I have that some problem.I need to CHMOD a few of my directories.........
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.