Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-08-2007, 10:58 AM   #1
LQ Newbie
Registered: May 2007
Distribution: Debian
Posts: 3

Rep: Reputation: 0
Any way to automatically assign permissions??

I'm running Debian 4.0r0 and right now i'm running vsftpd and apache2. I was wondering if I can somehow make all files in a directory automatically have certain permissions.

I have a directory with http access with a user and password through apache2. I want files that are uploaded with the ftp user from vsftpd to have the "read" permission for "others"

Old 05-08-2007, 03:24 PM   #2
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 31
I'm not sure, but you might need to modify the following option in vsftpd.conf.


The permissions with which uploaded files are created. Umasks are applied on top of this value. You may wish to change to 0777 if you want uploaded files to be executable.

Default: 0666
Old 05-14-2007, 11:01 AM   #3
LQ Newbie
Registered: May 2007
Distribution: Debian
Posts: 3

Original Poster
Rep: Reputation: 0

I got it working,


now the default permissions for ftp user are:



assign, automatic, permission

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically set permissions of new files created within a specific folder Lorian Linux - Desktop 2 03-03-2007 03:17 PM
Automatically set permissions on /dev/ttyUSB0 MicahCarrick Linux - Software 1 03-22-2006 08:20 AM
FOLDER permissions change automatically Echo Kilo Linux - Newbie 5 08-21-2005 03:09 AM
Permissions home dir reset automatically Marco Vermunt Linux - Newbie 1 01-24-2005 01:50 PM
Automatically Setting File Permissions in a Directory maneeshsethi Linux - Security 2 05-27-2004 07:42 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration