Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

FreeBSD permissions

Posted on 2014-04-21
4
Medium Priority
?
454 Views
Last Modified: 2016-02-11
Hi.  I installed FreeBSD 9.2.  I created a user other than root and added that user to the "wheel" group.  I then enabled FTP on the box.  I have a developer that can access the FTP but gets permission denied when trying to copy files. How can I ensure that this guy can copy files to the box with no issues. Please explaining I am a 5 year old as this is my first installation. The developer says he needs rights to var/www.
0
Comment
Question by:hmcnasty
  • 2
  • 2
4 Comments
 

Author Comment

by:hmcnasty
ID: 40013908
Maybe it's just a setting in the FTP. It's the FTP program that comes with it.
0
 
LVL 62

Accepted Solution

by:
gheist earned 2000 total points
ID: 40014251
He needs to be owner of web files, and definitely not part of wheel to su to root in interactive session.
Are you absolutely certain that sftp is not possible at all?
0
 

Author Comment

by:hmcnasty
ID: 40015465
Hi Thanks.  I'm not sure about sftp.

He claims he need permission to write to var/...  How can I accomplish this? If I take him out of wheel, what group do I put him in so he has the necessary permissions to install packages and write to directories.  He is setting the box up to be a web server.

Wes
0
 
LVL 62

Expert Comment

by:gheist
ID: 40017656
Probably you dont put him in any group
Apache reads web files as group apache
You need to make him owner of web files
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question