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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

760 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

21 Experts available now in Live!

Get 1:1 Help Now