LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 07-16-2006, 12:04 PM   #1
mihalisla
Member
 
Registered: Jun 2006
Location: greece
Distribution: ubuntu 6.06 amd64
Posts: 132

Rep: Reputation: 15
Problem writing to windows partitions


Hello to all of you!
I have this problem :I can't write to my ntfs windows system and when I try to change permissions through rclick-permissions and it says that can't change permissions so:
1.how can i write permissions
2.in e.g chown 775 what does these number means

Thank you for reading this message
 
Old 07-16-2006, 12:59 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Linux in general does not work well with NTFS. Some kernels have support, but the "chatter" here tells me not to trust it.
Better to set up a data partition---FAT32--for shring data between Windows and Linux.

You cannot set permissions on NTFS using Linux commands (AFAIK)

chmod XXX filename: the Xs are the decimal values of the bit patterns for owner, group, and other.
All bits true = 7, read bit = 4, read + write = 6, read + execute = 5, etc.
 
Old 07-16-2006, 01:00 PM   #3
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,289

Rep: Reputation: 52
Hi, writing to ntfs partitions in linux is under heavy development, hopefully we will have good write support within a year, until then it's read only by default. There are tools to do it with, have a look here: http://www.linux-ntfs.org/
 
Old 07-16-2006, 01:04 PM   #4
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
You do NOT want to write to a NTFS partition in Linux. You CAN do it, but it's buggy and it will eventually mess up your partition. Windows hates it too. I would suggest that you shrink the NTFS partition and create a FAT32 partition if you want both Windows and Linux to be able to read/write it. You can do this with gparted, qtparted, cfdisk, or parted/fdisk(if you are feeling adventurous). Gparted even has a live CD that you can download, burn to CD and reboot into to change the partition table.

chown doesn't have the 775 numbers, but chmod does. The number stand for the three different types of people / groups that can access that data. The three are: User (this is the account of the person who created / downloaded the file if the owner hasn't been changed), Group (the people in a group - such as users - that may access the data), and Other (everyone that isn't the owner or in the owner's group).

When you specify permissions as numbers (ex. 775) You are using a system in which read access, write access, and execute access are weighted differently. Read is given a value of 4, write a value of 2 and execute a value of 1. These numbers are added together to give you a number between 1 and 7, and (you guessed it) the sequence of three numbers relates to the User, Group and Other we spoke about earlier. So, the 775 from earlier can be broken down like this:

U = 7 = 4+2+1 = rxw (or read, write, execute)
G = 7 = 4+2+1 = rwx (or read, write, execute)
O = 5 = 4+1 = rw (or read, execute)

A better explanation of this can be found here: http://seanic.net/support/permission.htm (the part at the bottom is what you want)
 
Old 07-16-2006, 01:04 PM   #5
Theorist
Member
 
Registered: Jun 2006
Distribution: FC5, FC3, RHEL 3, Debian 3.1, Debian 3.0
Posts: 56

Rep: Reputation: 15
Hi mihalisla,
You can look here, as this was discussed earlier : -

http://www.linuxquestions.org/questi...86#post2334286

With Regards,
Theorist
 
Old 07-16-2006, 01:04 PM   #6
mihalisla
Member
 
Registered: Jun 2006
Location: greece
Distribution: ubuntu 6.06 amd64
Posts: 132

Original Poster
Rep: Reputation: 15
thank you for your replyies very much
 
Old 07-16-2006, 02:25 PM   #7
mihalisla
Member
 
Registered: Jun 2006
Location: greece
Distribution: ubuntu 6.06 amd64
Posts: 132

Original Poster
Rep: Reputation: 15
thank you you were very helpfull...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Writing to windows partitions, Suse 9.2 badbunny Linux - Newbie 8 08-06-2005 08:36 PM
Writing permission for windows and linux partitions jaakkop Slackware 3 07-25-2005 07:14 AM
Question about writing to windows partitions ludwig W Linux - Newbie 5 04-20-2005 04:25 AM
Accessing and writing to Windows partitions Delmarc Linux - Newbie 3 02-14-2004 11:39 AM
reading and writing to Linux partitions from windows Moebius Linux - General 2 01-21-2004 05:57 PM


All times are GMT -5. The time now is 09:46 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration