Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Ubuntu Help
Reload this Page Writing to a windows folder via Samba from Kubuntu problem
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Ubuntu Help Discussion and help about Ubuntu, Kubuntu, Xubuntu, and all the Ubuntu family

Reply
 
Thread Tools Display Modes
Old 03-04-2007   #1 (permalink)
clyle
Just Joined!
 
Join Date: Feb 2007
Posts: 11
Writing to a windows folder via Samba from Kubuntu problem

Hello folks,
I have set up a samba folder on my Kubutu desktop using this command

sudo mount -t smbfs -o username=MY_USERNAME/NETWORK_SSID,password=SECRET //WINDOWS_BOX_NAME/300GB-zorro /home/chris/Desktop/300GB

(The capital letters are just for ID purposes). but the user name, ssid and password are the same as my windows login info

I can access the files on my Windows box via the mount folder on my Kubuntu desktop but I cant write files to them unless I use the sudo cp command as the mount drive is owned by root and grouped as root.

I have changed group permissions on the mount so I can rwx but I cant.

I have tried to chmod and chown the mount 300GB so I am the owner but i get this message,

(chris is the owner that I am trying to change the file to)

chris@r3000l:~/Desktop$ sudo chown chris 300GB
Password:
chown: changing ownership of `300GB': Operation not permitted
chris@r3000l:~/Desktop$

chris@r3000l:~/Desktop$ sudo chown chris:chris /home/chris/Desktop/300GB
chown: changing ownership of `/home/chris/Desktop/300GB': Operation not permitted

Can someone please help, this is my last day of work and it has been driving me mad for 2 days
clyle is offline   Reply With Quote
Old 03-06-2007   #2 (permalink)
surya.theSun
Just Joined!
 
surya.theSun's Avatar
 
Join Date: Jun 2006
Location: Lubbock, TX
Posts: 26
Did u enable modifying the content on Windows side?
surya.theSun is offline   Reply With Quote
Old 03-06-2007   #3 (permalink)
clyle
Just Joined!
 
Join Date: Feb 2007
Posts: 11
Yes, it works when i access via another windows box but just cant seam to make it work on Kubuntu.

Does the command look OK as I am a newbie and all this is strange to me so far
Chris
clyle is offline   Reply With Quote
Old 03-07-2007   #4 (permalink)
surya.theSun
Just Joined!
 
surya.theSun's Avatar
 
Join Date: Jun 2006
Location: Lubbock, TX
Posts: 26
You will have to mount it as normal user, not root
See this: http://www.justlinux.com/nhf/Filesys...rmanently.html
surya.theSun is offline   Reply With Quote
Old 03-08-2007   #5 (permalink)
clyle
Just Joined!
 
Join Date: Feb 2007
Posts: 11
Thanks, that site was a treat and it solved my problem.

Thanks for the help

Chris
clyle is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 09:34 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0