LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 12: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, 01: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, 02: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, 02: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, 09: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, 10: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, 10: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



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 01:48 PM
user permissions blubbfish Linux - Security 2 04-28-2004 06:33 AM
user permissions blubbfish Linux - Newbie 1 04-27-2004 01:22 PM
User Permissions BigDDave2001 Linux - Security 4 11-17-2003 05:43 AM
user permissions newpenguin Linux - General 7 11-07-2002 01:39 PM

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

All times are GMT -5. The time now is 01:25 PM.

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
Open Source Consulting | Domain Registration