• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

file sharing with samba - cannot copy files to shared folder

sgleo87

Member
I set up a home network using samba between my Laptop (SUSE 10.0) and desktop (WinXP). I can see the laptop in my network and view my shared folder (which is my user home directory on linux: /home/user) on it but I cannot copy any files to it or create a new folder. I get the following error message when trying to copy a word file:
"Cannot copy notes: Access is denied. Make sure that the disk is not full or write-protected and the file is not currently in use."
When trying to make a new folder from the desktop in /home/user I get this:
"Unable to create New Folder. Acces is denied."
However I can copy files from the shared folder to my desktop. I can also copy files to any other directory that has root permissions which are all the folders except the home directory. But if I copy files there I can't move, delete or modify them in Linux since I am not logged in as root all the time.
I believe this has something to do with the user permissions since only that particular user is allowed to access the user home folder. Any ideas how to resolve this problem?
 
You should be able to change the permissions on the /home folder. My default permissons on my home folder in Ubuntu is read, write, and execute for the owner and read and execute for others. If you change the permission to include write for others it should work.
 
When trying to create a folder in /home/user while logged in as that user?

And you should _never_ have to go give 'group' or 'other' write access to your home directory, hell 'other' shouldn't even have read-execute permissions.
 
Originally posted by: Robor
You should be able to change the permissions on the /home folder. My default permissons on my home folder in Ubuntu is read, write, and execute for the owner and read and execute for others. If you change the permission to include write for others it should work.

Thanks, that worked. I was looking for some command to enter in the terminal but I guess there is a much easier way, thx 😉

Originally posted by: Nothinman
When trying to create a folder in /home/user while logged in as that user?

And you should _never_ have to go give 'group' or 'other' write access to your home directory, hell 'other' shouldn't even have read-execute permissions.

When I am logged on as that user but trying to access it from my windows computer. And yes, for that you have to set it to write for others because the other computer is not seen as the home user on linux.

Thanks everyone for the help and responses.
 
When I am logged on as that user but trying to access it from my windows computer.

Then the fact that you're logged in on the console is irrelevant, it's all SAMBA at that point.

And yes, for that you have to set it to write for others because the other computer is not seen as the home user on linux.

Then something is wrong, you should be using the same credentials to access the files via SMB that you are locally.
 
Back
Top