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? |
Could somebody just tell me what chmod command I could use just so I could view and execute programs in wine?
Thanks |
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 |
If you want other users to have access to your windows partition, add umask=0222 to the entry in fstab for your windows drive.
|
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. |
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. |
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 |
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.
|
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
|
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. |