Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-25-2007, 07:09 PM   #1
LQ Newbie
Registered: Aug 2007
Posts: 4

Rep: Reputation: 0
cannot assign write permissions to sda1

i want to assign all permissions to my windows partition (titled sda1 in ubuntu) but when i attempt to in the terminal (even as root) it says that it does not exist the command i am using is chmod a=rx sda1 i have also tried several folders and files in the partition, help please!!!
Old 08-25-2007, 07:18 PM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Windows partitions don't support Linux permissions so the chmod command won't work the way you expect it to. You need to mount the partition with the required permissions. Have a look at the man page for the mount command - in it are options such as umask, uid and gid that will allow you to set the access type for the permission.

Please search for mounting fat32 or mounting ntfs partitions - there are quite a few posts here that deal with this.
Old 08-25-2007, 11:14 PM   #3
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
unmount the windows partition and put this in your /etc/fstab:

/dev/sda1 /home/your username/windows ntfs-3g rw,exec,uid=1000,gid=1000,umask=0000 1 2

Remember to make a windows folder in your home directory first.

Reboot or use mount -a.

You may still find that you aren't getting the expected permissions, if so:
chown -R username:username /home/username/windows


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
Any way to automatically assign permissions?? andpol Linux - Newbie 2 05-14-2007 11:01 AM
No Write Permissions? Masrad Ubuntu 2 06-03-2006 03:48 PM
'write permissions einstien Linux - General 1 03-28-2005 07:47 AM
Write permissions kougar Linux - Newbie 13 06-04-2004 11:43 AM
Write permissions nuttiernu Linux - General 4 02-03-2003 08:04 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration