06-23-2010
In FTP configuration file there is parameter Default umask it's better to set the umask option from there... If bakunin suggestion wont work try to put script in crontab which sets permissions every minute or so...
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I need to change my umask from 22 to 0022. FreeBSD 5.4 has different way of looking at 22 and 0022. Untill 4.11 stable 022 and 0022 were same. Can anyone help me?
Thanks in advance.
Jimmy (0 Replies)
Discussion started by: jimmynath
0 Replies
2. AIX
hi, am new to AIX.
i have an issue. iam asked to change the umask setting on a logon script on a server to prevent writable files. i logged in as the root user and typed in umask and it displays 022, which i believe is 755 for direc and 644 for files.
1) how to I identify where the logon script... (2 Replies)
Discussion started by: karthikosu
2 Replies
3. Linux
I was asked to change the daemon umask on my RHEL4 machine.
so, i changed the /etc/init.d/functions file.
Does this take effect right away? I dont think it does, how can i get it to take affect without rebooting? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
4. Shell Programming and Scripting
dear all,
i'm trying to set the default permission using umask commnd. i'm using bash shell and the permission of the .bash_profile file is
-rwxr-x--- 1 tdmscrdr dba 370 Nov 7 12:21 .bash_profile
but still i'm not able to change the default permissiom.
in the .bash_profile... (1 Reply)
Discussion started by: panknil
1 Replies
5. HP-UX
Hi,
I have an ftp account which is used for transferring files to a UNIX box.
eventhough the permissions on the source box for the files are 777, when it reaches the destination node via this ftp transfer the permissions is getting changed to -rw-r-----
can someone please help me?
umask... (3 Replies)
Discussion started by: vivek_damodaran
3 Replies
6. UNIX for Dummies Questions & Answers
How can we set the Sticky bit in the umask itself. Please help me :confused:
I tried to set like umask 1000 but when I run umask, the value of umask is 00 (0 Replies)
Discussion started by: geniman2004
0 Replies
7. UNIX for Dummies Questions & Answers
Hello everyone,
I want to set my properties of my profile to umask 022 by default. I have an idea that i need to make the change in .profile file. Can you please help me, on how would i be able to set it.
Thanks,
Abhishek S. (4 Replies)
Discussion started by: abhisheksunkari
4 Replies
8. Shell Programming and Scripting
I've got a number of people sending files to me in different directory structures, and users on many different groups who need access to these incoming paths.
My problem is that umask assumes a default of 666 for files. No execute bit, meaning that my users can't even see the incoming folders.... (2 Replies)
Discussion started by: Karunamon
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have set below option in following file /etc/inetd.conf in AIX.
ftp stream tcp6 nowait root /usr/sbin/ftpd ftpd -u 2
But still it created the file with permission (640):
-rw-r----- 1 ftptosas ftpusrg 6091 Jul 28 12:23 diff_061920.txt
Required permission... (1 Reply)
Discussion started by: mageshpsv01
1 Replies
LEARN ABOUT OSX
ftp_geturl
ftp::geturl(n) ftp client ftp::geturl(n)
__________________________________________________________________________________________________________________________________________________
NAME
ftp::geturl - Uri handler for ftp urls
SYNOPSIS
package require Tcl 8.2
package require ftp::geturl ?0.2.1?
::ftp::geturl url
_________________________________________________________________
DESCRIPTION
This package provides a command which wraps around the client side of the ftp protocol provided by package ftp to allow the retrieval of
urls using the ftp schema.
API
::ftp::geturl url
This command can be used by the generic command ::uri::geturl (See package uri) to retrieve the contents of ftp urls. Internally it
uses the commands of the package ftp to fulfill the request.
The contents of a ftp url are defined as follows:
file The contents of the specified file itself.
directory
A listing of the contents of the directory in key value notation where the file name is the key and its attributes the asso-
ciated value.
link The attributes of the link, including the path it refers to.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category ftp of
the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
SEE ALSO
ftpd, mime, pop3, smtp
KEYWORDS
ftp, internet, net, rfc 959
CATEGORY
Networking
ftp 0.2.1 ftp::geturl(n)