Samba Server Configuration Tool 1.2.63

Asked by Carlos Garcia

Hi,

I'm using Ubuntu 12.04 in one machine
I have installed Samba Server Configuration Tool 1.2.63
I have added a Samba share
I have added two users, root and the other user is my ubuntu user account
This Samba share is writable and visible
I can see Samba Share in my desktop with a lock icon

When I log in to any of my PCs with windows 7 I can see my Ubuntu Samba Share folder and copy files to it

But

When I log in to Ubuntu machine I can't copy files to the Samba share, I can't even drag files to it

How can I copy files to the Samba Share folder I have created in my Ubuntu machine

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu system-config-samba Edit question
Assignee:
No assignee Edit question
Solved by:
Carlos Garcia
Solved:
Last query:
Last reply:
Revision history for this message
Wyatt Smith (wyatt-smith) said :
#1

I suspect that this is permission issue. Please check the ownership and permissions. It looks like the shared folder may be owned by root, hence the lock icon.

The folder may be writable by the remote windows machine due to samba sharing. On the local machine, linux permissions will apply rather than the samba permissions.

The following commands will be helpful
ls -l
chown
chmod

See Community Document regarding Permissions
https://help.ubuntu.com/community/FilePermissions

Revision history for this message
Carlos Garcia (carlosgarciaie) said :
#2

Thanks so much for the help

I'm really new to Linux and I didn't know this things. The link explains everything very well with samples

I can change the permissions for files and directories I have created myself

But for Samba Share folder with the lock icon (created on my desktop after I installed Samba tool)

If I change to Desktop directory from the terminal I can see Samba Share in my Desktop

Type Ls

xps8300@ubuntu:~/Desktop$ ls
files1 Samba Share Tools
xps8300@ubuntu:~/Desktop$

Type ls -l

xps8300@ubuntu:~/Desktop$ ls -l
total 2
-rwx-w-r-- 1 xps8300 xps8300 0 May 6 10:14 files1
drwxr-xr-x 3 root root 1024 May 6 10:42 Samba Share
drwxrwxr-x 4 xps8300 xps8300 1024 May 6 10:25 Tools

Type cd Samba Share

-----------bash: cd: Samba: No such file or directory

I can view Samba Share from the terminal but I can't go to it

The only way I found to copy files to Samba Share is typing this command

------------- gksu nautilus
Then I can go from the UI and copy files to Samb Share

I'm missing something here. What is it?

Thanks so much

Revision history for this message
Wyatt Smith (wyatt-smith) said :
#3

I think you are running into problems because of the space in the folder name. You will have to use quotes to specify that name.

To take ownership
sudo chown -R $USER:$USER ~/Desktop/"Samba Share"

To change permissions to give everyone access
sudo chmod -R 777 ~/Desktop/"Samba Share"

Revision history for this message
Carlos Garcia (carlosgarciaie) said :
#4

Thanks so much for your response

I took ownership of Samba Share and I changed the permissions

Now I can copy files to Samba Share. I'm learning :)

Regarding space in the folder I would like to get some advice from you

I'm running Ubuntu dual boot with windows 7

For the installation I used windows installer and with 30gb for Hard disk space

I have left 18 gb at the moment. I only use Windows 7 for DVDFab which doesn't run on Wines

Here is my question

Is there any difference between having Ubuntu installed with windows installer like I have it at the moment or installing Ubuntu dual boot but to a different partition with 1 TB?

I was only trying Ubuntu but because I like it I was thinking installing it again but to a different partition I have with 1 TB

Will Ubuntu run better like that or it is the same?

Thanks

Regards

Revision history for this message
Wyatt Smith (wyatt-smith) said :
#5

In regards to your new question, it is better protocol to mark the original question as solved and open a new question. This is better for people searching launchpad database to find answers. With that being said...

It is better to install as dual boot on its own partition rather that wubi. Reason for this is that if you windows get severely corrupted it can ruin your ubuntu as well since it depends on the windows and its partition. Wubi is good for new linux users who don't know much about partitioning as it allows them to get familiar with the OS without partition modifications.

I have never done a wubi install so I cannot speak the performance difference. I began as dual boot and would use windows for those few applications I needed under windows. Over time, you will find linux replacement programs that work as well as the windows equivalents. For example, most users of DVDFab have switch to a linux program called DVD::Rip.

Linux is a whole new world, and I think you will enjoy learning it. :)

Wyatt

Revision history for this message
Carlos Garcia (carlosgarciaie) said :
#6

Thanks so much Wyatt for your help

I will follow your advice and I will install Ubuntu in a new partition. I was just waiting for somebody to tell me DO IT :) to do it

I love Ubuntu and there is a very good community here

Sorry for the new question in the original question, it make sense what you are saying

Thanks

Cheers