Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
The 0222 umask allows the owner of the files write permissions, and everyone else can only read and execute.
Look inside /windows with ls -l. If the files are owned by you, you should be able to write for them.
There are plenty of guides on Linux/Unix file permissions you can Google for to help.
The other problem is that you're using the ntfs driver, which is only half-working right now. IIRC, you can read files and now just recently modify them, but you cannot delete files or make new ones.
Use the ntfs-3g driver instead (-t ntfs-3g). Your distro might not have it already, in which case you'll need to install it.
Since NTFS does not support *nix style permissions and ownership, they must be simulated with mount options. umask is the invert of the permissions you want, or more accurately, the amount that will be subtracted from permissions of 7. So if you want 775 permissions, for example, your umask will be 002.
The options uid and gid will specify the owner and group the files on the drive will be seen as having.
Also, '-r' is the read-only flag. You need to use '-w' or, as most people seem to prefer, add 'rw' to the options string. But be sure to switch to ntfs-3g first, or you'll probably destroy your partition!
Read the man pages of mount and ntfs-3g for more options.
install ntfs-3g , u will be able to read ,write anything u want to windows partition , thats talk talk lot about windows insecurity hihi!!
It has nothing to do with Windows security, much as I love dissing Windows. I can grab my friend's (unencrypted) hard drive, which has Linux partitions, plug it into my PC, and write to his partitions. I could even do it from Windows to some Linux partitions, but this is more a compatibility issue, nothing to do with Windows security.