LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-31-2007, 01:01 PM   #1
EYEdROP
Member
 
Registered: Mar 2007
Location: Prescott, AZ
Distribution: Fedora 23 Workstation XFCE
Posts: 92

Rep: Reputation: 15
Need access to secondary hard disk:


Alrighty, Im a newbie here, so bare with me...

I just reformatted my 250 GB SATA hard drive, and its ext3. I succesfully mounted it and I thought I was ready to start saving things on it. I tried to save a torrent download, but I get this:

Cannot create /home2/In Flames/1994 Lunar Strain/01 - Behind Space.mp3: No such file or directory

Also, when I try to open lost+found, I get this:

Could not enter folder /home2/lost+found.

How can I start saving stuff? Thanks guys.
 
Old 03-31-2007, 01:36 PM   #2
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 33
did you set the permissions of that mount-point ?
 
Old 03-31-2007, 02:33 PM   #3
EYEdROP
Member
 
Registered: Mar 2007
Location: Prescott, AZ
Distribution: Fedora 23 Workstation XFCE
Posts: 92

Original Poster
Rep: Reputation: 15
No I didnt. How do I do so? The permissions say drwxr-xr-x. Owner is root.
 
Old 03-31-2007, 09:02 PM   #4
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 33
aha !

so as you've created that mountpoint as root, I guess /home2/ looks like this:

Code:
drwxr-xr-x root root home2
normal users are member of the users group, so in this case they don't have write access to that folder (users are not members of the root group and 'others' only get r-x here).

so you could do sth like this:

Code:
mount /dev/'whatever fits for your case' /home2/
chown root.users /home2/
chmod 775 /home2/
by this you grant every member of the users group rwx permissions on that folder.
if you'd like to restrict file deletion to the owner of a file you can set the +t flag like on the /tmp/ folder with:

Code:
chmod +t /home2/
hope it works

Last edited by rtspitz; 03-31-2007 at 09:03 PM.
 
Old 04-01-2007, 01:00 AM   #5
EYEdROP
Member
 
Registered: Mar 2007
Location: Prescott, AZ
Distribution: Fedora 23 Workstation XFCE
Posts: 92

Original Poster
Rep: Reputation: 15
Freakin sweet. Thanks alot man.

I love Linux...
 
  


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
NTFS Secondary Hard disk Rayning Slackware 13 11-08-2006 10:24 AM
upgrading or booting from secondary hard disk trysten_x Linux - General 3 08-29-2005 10:12 PM
My secondary slaved hard disk crashed. How do I get Fedora Core 1 back. Bjorkli Linux - Hardware 4 08-09-2004 11:04 AM
linux can't see my hard disk on secondary master csvke Linux - Hardware 6 03-19-2004 06:29 PM
URGENT!!! adding ide(hdb-secondary hard-disk) to redhat 7.1 gigya Linux - Software 3 05-02-2002 04:03 AM

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

All times are GMT -5. The time now is 12:20 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