LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How do I change permissions for my windows partition? (https://www.linuxquestions.org/questions/slackware-14/how-do-i-change-permissions-for-my-windows-partition-205176/)

cereal83 07-14-2004 09:28 PM

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?

cereal83 07-14-2004 09:57 PM

Could somebody just tell me what chmod command I could use just so I could view and execute programs in wine?

Thanks

Darkangel90 07-14-2004 10:43 PM

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

blk96gt 07-14-2004 10:53 PM

If you want other users to have access to your windows partition, add umask=0222 to the entry in fstab for your windows drive.

cereal83 07-14-2004 11:46 PM

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.

shilo 07-15-2004 12:27 AM

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.

cereal83 07-15-2004 01:48 AM

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

blk96gt 07-15-2004 07:40 AM

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.

cereal83 07-15-2004 11:12 AM

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

blk96gt 07-15-2004 02:06 PM

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.


All times are GMT -5. The time now is 06:21 AM.