LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   partition parmissions (https://www.linuxquestions.org/questions/linux-newbie-8/partition-parmissions-238260/)

mouse46 10-03-2004 12:27 PM

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

egag 10-03-2004 12:42 PM

chmod 770 ...... will give users rwx-perms.

egag

mouse46 10-03-2004 12:48 PM

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??

mouse46 10-03-2004 12:50 PM

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 :(

egag 10-03-2004 12:58 PM

chmod -R ....... ( see "man chmod")

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

egag

scuzzman 10-03-2004 01:22 PM

you'll want to do this:
Code:

# chown -R root.yellowmonkey /path/to/orange

mouse46 10-03-2004 02:44 PM

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 :)


All times are GMT -5. The time now is 04:02 AM.