LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   r/w permissions when using mount with ctfs (https://www.linuxquestions.org/questions/linux-newbie-8/r-w-permissions-when-using-mount-with-ctfs-732004/)

chazubell 06-10-2009 01:55 PM

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.

Tinkster 06-10-2009 03:29 PM

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


All times are GMT -5. The time now is 02:12 AM.