![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
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! |
| Forum Sponsor | ||
|
|
|
|||
|
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! |
|||
| Google The UNIX and Linux Forums |