LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-05-2002, 03:32 PM   #1
niehls
Member
 
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
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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
Noerr
Member
 
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
niehls
Member
 
Registered: Jun 2002
Location: Sweden
Distribution: slack, redhat
Posts: 91

Original Poster
Rep: Reputation: 15
thanks...works 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
linuxcool
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.
 
  


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 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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