Solved

linux server change file permissions using WS_FTP or command prompt during ftp session on an XP Home

Posted on 2004-07-30
2
426 Views
Last Modified: 2012-06-27
I have an issue wherein I need to change permissions for files on a linux server.  But more than that, since I know very little about this, I am not certain I need to change them AFTER they reach their ultimate destination folder, or if I can change them prior to moving them into their final online home folder.   This online "home" folder is huge, and picking through the files is very difficult.

The files are on the server in a subdirectory.  I need to make them 651.  I connect via either WS_FTP lite or the command prompt on a windows xp home edition.

My host told me the permissions need to be 651.   In WS_FTP, the chmod function offers three sections.  owner group and other.  in there, I can change files to read, write and execute.  I'm not sure how I need to set file permissions to become 651.  I also don't know if I need to do this before they end up in this huge folder or afterwards.  
0
Comment
Question by:linque
2 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 500 total points
ID: 11682462
Mode 651 doesn't make a lot of sense since that would be rw-r-x--x (read/write for owner, read/execute for group and execute for world. In almost all cases if group and other need execute  the owner would also which might mean a mode of 755. Execute permisson is only neaded for directories and files that are spposed to be executed, like complied objects, shell, perl, python, or tcl/tk scripts. Everything else would normally want a file mode that only offers read/write permissions (mode 644 or perhaps 664).

Since a windows box only understands the owner and doesn't have a concept of group or other you'd need to adjust the permissions after transfering the files to the Linux box. If those files really need to be mode 651 you want to set:

owner - read/write
group - read/execute
other - execute
0
 

Author Comment

by:linque
ID: 11682642
Thank you for a MOST understandable response to a novice.  Much appreciated.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question