Ask a Question related to AIX, Design and Development.
-
sengstock3 #1
FTP file permissions
whenever a user uses FTP to transfer a file to the UNIX box, that file
always gets 640 permissions. I want those files to get 666 permissions.
How can I do that? The umask of the user is set to 00, which does not
seem to have any effect on that user's files when logged in via FTP.
-Mark
--
Posted via [url]http://dbforums.com[/url]
sengstock3 Guest
-
File permissions
I have files located on an old HD that are encrypted. When I reinstalled XP I no longer have access to these files. I can see them but not access... -
file permissions - ack!
Hello. This is driving me a little nuts.... Cannot create, write to or unlink any files using PHP. Can open and close files within my web space... -
PHP file permissions?
I've made a copy of a log file and tried to display it through a php file, but nothing comes up. I know passthru command works because I can run it... -
Setting the file permissions of a file I'm writing to
Is it possible to specify the permissions of a file I create when I: open ("FOO", "> ./bar") or die ("Could not create file"); Thanks in... -
how do you deal with file permissions?
I have some problems with files, like alert_sid.log, it is owned by oracle:dba, I'm a member of dba group, but I can't modiy or delete alert file... -
Al Sharka #2
Re: FTP file permissions
sengstock3 wrote:
> whenever a user uses FTP to transfer a file to the UNIX box, that
> file always gets 640 permissions. I want those files to get 666
> permissions. How can I do that? The umask of the user is set to
> 00, which does not seem to have any effect on that user's files
> when logged in via FTP.
[url]http://tinyurl.com/mw5c[/url]
Al Sharka Guest
-
Ron #3
Re: FTP file permissions
sengstock3 <member25238@dbforums.com> wrote:
Change /etc/inetd.conf for the ftp stanza and use the -u option, for example;
ftp stream tcp nowait root /usr/sbin/ftpd ftpd -u 007
gets a 660 permissions for us. Try 000 for your 666 permissions.
This is from the man pages for ftpd.
-u OctalVal Sets the ftpd daemon's umask. The OctalVal variable must be
specified as an octal value to define the umask. The default umask is an octal
value of 027, which results in file permissions of rw-r-----.
Ron
: whenever a user uses FTP to transfer a file to the UNIX box, that file
: always gets 640 permissions. I want those files to get 666 permissions.
: How can I do that? The umask of the user is set to 00, which does not
: seem to have any effect on that user's files when logged in via FTP.
: -Mark
: --
: Posted via [url]http://dbforums.com[/url]
Ron Guest
-
sengstock3 #4
Re: FTP file permissions
do you think I need to wait until users are off the system before
running 'refresh -s' (to inform the inetd daemon of the changes), or is
it safe to run that during the day?
--
Posted via [url]http://dbforums.com[/url]
sengstock3 Guest
-
Ron #5
Re: FTP file permissions
You can run it with users on the system - I've done it lots of times without
problems.
sengstock3 <member25238@dbforums.com> wrote:
: do you think I need to wait until users are off the system before
: running 'refresh -s' (to inform the inetd daemon of the changes), or is
: it safe to run that during the day?
: --
: Posted via [url]http://dbforums.com[/url]
Ron Guest



Reply With Quote

