05-27-2003
I have encountered that problem when I ftp'd down the file in ascii format. Try pulling the file down again, this time, specify binary at the ftp prompt. Doing so fixed my issue.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I get a compressed file for linux and I want to uncompress it in Unix. Is that possible?
I try with te command uncompress but it didnīt work.
T.hanks (3 Replies)
Discussion started by: diegoe
3 Replies
2. UNIX for Dummies Questions & Answers
Dear friends, i'm trying to uncompress an "...... tar.z" file.
I'd readen that using the "uncompress" command it could be made but............... God! I can't!!!!!
I tried a lot of times using the Terminal but the uncompress command doesn't obeys!!! :):) .
Please i need to know how to... (3 Replies)
Discussion started by: gussiglo21
3 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
I have compressed a file in windows platform using 7zip into tar.z format. I try to uncompress in Unix using uncompress command. It doesn't work. Can anyone tell me wether there is any tools I can use in windows to generate a Tar.Z file which can be uncompress in unix.
From
Icestone (1 Reply)
Discussion started by: icestone
1 Replies
4. UNIX for Dummies Questions & Answers
I did an ftp to copy a tar file from a main server area to the backup server area. I need to get that tar file to uncompress it in backup server. How do I go about it.
Please any suggesstion will be greatly appreciated (1 Reply)
Discussion started by: nkem22
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
Can any one give me the shell command to rename more than one files to .Z extension in a directoy or path.
As well as how can i uncompress a whole directory with a single shell command?
rEgards,
Tayyab (5 Replies)
Discussion started by: tayyabq8
5 Replies
6. Programming
When I gzopen & gzread from a gzip file, it works OK. But I when I try to uncompress the same data from memory (either by reading to memory with fread or mmap()ing) using decompress, I get Z_DATA_ERROR. Is it because gzip file has some kind of headers that uncompress doesn't want?
How can I get... (3 Replies)
Discussion started by: rayne
3 Replies
7. UNIX for Advanced & Expert Users
Hi All,
is it possible to uncompress on another directory ? At the moment I have my file to uncompress on /u07 that has 5GB free. When uncompressed it would be more then 6G , I want to send uncompressed file on another directory where I have more free space. is it possible ? How ?
Many thanks... (3 Replies)
Discussion started by: big123456
3 Replies
8. UNIX for Advanced & Expert Users
on my suse linux, there is no compress and uncompress command. however, a program need these command to be installed properly. my question is how i can install these command and where to find them, thanks! (6 Replies)
Discussion started by: fredao
6 Replies
9. Shell Programming and Scripting
Hi,
I am restoring the database backup using compress utility(/usr/bin/compress) which takes around 1 hour.For restoration i use uncompress utility(/usr/bin/uncompress) which is taking nearly 6-7 hours.Can someone let me know how to reduce this time.I have pasted below the line from script... (2 Replies)
Discussion started by: santtarius
2 Replies
10. Solaris
I've downloaded the tomcat from http://archive.apache.org/dist/jakarta/tomcat-5/v5.0.30/bin/
at window 2000 and then ftp to Solaris 5.9 in binary mode.
gunzip -c jakarta-tomcat-5.0.30.tar.gz | tar -xvf -
tar: directory checksum error
if try this one,
gzip -d jakarta-tomcat-5.0.30.tar.gz... (2 Replies)
Discussion started by: sbox
2 Replies
LEARN ABOUT MOJAVE
ftpd_selinux
ftpd_selinux(8) ftpd SELinux policy documentation ftpd_selinux(8)
NAME
ftpd_selinux - Security-Enhanced Linux policy for ftp daemons.
DESCRIPTION
Security-Enhanced Linux provides security for ftp daemons via flexible mandatory access control.
FILE_CONTEXTS
SELinux requires files to have a file type. File types may be specified with semanage and are restored with restorecon. Policy governs the
access that daemons have to files.
Allow ftp servers to read the /var/ftp directory by adding the public_content_t file type to the directory and by restoring the file type.
semanage fcontext -a -t public_content_t "/var/ftp(/.*)?"
restorecon -F -R -v /var/ftp
Allow ftp servers to read and write /var/tmp/incoming by adding the public_content_rw_t type to the directory and by restoring the file
type. This also requires the allow_ftpd_anon_write boolean to be set.
semanage fcontext -a -t public_content_rw_t "/var/ftp/incoming(/.*)?"
restorecon -F -R -v /var/ftp/incoming
BOOLEANS
SELinux policy is based on least privilege required and may also be customizable by setting a boolean with setsebool.
Allow ftp servers to read and write files with the public_content_rw_t file type.
setsebool -P allow_ftpd_anon_write on
Allow ftp servers to read or write files in the user home directories.
setsebool -P ftp_home_dir on
Allow ftp servers to read or write all files on the system.
setsebool -P allow_ftpd_full_access on
Allow ftp servers to use cifs for public file transfer services.
setsebool -P allow_ftpd_use_cifs on
Allow ftp servers to use nfs for public file transfer services.
setsebool -P allow_ftpd_use_nfs on
system-config-selinux is a GUI tool available to customize SELinux policy settings.
AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>.
SEE ALSO
selinux(8), ftpd(8), setsebool(8), semanage(8), restorecon(8)
dwalsh@redhat.com 17 Jan 2005 ftpd_selinux(8)