LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 10-03-2004, 12:27 PM   #1
mouse46
Member
 
Registered: Mar 2004
Location: London
Distribution: Kubuntu, Debian
Posts: 87

Rep: Reputation: 15
partition parmissions


Hello,

I have created a partition called /orange that resides on a single hard drive called sdb1. My problem is that I would like use this to store videos and music using my user permissions, not root. But each time I try to gain access to it it says I do not have the permissions to enter the folder. I would like read/write permissions as limewire could also use it too.

I know I got to do a chmod, but I dont know the number.

Thanks
 
Old 10-03-2004, 12:42 PM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
chmod 770 ...... will give users rwx-perms.

egag
 
Old 10-03-2004, 12:48 PM   #3
mouse46
Member
 
Registered: Mar 2004
Location: London
Distribution: Kubuntu, Debian
Posts: 87

Original Poster
Rep: Reputation: 15
I typed su - and password and then typed

chmod 770 /orange

and then tried to open the folder and still nothing...still getting cannot open folder blah blah

something to do with chown??
 
Old 10-03-2004, 12:50 PM   #4
mouse46
Member
 
Registered: Mar 2004
Location: London
Distribution: Kubuntu, Debian
Posts: 87

Original Poster
Rep: Reputation: 15
ah okay, can someone double check this..

I did chown root.yellowmonkey /orange

and now everything works. Is that right?

edit: crap all the folders in /orange still belong to root

Last edited by mouse46; 10-03-2004 at 12:51 PM.
 
Old 10-03-2004, 12:58 PM   #5
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
chmod -R ....... ( see "man chmod")

edit: sh*t :i mean "chown ..."

egag

Last edited by egag; 10-03-2004 at 01:00 PM.
 
Old 10-03-2004, 01:22 PM   #6
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
you'll want to do this:
Code:
# chown -R root.yellowmonkey /path/to/orange
 
Old 10-03-2004, 02:44 PM   #7
mouse46
Member
 
Registered: Mar 2004
Location: London
Distribution: Kubuntu, Debian
Posts: 87

Original Poster
Rep: Reputation: 15
okay, so the "-R" changes permissions for all file/folders under /orange..excellent work lads!

Help is really appreicated

edit: Love the website...and your mugshot

Last edited by mouse46; 10-03-2004 at 02:49 PM.
 
  


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
Copy files from partition to partition too slow, SATA hard disk.What should I do£¿ Ryanlee SUSE / openSUSE 20 10-31-2005 07:30 AM
Deleted ntfs partition - added linux partition in its place - corrupt! eklhad Linux From Scratch 2 06-28-2005 01:31 AM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 12:55 PM
How do I install slackware on a partition made by partition magic in windows bling bling Slackware 4 06-28-2003 11:16 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 08:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:02 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
Open Source Consulting | Domain Registration