Solved

FreeBSD permissions

Posted on 2014-04-21
4
427 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 500 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Audit HISTFILE for all users on AIX 9 133
OpenLDAP Proxy to Active Directy 6 288
unix in java example 9 64
How to make a Bash alias that takes parameters 5 55
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

809 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