Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to set ftp (of sftp) default umask
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
g3n
Guru
Guru


Joined: 13 Dec 2003
Posts: 543
Location: México

PostPosted: Fri Jun 11, 2004 9:28 pm    Post subject: How to set ftp (of sftp) default umask Reply with quote

The Dev team here at the office are developing a website, i want to change the permissions on the /var/www/html dir to make it writable by the group (in this case the groups is _elimon_) so i changed the group owner of all the html dir to elimon, and changed the permissions to 774 to all the files, now, i want to give them FTP or SFTP access, but as they arent sysadmins they dont want to fight with the permission when they upload, so i wanted to change the umask or something of the sftp to make automatically all upload 774 on its perms and 775 if they are directories, how can i do it?

I want this perms on the files:
-rwxrwxr-t 1 root elimon 1778 Jun 5 19:36 temporalmarco.php
drwxrwxr-x 2 g3n elimon 4096 Jun 11 17:29 test

for files and for dirs respectively
_________________
--[G]--
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum