LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-09-2003, 01:03 PM   #1
roofy
Member
 
Registered: Apr 2003
Location: Florida
Distribution: Redhat 7.2
Posts: 222

Rep: Reputation: 30
user permissions...


hey guys im usuing pureftp and im trying to add a user to upload files straight to the htdocs directory....i created a user and set his home dir to /usr/local/apache2/htdocs/ (where the webserver is) but when i log in thru ftp i see nothing...the only way i can do it is to log into the ftp as root and navigate to htdocs...someone help..thanks
 
Old 05-09-2003, 02:12 PM   #2
Edward78
Member
 
Registered: Jul 2002
Distribution: OpenSuSE 11
Posts: 441

Rep: Reputation: 30
Maybe you should only do that as root.
 
Old 05-09-2003, 03:36 PM   #3
roofy
Member
 
Registered: Apr 2003
Location: Florida
Distribution: Redhat 7.2
Posts: 222

Original Poster
Rep: Reputation: 30
but how can i create a root-like account that would forward me right to that directory?
 
Old 05-09-2003, 03:40 PM   #4
anil
LQ Newbie
 
Registered: Feb 2002
Posts: 27

Rep: Reputation: 15
may be u want to have a normal home directory and have a soft link to that directory. make sure the user has permissions to write to that directory.

Anil
 
Old 05-09-2003, 10:11 PM   #5
roofy
Member
 
Registered: Apr 2003
Location: Florida
Distribution: Redhat 7.2
Posts: 222

Original Poster
Rep: Reputation: 30
eaxctly how to set permissions cuz when i log in with the web account to the ftp im in the right dir i just cant see anything
 
Old 05-09-2003, 11:42 PM   #6
anil
LQ Newbie
 
Registered: Feb 2002
Posts: 27

Rep: Reputation: 15
if the files are owned by the root and you want the user to own it
use this command

chown -R user:usergroup /usr/local/apache2/htdocs

where `user` is userid and `usergroup` is the group user belongs to

then all the files under htdocs and subdirectories should be owned by the user and should be visible to the user
 
Old 05-09-2003, 11:43 PM   #7
roofy
Member
 
Registered: Apr 2003
Location: Florida
Distribution: Redhat 7.2
Posts: 222

Original Poster
Rep: Reputation: 30
WOW YOU ROCK!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
user permissions cubax Linux - Security 4 12-17-2004 02:48 PM
user permissions blubbfish Linux - Security 2 04-28-2004 07:33 AM
user permissions blubbfish Linux - Newbie 1 04-27-2004 02:22 PM
User Permissions BigDDave2001 Linux - Security 4 11-17-2003 06:43 AM
user permissions newpenguin Linux - General 7 11-07-2002 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration