LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-22-2004, 09:45 PM   #1
CrotchCricket
LQ Newbie
 
Registered: Oct 2004
Location: Los Angeles, CA
Distribution: Fedora Core
Posts: 12

Rep: Reputation: 0
Chaning Permissions from console


hi does anybody know the command to change folder permissions in console so that i can give not root users access to folders. btw i am using fedora core 3 test 2
 
Old 11-22-2004, 09:51 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,825

Rep: Reputation: 221Reputation: 221Reputation: 221
chmod to change access permissions
chown to change owners and group
 
Old 11-22-2004, 10:07 PM   #3
CrotchCricket
LQ Newbie
 
Registered: Oct 2004
Location: Los Angeles, CA
Distribution: Fedora Core
Posts: 12

Original Poster
Rep: Reputation: 0
ok im still having a bit of trouble.
what i want to do is change the permissions in the folder /home/mike/orders
so that i can write to the file orders.txt in the /home/mike/orders folder using apache.
 
Old 11-22-2004, 10:21 PM   #4
slyman
Member
 
Registered: Jun 2004
Location: Sydney, Australia
Distribution: FC3, Linux From Scratch, Knoppix
Posts: 99

Rep: Reputation: 15
Probably the easiest way to do this is to make apache a member of the group that has access to /home/mike/orders and /home/mike/orders/orders.txt and make give that group write access.

It may be more secure to create a new group and user, both called, say, orders and make /home/mike/orders and /home/mike/orders owned by ordersrders. Then make the users apache and mike members of the group and give them write access.

Anyway, first off what does the following return?

Code:
ls -l /home/mike/orders
 
Old 11-22-2004, 10:26 PM   #5
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,825

Rep: Reputation: 221Reputation: 221Reputation: 221
Read the Man pages for chmod
In Konsole enter

man chmod

Or if you use KDE you can open the KDE help center (the life presever icon) and open the UNIX man pages.

For example: If you want to allow all users to write to it then

chmod a+w /home/mike/orders

Read the man page carefully, it tells you how it's done.
 
  


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
chaning default directory in wu-ftpd PeaceTank Linux - Software 0 12-10-2004 05:23 PM
Chaning Screen Resolution kaplan71 Slackware 6 08-26-2004 06:04 PM
Hostname Chaning InSane103 Linux - Networking 2 08-18-2004 11:13 PM
chaning linux scheduler() dumb82 Linux - General 0 07-23-2004 12:50 AM
chaning colors RaheimSG Linux - Newbie 3 09-18-2002 07:10 AM


All times are GMT -5. The time now is 10:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration