Solved

FreeBSD permissions

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Suggested Solutions

Title # Comments Views Activity
Linux : can't create transaction lock error 1 77
NTP Server in VMware 5 292
Unix Command -- Challenging  question 7 96
Solaris 4.1.3 cloning and booting 13 84
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

828 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