Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-05-2002, 03:32 PM   #1
Registered: Jun 2002
Location: Sweden
Distribution: slack, redhat
Posts: 91

Rep: Reputation: 15
Cool permissions on read only filesystem

i've installed wine, and i've set up the program to use the files on my windows disc. when compiling the kernel i chose the windows disc to be a read-only filesystem. my problem is that only root have permissions to read/write, forcing me to run wine as root.
since the disc is a read only filesystem, i can't change the permissions of the directory. does anyone know any way to get around this problem?
Old 06-06-2002, 03:22 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
while compiling a kernel you set your windows partition to be read only....? I presume you're talking about NTFS? in which case, good. you can set the read rights on a windows drive in /etc/fstab

/dev/hda1 /mnt/win ntfs defaults,umask=022

022 will make it readable by everyone
Old 06-06-2002, 07:37 AM   #3
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
if ntfs, writing with linux = bad idea
Old 06-07-2002, 03:51 PM   #4
Registered: Jun 2002
Location: Sweden
Distribution: slack, redhat
Posts: 91

Original Poster
Rep: Reputation: 15 fine. just wondering. what does "defaults"? what do i set to default?
umask=022..what does this really do? how does it change the permissions? or is it "defaults" that change the permissions?
stupid newbie, you know
Old 06-08-2002, 12:36 AM   #5
LQ Addict
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
' default ' stands for these options: rw, suid, dev, exec, auto, nouser, and async. So, if we expand ' defaults ', your line looks like this:

/dev/hda1 /mnt/win ntfs rw,suid,dev,exec,auto,nouser,async,umask=022 0 0

Check the man pages for mount and fstab.

Last edited by linuxcool; 06-08-2002 at 12:37 AM.


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
read-only filesystem karunesh Linux - General 1 09-30-2005 10:04 AM
read only filesystem lardino Linux - Newbie 17 08-11-2004 06:22 AM
read-only filesystem the_gorf Red Hat 1 06-29-2004 11:27 PM
Read-only filesystem neillans Linux - General 2 06-11-2004 01:27 PM
how do I change the filesystem from read-only to read-write? les_chow Linux - Newbie 5 05-26-2004 03:14 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration