LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-14-2004, 09:28 PM   #1
cereal83
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 479

Rep: Reputation: 30
How do I change permissions for my windows partition?


Hey there.

I am trying to get wine to work but it only works as root because I can't change the permissions. I try to and it says it can't change folder permissions. Can anybody help?
 
Old 07-14-2004, 09:57 PM   #2
cereal83
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 479

Original Poster
Rep: Reputation: 30
Could somebody just tell me what chmod command I could use just so I could view and execute programs in wine?

Thanks
 
Old 07-14-2004, 10:43 PM   #3
Darkangel90
Member
 
Registered: May 2002
Distribution: SUSE 9.2 Pro
Posts: 98

Rep: Reputation: 15
Im not to sure if you want to do such a thing, i dont know how that will effect your partition,
but i know how to set permissions and ownership...

chmod - is to change permissions, 4 is read, 2 write, 1 execute.

so, there are three parts to it, chmod owner, group, everyone i think

so if you want to give full ownership to everyone you add the numbers...

so chmod 777 filename

its kind of werid, but simple to figure out and remember, do a google serach
and you'll find a better example.

You can also change ownership, chown filename, but once again i dont know
if you want to do this to a windows partition
 
Old 07-14-2004, 10:53 PM   #4
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
If you want other users to have access to your windows partition, add umask=0222 to the entry in fstab for your windows drive.
 
Old 07-14-2004, 11:46 PM   #5
cereal83
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 479

Original Poster
Rep: Reputation: 30
Well I am the only user and I want to be able to run certain programs on windows from linux using wine. So far the only permissions on my "C" drive (windows partition) is that root can view and modify. I don't use linux as root. I use "SU" as a normal user I want to be able to view and be able to run programs using wine. I try to change the permission using the GUI screen but it says I can't.


Thanks for the help with chmod. I do know a little bit but I should know more. I don't understand numbers yet but I do know the xrw which is execute, read and write. I will look up the numbers on google right now.
 
Old 07-15-2004, 12:27 AM   #6
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
blk96gt has it right. umask in fstab will solve your problems. Here's an entry from my /etc/fstab

Code:
/dev/hda1       /fat-c          vfat            auto,rw,umask=000       1   0

Try that out.
 
Old 07-15-2004, 01:48 AM   #7
cereal83
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 479

Original Poster
Rep: Reputation: 30
Ok I will do that first thing in the morning. I did go into that file and I saw the listing for the c drive so I will tyr it out tomorrow and let you know how it worked out.

Thanks
 
Old 07-15-2004, 07:40 AM   #8
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
Do you have a vfat or ntfs partition? If you have a NTFS partition it is not recommended to write to it though. The kernel module for it is considered experimental and dangerous if I recall correctly.
 
Old 07-15-2004, 11:12 AM   #9
cereal83
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 479

Original Poster
Rep: Reputation: 30
Yeah it's a NTFS partition and I don't really want to put write to it, I just want to be abkle to browse and use programs with wine as a normal user
 
Old 07-15-2004, 02:06 PM   #10
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
Since you have NTFS it's probably a good idea to set umask=222, since that will give you read and execute, but not write. That way you will be more on the safe side.
 
  


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
Can't change permissions of Windows partition Dimension User Fedora 5 06-05-2005 02:17 PM
How do I change my windows partition permissions. chmod won't work. brandonloserkid Slackware 2 12-03-2004 05:39 PM
Can't change permissions for mounted windows partition shara Linux - Newbie 6 03-24-2004 06:31 PM
Windows partition - cannot change permissions elitecodex Linux - Newbie 1 02-02-2004 05:55 PM
cant change permissions on a mounted windows partition groovin Linux - Newbie 10 11-02-2002 07:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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