LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-09-2005, 04:57 PM   #1
Rªdical_£D
Member
 
Registered: Oct 2004
Location: New Jersey
Distribution: SuSE 10.0
Posts: 69

Rep: Reputation: 15
Hard drive permissions


I just mounted my Windows hard drives into new directories I named /windows/C and /windows/F, C and F representing their drive names. However, I can't access them unless I logon as root or access it through the console as root. I tried to change the permissions as root but it wouldn't let me. Also, I wasn't able to modify or move the files in the hard drive. Can someone help me?

Also, since I'm here, how do you enable the second track and subtitles for .ogm and .mkv files on MPlayer, specifically this one which has a GUI and is designed specifically for Suse.

packman.links2linux.org/index.php4?action=128&vn=2

(They wouldn't let me put in a url so this will have to do)
 
Old 01-09-2005, 05:52 PM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
The best way to mount them is using the fstab file, which is located in /etc folder.

You should have a line like this:

/dev/hda1 /mnt/windowsC ntfs umask=0022 0 0

This line representing, the primary harddrive hda and it's first partition 1 be mounted on /mnt/windowsC. Stating that the partition is ntfs (or vfat if it is FAT). The umask flags tell it that it wants the mounted partition to have 755 rights, which means, that root can rw and others can read the contents but not change them. Not that the umask values are in octal writing, which means, you have to think of it like 0777-0022=0755. So this gives you the idea if you want all users to be able to write to it, you would put it to 0000 making it 777 rights.

Also you can use this flags, if you are mounting it as root from the command line. Se the man mount pages.

Good luck!
 
Old 01-10-2005, 01:33 AM   #3
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
Don't try to modify anything in an NTFS partition from Linux. Microsoft has not released the specifications, so any change made by Linux is only a guess. It's been a while since I've heard people messing up their Windows partitions like this, but neither have I heard that it is suddenly safe.

marghorp:
If it's not too much to ask, what is the formula to transfer permissions values into (so-called) octal. Do you just subtract each digit from 7 or some such nonsense? (and tack an extra 0 on the front)
 
Old 01-10-2005, 07:20 AM   #4
metavore
LQ Newbie
 
Registered: Jan 2004
Location: Canada
Distribution: Slackware 9.1
Posts: 2

Rep: Reputation: 0
OGM/MKV tracks

e.g. mplayer -aid 1 -sid 0 ... for the second audio track, the first subtitle track of file. (the tracks are listed in the output from mplayer when it's run in a terminal.) i've no idea how to switch tracks in the GUI player, though.
 
  


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
Hard Drive Permissions djljjm Linux - Newbie 2 04-22-2005 02:00 PM
Hard Drive Permissions djljjm Linux - Newbie 3 04-18-2005 03:35 PM
Hard Drive Permissions djljjm Linux - Newbie 1 04-18-2005 11:29 AM
Permissions for second hard drive digi691 Linux - Newbie 29 09-03-2004 10:33 AM
hard-drive permissions Airburned Linux - General 4 07-13-2003 12:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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