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 06-10-2009, 02:55 PM   #1
chazubell
LQ Newbie
 
Registered: Jul 2008
Posts: 1

Rep: Reputation: 0
r/w permissions when using mount with ctfs


After executing the following command:
sudo mount -t cifs -o username=Administrator,password=******,gid=root,uid=root //10.10.0.105/docs ~/Fdrive/doc

Given that the userID and Password are correct, then when attempting to edit a file with vi, the following error message is displayed: Can't open file for writing.

What do i need to change?

thanks.
 
Old 06-10-2009, 04:29 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi, welcome to LQ!

Depends on which user you're doing this as. Why would you
want root to be the owner, rather than your own uid?



Cheers,
Tink
 
  


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
Mount permissions rubadub Fedora 2 02-11-2008 11:47 AM
Mount permissions The_Messiah Linux - Newbie 3 04-05-2005 02:21 PM
Mount permissions scouture Linux - Hardware 5 03-06-2005 02:48 PM
mount permissions one Slackware 9 08-31-2003 08:29 PM
mount permissions aqoliveira Linux - General 2 01-12-2002 10:39 AM


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