Find the answer to your Linux question:
Results 1 to 5 of 5
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    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

  2. #2
    Just Joined! surya.theSun's Avatar
    Join Date
    Jun 2006
    Location
    Lubbock, TX
    Posts
    26
    Did u enable modifying the content on Windows side?

  3. #3
    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

  4. $spacer_open
    $spacer_close
  5. #4
    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

  6. #5
    Just Joined!
    Join Date
    Feb 2007
    Posts
    11
    Thanks, that site was a treat and it solved my problem.

    Thanks for the help

    Chris

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •