The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
setting up OpenBSD 4.0 Siphter BSD 4 01-26-2007 08:22 AM
FTP user files permissions problems!!! budrito HP-UX 3 04-07-2005 03:27 AM
Trying to get into OpenBSD deckard BSD 6 03-15-2005 04:43 PM
Maxtor vs. OpenBSD bsdave Filesystems, Disks and Memory 2 02-26-2004 08:08 AM
please help with openbsd 2.9 Blunt_Killer UNIX for Dummies Questions & Answers 11 06-24-2001 07:15 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-22-2005
Registered User
 

Join Date: Aug 2005
Posts: 2
Stumble this Post!
Unhappy OpenBSD Ftp permissions problems - help!!

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 so far...

OpenBSD is running Apache and the public_html are in UserA's home folder. UserB wanted to be able to upload docs into public_html too so I managed to setup a group called webuser, put them both in it and managed to make it so that it was the default group in the public_html folder for any uploaded files.

First of all, whenever any user ftp's up a new file, it automatically gives it the permissions 640. This means that people in the group can't edit the file which is what I want them to do! I've tried setting all the folders using CHMOD and trying to use UMASK and things but it doesn't work. I looked at changing the ftp config, but I don't have a login.conf in the /etc so not sure if I should create one. I am also not sure if I should try and run ftpd with the -mask switch or something.

Also, when a user uploads a file, they are the only user that can change the permissions, even when the group is set correctly and the permissions set to 775. Shouldn't anyone in the group be able to change the permissions? Is it possible to set that for just the one folder?

Can anyone offer any helpful pointers, advice, links or anything that might help??

Thanks!
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 08-23-2005
Registered User
 

Join Date: Aug 2005
Posts: 2
Stumble this Post!
Talking

Ok think I have sorted it now, found I only had to change inetd.conf to read:

ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.ftpd -u 007

And then restart the inetd. Now everything works fine!

Thanks to all for reading!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:10 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0