Sponsored Content
Full Discussion: Umask to ProFTPd
Operating Systems Solaris Umask to ProFTPd Post 302170183 by jess_t03 on Sunday 24th of February 2008 11:27:03 PM
Old 02-25-2008
Ok people I have found something.
After unsuccessful attempt with Proftpd I have tried standard ftpd demon and has received same result =\

I don't know what do next ...

In FTP UMASK x - permissions alway disappear !
When i'm set umask 002, that 0 - logically should be so
-rwx .... - 0 the FULL permissions !
but it always
-rw- ....

Why ? Where disappears X ?
It's situation anywhere even Linux and with alway ftp servers =\
Who can help me ? Please ;(
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Stop/Start proftpd

Hi everyone, I was wondering how to configure ftp access for one user when I found this board. After some searches I found my infos around proftpd (and the great config file proftpd.conf who answered to all my dreams...) but now I only need to stop proftpd and restart it (I guess it is needed... (1 Reply)
Discussion started by: Lomic
1 Replies

2. UNIX and Linux Applications

what tools can mange proftpd ?

i want to use proftpd to create a ftp server, does anyone have any good web manager tools to mange the ftp site ? (3 Replies)
Discussion started by: yarx
3 Replies

3. IP Networking

proftpd: how to set MaxStoreFileSize to one user ?

hi,all: i set "MaxStoreFileSize 20 Mb" on proftpd.conf, this parameter limit everyone to upload file less than 20M, but i want to permit one user "fred" can upload file size more than 20 Mb, how to set it ? if i set: MaxStoreFileSize 20 Mb MaxStoreFileSize 100 Mb user fred but they... (2 Replies)
Discussion started by: yarx
2 Replies

4. UNIX for Dummies Questions & Answers

Help me Install Proftpd

Hi eveyone, Im newb in Unix. I just install solaris 10 on my VM. First program i install is midnight commander and did successful. The way i do is get binary packet from sunfreeware then add and edit the PATH variable. My next program is ProFtpd i did same way :D. Add packets... (4 Replies)
Discussion started by: tien86
4 Replies

5. Solaris

solaris 10 proftpd with inetd and tcp_wrappers

If I use an old inetd based service that specified /usr/sbin/tcpd for proftpd, do I have to include that when I use inetconv to create the service manifest. For example. I currently use proftpd for ftp with tcp_wrappers. My old inetd line was ftp stream tcp nowait root /usr/sbin/tcpd... (2 Replies)
Discussion started by: csross
2 Replies

6. AIX

ProftpD on AIX 6.1

I need to install proftpd on AIX 6.1 . I cant compile it from source cod because of lacking gCC compiler.. so is there any AIX proftpd package to install (3 Replies)
Discussion started by: wwwzviadi
3 Replies

7. AIX

Proftpd and AIX 7

Hi. I want to install proftpd on an AIX 7.1, but the only proftpd-1.2.8-1.aix5.1.ppc.rpm is available and it doesn't want on be installed : error: proftpd-1.2.8-1.aix5.1.ppc.rpm cannot be installed Any help (other than compilation) ? tks (0 Replies)
Discussion started by: stephnane
0 Replies
UMASK(2)						     Linux Programmer's Manual							  UMASK(2)

NAME
umask - set file mode creation mask SYNOPSIS
#include <sys/types.h> #include <sys/stat.h> mode_t umask(mode_t mask); DESCRIPTION
umask() sets the calling process's file mode creation mask (umask) to mask & 0777 (i.e., only the file permission bits of mask are used), and returns the previous value of the mask. The umask is used by open(2), mkdir(2), and other system calls that create files to modify the permissions placed on newly created files or directories. Specifically, permissions in the umask are turned off from the mode argument to open(2) and mkdir(2). The constants that should be used to specify mask are described under stat(2). The typical default value for the process umask is S_IWGRP | S_IWOTH (octal 022). In the usual case where the mode argument to open(2) is specified as: S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH (octal 0666) when creating a new file, the permissions on the resulting file will be: S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH (because 0666 & ~022 = 0644; i.e., rw-r--r--). RETURN VALUE
This system call always succeeds and the previous value of the mask is returned. CONFORMING TO
SVr4, 4.3BSD, POSIX.1-2001. NOTES
A child process created via fork(2) inherits its parent's umask. The umask is left unchanged by execve(2). The umask setting also affects the permissions assigned to POSIX IPC objects (mq_open(3), sem_open(3), shm_open(3)), FIFOs (mkfifo(3)), and UNIX domain sockets (unix(7)) created by the process. The umask does not affect the permissions assigned to System V IPC objects created by the process (using msgget(2), semget(2), shmget(2)). SEE ALSO
chmod(2), mkdir(2), open(2), stat(2) COLOPHON
This page is part of release 3.44 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2008-01-09 UMASK(2)
All times are GMT -4. The time now is 03:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy