LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 02-27-2009, 08:48 AM   #1
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Gentoo
Posts: 307

Rep: Reputation: 31
HDD permissions


Hi...this is the line from fstab from my disk in rack

Code:
/dev/hdd1         /media/disk-1    ext3        user,rw,exec,sync   0   0
When it is mount i can't create a file or folder .
it says that
Quote:
Access denied
Could not write blah blah...
Can you see any wrong configuration in fstab line?
 
Old 02-27-2009, 09:33 AM   #2
GazL
Senior Member
 
Registered: May 2008
Posts: 2,376

Rep: Reputation: 478Reputation: 478Reputation: 478Reputation: 478Reputation: 478
what does ls -ld /media/disk-1 give you once you have the disk mounted?

You probably just need to set the permissions appropriately for whatever users you want to have access to it.
 
Old 02-27-2009, 09:41 AM   #3
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Gentoo
Posts: 307

Original Poster
Rep: Reputation: 31
This is what it returns:

Quote:
drwxr-xr-x 3 root root 4096 2009-01-13 00:16 /media/disk-1
What i have to do ?
 
Old 02-27-2009, 03:11 PM   #4
GazL
Senior Member
 
Registered: May 2008
Posts: 2,376

Rep: Reputation: 478Reputation: 478Reputation: 478Reputation: 478Reputation: 478
That depends on which users you want to have write access to it. As it stands, you've got it set so only root can create file/directories on it.

If you just want your user to be able to write to it then all you need to do is:

Code:
chown youruserid:users /media/disk-1
You'll need to be root to use chown like this.

If you want to do anything more advanced than that then now would be a good time to read up on how to manage UNIX file permissions. You're going to need to understand it anyway if you intend to use linux for any length of time.
 
Old 02-28-2009, 05:46 AM   #5
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Gentoo
Posts: 307

Original Poster
Rep: Reputation: 31
OK thanx Problem Solved...!!!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HDD Permissions Problem txhughes Linux - General 8 07-21-2007 11:36 AM
2nd HDD and permissions madman8 Slackware 9 01-04-2006 09:23 PM
Permissions on second hdd devilsaltarboy Linux - Newbie 2 06-03-2005 09:35 AM
permissions to use my hdd jappstam12345 Mandriva 2 03-26-2005 03:30 AM
Samba + hdd permissions paidhitman Linux - Newbie 2 05-27-2004 02:53 AM


All times are GMT -5. The time now is 10:49 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration