LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-16-2005, 12:23 AM   #1
betomurcia
LQ Newbie
 
Registered: Oct 2005
Location: Canada
Distribution: SuSe 10.0
Posts: 7

Rep: Reputation: 0
WOW mounting problems with permissions


Wow ok. i just installed the new SuSe 10.0 and everything is working fine.I double boot with 2 windows partions and one partion for data (so in total 4 partitions, one for suse ).

On the data partition i have a lot of music and movies that i got over the years i would like to watch/listem to them in linux.

so i went and type

mount /dev/hda1 /mnt/hda1

as root

but as a normal user i have no access to this files so i went and chmod and chown most files i use but this is greatly inconvinent and time consuming. also when i try to change the mode and owners of the files in the partition it gives me this error

chown: changing permissions of `Pure_Pwnage_108.avi': Operation not supported
chmod: changing permissions of `Pure_Pwnage_108.avi': Operation not supported


i read something in the manual about setting up users and groups when mounting but i didnt really get it :S

HELP?????
i want access to all my mounted partitions as a normal user

thanks in advance
 
Old 10-16-2005, 12:30 AM   #2
juvestar15
Member
 
Registered: Aug 2005
Location: Australia
Distribution: Debian Sid
Posts: 60

Rep: Reputation: 15
NTFS
Code:
sudo mount /dev/hda1 /mnt/hda1 -t ntfs -o nls=utf8,umask=0222
FAT
Code:
sudo mount /dev/hda1 /media/windows/ -t vfat -o iocharset=utf8,umask=000
Thanks to http://ubuntuguide.org/#mountunmountntfs. Check out that link to see how to get the partitions mounted when your system boots up.


btw: I got FPS Doug's headshot and Jeremy's "i pwn n00bs" t-shirts last week off their website. :P
 
Old 10-21-2005, 07:02 PM   #3
betomurcia
LQ Newbie
 
Registered: Oct 2005
Location: Canada
Distribution: SuSe 10.0
Posts: 7

Original Poster
Rep: Reputation: 0
now to make it permantly....

Ok that works perfectly but everytime i turn off the pc or restart it the mounted partitions are gone

i know there is a way to make it permant by changing fstab in etc/ but i dont know what to do

here is my fstab file

/dev/hda6 / ext3 acl,user_xattr 1 1
/dev/hdb2 /home ext3 defaults 1 2
/dev/hda7 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/dvdram /media/dvdram subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev
,exec,iocharset=utf8 0 0
/dev/fd0 /media/floppy subfs noauto,fs=floppyfss,procuid,nodev,nosui
d,sync 0 0
none /subdomain subdomainfs noauto 0 0

i have three partitions that are ntfs and i want to add them to the fstab file

they are located at

/dev/hda1
/dev/hda5
/dev/hdb5

Thanks in advance
 
Old 10-23-2005, 10:07 PM   #4
juvestar15
Member
 
Registered: Aug 2005
Location: Australia
Distribution: Debian Sid
Posts: 60

Rep: Reputation: 15
In fstab
Code:
/dev/hda1     /media/hda1        ntfs    nls=utf8,umask=0222 0       0
/dev/hda5     /media/hda5        ntfs    nls=utf8,umask=0222 0       0
/dev/hdb5     /media/hdb5       ntfs    nls=utf8,umask=0222 0       0
The parts in bold can be changed to whatever you like. Make sure you create the directories first. Once you've created the directories and added the above entries into fstab, as root type "mount -a".
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting Permissions canuck_barlow Linux - Newbie 11 03-16-2005 10:33 PM
Having problems mounting a drive (with appropriate permissions...) Robhogg Linux - Hardware 3 11-01-2004 03:14 PM
Mounting and Permissions ngreimel Linux - Newbie 3 08-10-2004 05:26 PM
Mounting Problems - Permissions kosh42 Linux - Newbie 3 05-22-2004 03:12 AM
Mounting Permissions ewto Linux - Newbie 2 09-30-2003 05:22 AM

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

All times are GMT -5. The time now is 06:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration