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
423 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

932 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now