Sponsored Content
Full Discussion: Ftp permission 644
Top Forums UNIX for Advanced & Expert Users Ftp permission 644 Post 19405 by cagnod on Wednesday 10th of April 2002 06:42:26 PM
Old 04-10-2002
Great!!

It works with Solaris.
You're really great!

Thank you very very much.

Dan

Quote:
Originally posted by doeboy
You can set UMASK=nnn in your /etc/defaults/ftpd (On Solaris)
(You must be root to change this file/create it if it doesn't exist).

On HP-UX and AIX you can use the following command and it should change your umask for the session.

site umask <nnn>


Give that a try. Hope it works for you.
Smilie Smilie
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

file permission retention via ftp

Working out of AIX 4.3's . have machine (a) and machine (b) umask on both machines is 'umask 022'. as user root (these are trivial machines hence dummies like me have root access) when i Ftp files from a to b , why is it that I loose the original file permissions. After the ftp I have to chmod... (1 Reply)
Discussion started by: buRst
1 Replies

2. AIX

FTP File Permission

Hi Guys, I need help on how to configure file permission to be set to 755 whenever user ftp the files from their notebook to the AIX server. Currently when the user ftp the files, the default permission is 640. Please help me to vi the required files. Thankx RaYbAkH (1 Reply)
Discussion started by: raybakh
1 Replies

3. Shell Programming and Scripting

changing permission using FTP

Dear all, i want to change file permision of remote dir using FTP. is that possible? what i'm doing is i'm simply doing chmod 777 filename after establishing the connection with remote server using ftp... but the result showing is 550 SITE CHMOD command failed. can any body plz help?... (3 Replies)
Discussion started by: panknil
3 Replies

4. UNIX for Dummies Questions & Answers

ftp transfer permission denied

I am using a Cobalt Raq4 with Apache web server. I am trying to set the intermediate SSL certificate. I have edited httpd.conf and have created the intermediate SSL certificate text file. However when I try to upload the text file via ftp I get a "Permission denied" message. I am the server... (1 Reply)
Discussion started by: dennisheazle
1 Replies

5. UNIX for Dummies Questions & Answers

SCO 5.0.7 Cron creates files with 600, need 644

Hi, I've searched and read, and searched and read some more; but I'm still not connecting the dots or understanding what I need to change. I have a script that creates a file. If I run it as root, the file gets created with 644 permissions like I want. That seems to make sense (at least I... (2 Replies)
Discussion started by: 65bit
2 Replies

6. Shell Programming and Scripting

FTP Files should get full permission

Hi All, Could any one please help me in performing the following? We have the following folder: /home/test/proj1 /home/test/proj2 /home/test/proj3 Users from different country places files in this folder using FTP (These users uses different flavors of FTP tools). Our... (1 Reply)
Discussion started by: vfrg
1 Replies

7. Shell Programming and Scripting

begin 644 in received message sent with sendmail

I send an attachment 123.pdf using the below script:- << script content >> #!/usr/bin/ksh /usr/lib/sendmail -C sendmail.cf abc@gmail.com << END Subject: HELLO `uuencode 123.pdf 123.pdf` END However, the message I got in gmail look like:- begin 644 123.pdf ... garbage ... ... many... (4 Replies)
Discussion started by: pok.fung
4 Replies

8. Shell Programming and Scripting

override protection 644 (yes/no)?

Hi pls help me out to short out this problem rm PAB113_011.out rm: PAB113_011.out: override protection 644 (yes/no)? n If i give y it remove the file. But i added the rm command as a part of ksh file and i tried to remove the file. Its not removing and the the file prompting as... (9 Replies)
Discussion started by: sri_aue
9 Replies

9. AIX

How to create all files generated in a directory with 644 permissions?

Hi, We are using AIX machines. How to create all files generated in a directory with 644 permissions automatically. Regards, Suresh (11 Replies)
Discussion started by: suresh3566
11 Replies
DH_FIXPERMS(1)                                                       Debhelper                                                      DH_FIXPERMS(1)

NAME
dh_fixperms - fix permissions of files in package build directories SYNOPSIS
dh_fixperms [debhelperoptions] [-Xitem] DESCRIPTION
dh_fixperms is a debhelper program that is responsible for setting the permissions of files and directories in package build directories to a sane state -- a state that complies with Debian policy. dh_fixperms makes all files in usr/share/doc in the package build directory (excluding files in the examples/ directory) be mode 644. It also changes the permissions of all man pages to mode 644. It removes group and other write permission from all files. It removes execute permissions from any libraries, headers, Perl modules, or desktop files that have it set. It makes all files in the standard bin and sbin directories, usr/games/ and etc/init.d executable (since v4). Finally, it removes the setuid and setgid bits from all files in the package. When the Rules-Requires-Root field has the (effective) value of binary-targets, dh_fixperms will also reset the ownership of all paths to "root:root". OPTIONS
-Xitem, --exclude item Exclude files that contain item anywhere in their filename from having their permissions changed. You may use this option multiple times to build up a list of things to exclude. SEE ALSO
debhelper(7) This program is a part of debhelper. AUTHOR
Joey Hess <joeyh@debian.org> 11.1.6ubuntu2 2018-05-10 DH_FIXPERMS(1)
All times are GMT -4. The time now is 06:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy