LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-14-2007, 03:03 PM   #1
Negatifo
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Rep: Reputation: 0
Mount partition permition


Hi !
I don't have permition on my ext2 partition from my regular user. what should i do?
Here is my fstab
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

tmpfs	/dev/shm	tmpfs	defaults	0	0
devpts	/dev/pts	devpts	gid=5,mode=620	0	0
sysfs	/sys	sysfs	defaults	0	0
proc	/proc	proc	defaults	0	0
#Entry for /dev/sda6 :
LABEL=root	/	ext3	defaults	1	1
/dev/sda5	/media/RESTO	ntfs-3g	defaults,locale=en_US.UTF-8	0	0
/dev/sda1	/media/sda1	ntfs-3g	defaults,locale=en_US.UTF-8	0	0
/dev/sda8	/mnt/Backup	ext2	user,dev,exec	0	0
/dev/sda7	swap	swap	defaults	0	0
Thanks!
Negatifo
 
Old 09-14-2007, 03:25 PM   #2
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Quote:
Originally Posted by Negatifo View Post
Hi !
I don't have permition on my ext2 partition from my regular user. what should i do?
Here is my fstab
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

tmpfs	/dev/shm	tmpfs	defaults	0	0
devpts	/dev/pts	devpts	gid=5,mode=620	0	0
sysfs	/sys	sysfs	defaults	0	0
proc	/proc	proc	defaults	0	0
#Entry for /dev/sda6 :
LABEL=root	/	ext3	defaults	1	1
/dev/sda5	/media/RESTO	ntfs-3g	defaults,locale=en_US.UTF-8	0	0
/dev/sda1	/media/sda1	ntfs-3g	defaults,locale=en_US.UTF-8	0	0
/dev/sda8	/mnt/Backup	ext2	user,dev,exec	0	0
/dev/sda7	swap	swap	defaults	0	0
Thanks!
Negatifo
add rw into the line
 
Old 09-14-2007, 03:27 PM   #3
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
Once the partition has been mounted, just change the owner, group or other permissions on the mountpoint the same as any other ext2 directory.

e.g.

Code:
chown Negatifo /mnt/Backup
or if Negatifo is a member or the 'users' group

Code:
chgrp users /mnt/Backup
chmod g+rwx /mnt/Backup
 
Old 09-14-2007, 03:30 PM   #4
Negatifo
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Dudydoo View Post
Once the partition has been mounted, just change the owner, group or other permissions on the mountpoint the same as any other ext2 directory.

e.g.

Code:
chown Negatifo /mnt/Backup
or if Negatifo is a member or the 'users' group

Code:
chgrp users /mnt/Backup
chmod g+rwx /mnt/Backup
Thank you very much now its working perfect
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot mount a partition. Please help! rushy2uk Linux - Hardware 9 08-16-2006 02:36 AM
installed FC 3 on another partition but can not mount that partition. MurX Fedora 15 02-01-2006 05:28 AM
How to resize a partition and create/mount a new partition? Maarten_Holland Linux - Newbie 1 04-20-2005 08:56 AM
permition problem with mounted fs ivan.tg Slackware 2 02-02-2004 02:28 PM
raw socket permition moonloader Linux - Networking 2 12-08-2003 09:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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