Latest LQ Deal: Linux Power User Bundle
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 06-10-2009, 02:55 PM   #1
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 // ~/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?

Old 06-10-2009, 04:29 PM   #2
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?



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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:17 PM.

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