12-31-2002
Actually, the mask for the user makes no difference.
By typing in "umask ftp" and using our search function, I found:
this thread
I will add that with some ftpd programs there is an option for the default umask on the command line.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
HI,
I am not really even a newbie I'm just posing as one until our sys admin gets back from vacation.
I am getting errors downloading certain files from an NT Server onto our inhouse Unix fileserver.
Certain files always return errors when downloading to their proper directory.... (2 Replies)
Discussion started by: newbie10
2 Replies
2. UNIX for Advanced & Expert Users
Does anyone know what the return code will be if an ftp fails because the /var/tmp filesystem is full?
AIX 4.3 (1 Reply)
Discussion started by: lawadm1
1 Replies
3. UNIX for Dummies Questions & Answers
Hello,
Ok I have a couple of little problems that I can't for the life of me work out how to solve. I wasn't involved in setting the server up, I've just "inherited" the support for it. I've done my best to be a good little newbie, researched articles, tried things out and managed to only get... (1 Reply)
Discussion started by: Andy68man
1 Replies
4. UNIX for Advanced & Expert Users
Hi All,
I am trying to ftp a file :
-rw-rw-rw- 1 oraclepbdw dba filename.txt
from Machine A ( where umask is 022) to Machine B (umask 022)
but the file changes to
-rw-rw-r-- 1 ftpamle3 ftaml filename.txt
Dur some constraints the group of the users on either side... (3 Replies)
Discussion started by: gauravsachan
3 Replies
5. UNIX for Dummies Questions & Answers
Hi Guys,
I am trying to grant FTP acccess to my server for a WebDesigner to be able to upload live and see how it looks online.
I created a new user (WebDes:tomcatUsers) and created his home dir as /var/lib/tomcat5/webapps/uPhoto/ and then made sure he CHROOT's to his home dir so he only... (1 Reply)
Discussion started by: boarderstu
1 Replies
6. AIX
Hi all,
I am using ftp command to transfer a file from one AIX5.3 box to different box with the same OS level. Is there a way I could change the permissions on the file once its transferred, as I am automating the process but the file permissions on the target does not allow other users to access... (2 Replies)
Discussion started by: sam_78_nyc
2 Replies
7. UNIX for Dummies Questions & Answers
hi,
how can I see permissions through ftp connection ?
I can't see them using "ls -l" as in the local system..
thanks (1 Reply)
Discussion started by: aneuryzma
1 Replies
8. Shell Programming and Scripting
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
9. UNIX for Dummies Questions & Answers
Hi I was wondering if it would be possible to get the full octal permissions of a file by using something in the stat() system call. Can this be done without going through all of the seperate permissions (e.g. read for user, write for user .... etc.)? also how can this octal permission be changed... (5 Replies)
Discussion started by: bjhum33
5 Replies
10. Red Hat
I am attempting to get a baseline of deployed RHEL 6.5 servers and need to produce a full filesystem permission settings list.....but I forgot the bloody command and am racking my brain and now have a migraine.
I just need a simple list starting at "/" right down the tree, listing the folder,... (3 Replies)
Discussion started by: strykergli250hp
3 Replies
LEARN ABOUT LINUX
pam_umask
PAM_UMASK(8) Linux-PAM Manual PAM_UMASK(8)
NAME
pam_umask - PAM module to set the file mode creation mask
SYNOPSIS
pam_umask.so [debug] [silent] [usergroups] [umask=mask]
DESCRIPTION
pam_umask is a PAM module to set the file mode creation mask of the current environment. The umask affects the default permissions assigned
to newly created files.
The PAM module tries to get the umask value from the following places in the following order:
o umask= argument
o umask= entry of the users GECOS field
o pri= entry of the users GECOS field
o ulimit= entry of the users GECOS field
o UMASK= entry from /etc/default/login
o UMASK entry from /etc/login.defs
OPTIONS
debug
Print debug information.
silent
Don't print informative messages.
usergroups
If the user is not root and the username is the same as primary group name, the umask group bits are set to be the same as owner bits
(examples: 022 -> 002, 077 -> 007).
umask=mask
Sets the calling process's file mode creation mask (umask) to mask & 0777. The value is interpreted as Octal.
MODULE TYPES PROVIDED
Only the session type is provided.
RETURN VALUES
PAM_SUCCESS
The new umask was set successfully.
PAM_SERVICE_ERR
No username was given.
PAM_USER_UNKNOWN
User not known.
EXAMPLES
Add the following line to /etc/pam.d/login to set the user specific umask at login:
session optional pam_umask.so umask=0022
SEE ALSO
pam.conf(5), pam.d(5), pam(7)
AUTHOR
pam_umask was written by Thorsten Kukuk <kukuk@thkukuk.de>.
Linux-PAM Manual 06/04/2011 PAM_UMASK(8)