LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04-24-2011, 07:21 AM   #16
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825

You are right with the meaning of umask, but you also gave the option ro, which means that the partition is mounted read-only. So nonody can write to it.
It also is a NTFS partition. NTFS doesn't support Unix/Linux file-permissions, so the umask option is of no use here.
 
Old 04-24-2011, 07:27 AM   #17
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 877

Rep: Reputation: 184Reputation: 184
This is my fstab entry on Ubuntu 10.10. Connecting to an Ubuntu 10.04 Server. It works perfectly every time. The share it is connecting to is a guest account. Using the IP address rather than name ensures it doesn't fail due to windows name resolution taking hours to sort itself out, as it so often does. The _netdev ensures that the network interface is in an up state before a mount attempt is made - and boy does that save some headaches particularly on wireless hosts.

//192.168.1.3/file_store /home/pete/file_store cifs guest,_netdev 0 0

Hope this helps even if just for comparison.
 
Old 04-24-2011, 07:34 AM   #18
Chia L'Etranger
LQ Newbie
 
Registered: Apr 2011
Location: Australia
Distribution: Ubuntu Studio (10.10 Maverick)
Posts: 8

Original Poster
Rep: Reputation: 0
So, to clarify, get rid of the umask bit completely, and change ro to rw, because I want to be able to edit documents and save files from both OS's?
 
Old 04-24-2011, 07:42 AM   #19
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
That is the way to go.
I noticed just yet, if you want to write to that partition, change the ntfs in your fstab line to ntfs-3g. It has better support for writing on NTFS partitons.
 
Old 04-24-2011, 07:50 AM   #20
Chia L'Etranger
LQ Newbie
 
Registered: Apr 2011
Location: Australia
Distribution: Ubuntu Studio (10.10 Maverick)
Posts: 8

Original Poster
Rep: Reputation: 0
Hello,
Thank you all very much. I've sorted it out now, it's running beautifully.
Thanks so much for your help.
 
Old 04-24-2011, 07:54 AM   #21
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
If you have solved your problem, please mark your thread as solved using the thread tools.
 
  


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
Full Screen Permissions dmlx48 Linux - Software 0 03-15-2009 08:18 AM
httpd.conf losing permissions when changed by WHM derricke Linux - Server 3 10-20-2008 11:14 AM
Samba Profiles Losing Permissions Settings (Java App) djturner Linux - Networking 0 10-07-2005 01:06 PM
losing permissions on /home folder johnnymo Linux - Software 1 01-25-2005 10:59 PM
How do I change permissions for a full Stevetgn Linux - Newbie 3 05-15-2004 03:15 PM


All times are GMT -5. The time now is 09:39 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