Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
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
Medium Priority
?
442 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 2000 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
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.:
Suggested Courses

715 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