SUSE / openSUSE This Forum is for the discussion of Suse Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-09-2005, 04:57 PM
|
#1
|
Member
Registered: Oct 2004
Location: New Jersey
Distribution: SuSE 10.0
Posts: 69
Rep:
|
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)
|
|
|
01-09-2005, 05:52 PM
|
#2
|
Senior Member
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040
Rep:
|
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!
|
|
|
01-10-2005, 01:33 AM
|
#3
|
Member
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835
Rep:
|
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)
|
|
|
01-10-2005, 07:20 AM
|
#4
|
LQ Newbie
Registered: Jan 2004
Location: Canada
Distribution: Slackware 9.1
Posts: 2
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 04:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|