Ubuntu Networking :: Can't Share (samba) From NTFS Drive?
Sep 15, 2010
I managed to install samba and it's GUI. I tried to share a directory within the pictures folder (at home/mark/pictures/share) just as a test. I had everything set up right, but it was inaccessible from a windows XP machine on my network. After some digging I found the problem lay with the permissions of it's parent folder. I right clicked on the parent folder then clicked properties, then clicked on the permissions tab. I changed the permissions for others and it's working fine.
I'm having the same problem now but with a share on a NTFS drive called storage. I cannot change the permissions for the shared folder or any of it's parents by right clicking. Any changes I make revert immediately back to their previous setting. Is there any way to change the permissions to allow read access to everyone?
The file permissions on the folder are RW for user,group and world.(umask=0000) My main problem is with SELinux, I've tried to audit2allow and that seemed to work, all I had to do then was chcon the directory and files to type samba_share_t but the tool fails with Operation Not Supported. Am I to assume you simply cannot share files from a mounted ntfs drive under SELinux? Because I've just spent 2 hours trying and I've just about ready to just give up and just go back to windows when I need to share those folders. There's no way i can copy the folder contents to my Linux partition, far too big for that. Has anyone EVER been able to do this? Do I have to disable SELinux to do it?
I have this samba share for ghosting images to (backing up computers at work) and I can read the ghost images just fine from the share, but I am unable to write to the share. From any windows environment I have tried, I get a disk is full error. I have 200GB+ free space, so this is not the actual issue. I believe there is a write permission somewhere that I am overlooking. My setup basically lets me log in under the username samba from a client machine.
Here is my smb.conf file:
Code:
#======================= Global Settings ======================= [global] workgroup = discount.local server string = %h server (Samba, Ubuntu)
[code]....
I've tried chown on /media/Images to make it owned by samba, but it just reverts once I remount the partition. Either that or my eyes are playing tricks on me.
I finally have my ubuntu up and running. I have a USB-drive which is often connected to my Ubuntu-machine. I want to share this via Samba but I can't set the user-rights. If I try to acces the file (via windows machine) I can see the directory but if I open it it gives me: \Computermediadirectory is not accessible. You might not have permission to use this network resource. I tried setting the rights but it just 'changes back immediately'. I found some posts about not being able to set rights via ubuntu on a ntfs disk. If I mount it via fstab it will give an error when the USB-drive is not connected. So that's no option. Is there a way to share this drive via my Samba server? I did get access to a partition on my linux-machine, to I assume my samba-settings are correct.
So I have the strange task of trying to make something like I said above work in Lubuntu 10.04. But every time I do, the share is not accessible because none of the important permissions (other) can be set because its, well, NTFS in linux. And I know of no way to fix it.Is there an easy way, preferably with Nautilus since the person I am setting this up for isn't a computer expert, to setup this share so thats its accessible and writable by other computers on the network?
so after searching and reading, and searching some more, im stuck. i cant seem to get a mounted thumb drive to give write access. first thing to know is that, im using a seagate dockstar with a primary thumb drive[sda1] booting debian and samba.
i guess you could say im still in the testing phase, just trying to make sure files can be shared, mounted and accessed by users. the problem is stated as the title. i have successfully shared a folder in sda1 with rw access, but i cant do the same for the second drive[sdb1].
for sda1 with rw access, here are the smb.conf settings:
Code: [shared] path = share available = yes valid users = mark
PDC SAMBA + OPEN LDAP (ubuntu 9.04) Linux (File Servers) + Windows machines all working well
I'm trying to set up a share drive on my new server using ubuntu 9.10 with samba (v 3.4) and ldapclient and the shares are not working when I defined Valid Users for share folders, that keep me ask me about my user and password, on the logs I have:
[global] workgroup = FLOWCONNECT server string = OSLO SAMBA FILE SERVER [code].....
I have the same set up on my File Server (Ubuntu 9.04) which use samba 3.3 is working fine.Someone know if has some different setting between samba 3.3 (ubuntu 9.04) and samba 3.4 (ubuntu 9.10) that could cause this problem ?
I've been searching for a way to do this with no luck. I've got a 1TB external hard drive I used to share over the network from my Windows desktop -- which is now a Ubuntu desktop.I've tried setting it up as a samba share, and the closest I've gotten is mount error(12): Cannot allocate memory. I've tried the suggestions (editing /etc/security/limits.conf), and that removed the warning I got from testparms but didn't fix the mounting on my mythtv box.
I have been trying to share folders from my main PC which is running Ubuntu 10.04. I have been able to figure out Samba enough to get my a couple of folders shared, but I have been unable to share any folders which are on my external harddrive. After entering the path in my smb.conf file they appear on the network but I am unable to navigate to them. When trying to navigate to them through the network folder on the pc they are actually connected to I get an "Unable to mount location: Failed to mount windows share" dialog box. On the windows pc I am trying to share with I get, "Windows cannot acces \Josh-Desktop ame of folder"
My smb.conf file looks like this:
That folders I cannot access are Music and Videos.
share an external USB NTFS drive on my home network. The drive is attached to my desktop box running Debian Lenny. It's accessible on the desktop. I have a directory on the drive that I would like to make accessible to a Windows XP laptop. Read-only would be fine. The laptop has wireless access to the network.
Start>Run>\192.168.0.1storage gives me "The specified network password is not correct." It lists my domain as "ANTEC" which is the name of my computer, though I've changed the workgroup to WELLS. I've run:
I am using Cen OS 5. I have configured Samba server on it. I create a accounts suppose tom and 2nd is jarry in my samba server and map it in my windows xp computer as P drive (Private Drive) where the users can access their home directories. When tom tom enter into own account he can access his own home folder and same position with jarry. I want to create a common share drive using samba where all samba users can keep their data with their respective folders normally s drive i.e share drive. They can create file and folders and even all users can access the files of each others. Like tom can access jarry files and jarry can access tom files or folders to share their office work with each others.I want to know is it possible in samba to create a common share drive where all users share their files each others.
I have a server which currently has a samba share for a printer and my home directory. Both have been working fine for a while now. I have a drobo (which is like a little USB RAID machine) connect via USB to the linux box. While trying to share it via samba I get weird messages from my windows machine (see screenshot). I have tried to share multiple folders on this drobo and no luck, all the same result.
I also tried a symbolic link, no good.
Here is a screen shot http://aivila.com/temp/screen.jpg Here is my smb.conf file: Code: [home] path = /home/savona read only = no
i have a partition that i have ubuntu file sistem on, and couple of others that are NTFS because it had windows before. i tried to share an old folder from one of NTFS partitions but couldnt...could not change permissions on right click. Also could not change usingsudo chmod.... nothing changed permissions.
I have a computer that's booting Ubuntu 9.10 from the first of 4 drives. The other 3 drives are formatted as NTFS. Is it possible for my 9.10 to share the NTFS drives to the network so my other network users can access my NTFS drives while I'm booted to 9.10?
I have an ntfs external hd; I can mount and use it fine, without entry in fstab, but not share stuff. That is to say: I can use nautilus / thunar to share folders on it without errors, but they are not accessible via the network. The issue may be that the mount point has permissions 700. I can solve that by Code:sudo mount -t ntfs-3g /dev/sdb1 /media/Databank -o umask=0,nls=utf8or by setting umask=022 in fstab, but then I can't mount it as user anymore; if I set fstab to
Code: /dev/sdb1 /media/Databank ntfs-3g user,umask=022,nls=utf8,defaults 0 0 I get this when I try to mount it as user in the filebrowser:
I have a desktop with Ubuntu and I've set up Samba to share files with my Windows 7 laptop. I can access my home folder just fine except for my NTFS storage partitions on the desktop's HDD and my home folder's Downloads folder (which times out whenever I try and open it).
Is there an alternative way to share files between Linux and Windows 7?
I have installed ubuntu 10.10 and the Samba addon to configure my shares to my Windows terminals.This is what I got
Firewall off (utf disabled)
Internal Sata /dev/sda1 (EXT4 FS)
External USB HDD /dev/sdb1 mounted at /media/SG1500GB (EXT4 FS)
I have two shares
1. //home/test - Which I can see and access with no problems (can't write to it though even though I set the share as writable?, but, I can read from it). This is available to everyone. My windows terminal can see this folder and access it. This is on my main 80GB internal drive /dev/sda1.
2. //media/SG1500GB/Music. I set this up for everyone full access and I can see it at all my Windows machines but,I can't get into the folder. Windows keeps giving me an error stating network path not found.I also try to access it via the Nautilus (Places/Network/system/music) and get an error message "unable to mount location, Failed to mount windows share". This drive is mounted per the disk utility.
I have karmic on my laptop, and I can't access my windows network. I have had previous versions of ubuntu and managed to configure samba. However, since my last reinstall, I can't get it to work.
I am running Jaunty 9.0.4. I used system-config-samba (gui) to configure Samba. I put myself as a user and tried to map the drive from my local PC. I am unable to map the drive. On windows, I try to connect using a different user and when I select finish, it prompts me again and adds my workgroup before my user name.
When I create a new folder on my ubuntu machine and share it with my windows 7 machine using 'net usershare add <dir> <path>', I can't get write perms in Win 7. It keeps giving me a "You need permission to perform this action'. I've chmod the folder to 777 but still no luck.
The funny thing is, it was all working fine until I tried to add a new usershare yesterday (Can't think what I've changed). I use this sharing method to share all of my development /var/www/ folders so I can work on them from my win machine.
I have had a few problems with my samba smb.conf, and it nuked and rebuilt yesterday. I'm fairly new to the Linux game, and this permissions problem has me baffled.
I have mounted a samba share on my desktop from a remote server (with smb4k). There I created a symlink to "/". When I open the symlink with konqueror it opens the right one (the root directory of the server), but when i open this link with the shell (cd rootfs/), then it opens my local root directory (of my host)... Is it possible to open the right link with the shell?
My desktop is now dual boot, Xubuntu 10.10 has been added to WinXP. The attached parallel printer works fine with either OS. When running XP I can share the printer with my two XP laptops without problem. I cannot share it when the desktop is running Xubuntu. Neither laptop can see the printer. However, if I open the desktop Samba config application, change any parameter, retype in the original parameter, both laptops can see and connect to the shared printer - until I reboot the desktop
I have a samba-share that mounts on my desktop. But how do I find it from applications? When I browse from application is not visible in the desktop folder.
PS. I find it with smb://pathway, but I don't know how I can do it from some gui-applications.
I have two Ubuntu 10.10 computers and two Windows XP computers connected to my network. I cannot share files between the Ubuntu computers using samba. I keep getting the "Unable to Mount Location Failed to mount Windows share" error. I've tried the solutions posted by dmizer here and nothing works.Random true facts:I can successfully connect to folders shared on my Windows XP computers from either windows computer.I can successfully connect to folders shared on my Windows XP computers from either ubuntu computers.Neither of my windows computers cannot connect to folders shared on either ubuntu computer.Neither ubuntu computer can connect to folders shared by the other ubuntu computer.I REALLY need to get samba to work since I have other Windows computers on my network.
ServerA has an NFS Mount to ServerB at mount point /home/qlogger/logs
I can cd to /home/qlogger/logs on ServerA and see the contents as they would be on ServerB (NFS Working with proper permissions rw).
I have a samba share setup on ServerA to share the NFS Mounted Directory (/home/qlogger/logs)
I connect with my windows host and am able to view the files and folders. I can create folders just fine however; when I go to copy a file from the windows machine to the samba share I receive a message saying the file is locked.
I have disabled oplocks in samba and the problem still persists.
so i found an older computer i want to play with as a file server. ubuntu server edition, installed gnome GUI (to make things easier for now, i plan on removing it later) and used [URL].. to configure my 1.5tb harddrive so my windows machines can access it. i had everything working but than a fatal crash made me start from scratch (os and all) now i am unable to access the samba share from a machine running windows 7, but i can access it from a machine running windows XP using the same login and password i set up for windows 7.this makes me believe it's a problem with windows 7 and not samba.