Go Back   FlashFXP Forums > >

General Discussion Need help? Have a problem? Let us help you. Bug reports and feature requests should be made using the Bug Tracker or Feature Tracker

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 01-19-2005, 07:58 PM   #1
ep2002
Junior Member
FlashFXP Registered User
 
Join Date: Dec 2004
Posts: 14
Default Changing Permissions

Hi there,

How do I change the permissions on a file?

Also, what are the numeric codes I need to change them to?

With my previous FTP program it only had me check off read, write etc., so I don't know what the numeric values are supposed to be or what they all mean as it's only once in a blue moon a programmer makes me change these things LOL

Thanks a ton & have a great night !


Michelle
ep2002 is offline  
Old 01-19-2005, 08:36 PM   #2
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

right click on file or dir you want to change and select 'attributes(chmod)'


for example you have "-rw-------" for files, and "drwxr-xr-x" for directories. The numerical equivalent of this is 600 and 755. The first number controls the "owner" permissions, the latter two, the "group" and the "world" permissions.

How is this arrived at? Each letter has a value assigned to it:

* Null, or "-" = 0
* Execute, or "x" = 1
* Write, or "w" = 2
* Read, or "r" = 4

Adding them up arrives at a value for the group they control. Thus, in the above examples, "600" (r = 4) + (w = 2) = 6, results in "rw-" for the "owner" permissions, and 0 = "---" and "---" for the group and world permissions

More examples:

"chmod 644 [filename]" will result in "-rw-r--r--";
"chmod 755 [directory]" will result in "drwxr-xr-x";
These are the default permissions any new directories you create will have. They enable anyone to enter the directory and list the files inside it.
"chmod 777 [directory]" willl result in "drwxrwxrwx"
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
Old 01-19-2005, 08:56 PM   #3
ep2002
Junior Member
FlashFXP Registered User
 
Join Date: Dec 2004
Posts: 14
Default

Thanks a ton


Michelle
ep2002 is offline  
Closed Thread

Tags
change, ftp, numeric, permissions, supposed


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Transfer hangs before it starts? Waruwaru General Discussion 0 09-20-2004 04:06 PM


All times are GMT -5. The time now is 11:24 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)