Go Premium for a chance to win a PS4. Enter to Win

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
?
443 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 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month7 days, 13 hours left to enroll

824 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