Ubuntu Security :: Configure The Share And Folder So That The Win7 Client Can Create Files And/or Folders In The Share?
Jan 15, 2010
I've just installed Ubuntu 9.10 and Samba 3.4. I've shared a folder and have accessed the share from a Windows 7 client. However, I've struggled to configure the share and folder so that the Win7 client can create files and/or folders in the share. Kept getting Permission Denied errors. Finally, (using Webmin) I set the permissions on the file folder so that "Other" had write access. I don't understand why this was necessary (and how unsecure this is). I already had the write access checkbox ticked for "User" but it wasn't enough.
1. I have Ubuntu 10.04.1 installed alongside Windows Home premium 7 on a Compaq CQ5110f with 2 dual processors, 320 GB HDD, 4 gb Ram, less than a year old/ It is giving me some error messages. It is wanting to lock the drive or various programs after being left unused for a few minutes, I have not found where I can disable this. I do not need passwords, really. I am the only user. I reinstalled it once, on top of itself (Ubuntu) and it worked fine briefly, then started doing it all again.
I use to sometimes install Ubuntu as a windows app. on a previous version, maybe 9.04 - 9.10, but think I can not do it on this version?
So, Can I install as WIndows app on this version of Ubuntu? CAn I install Ubuntu on one drive alone, and windows on the other drive alone, install both in same computer and get dual booting? I think before, to do that I had to reset boot drives in BIOS to whichever I had the OS I wanted to use?
Or MUST they be installed on same drive for dual booting to be available?
I am attaching screen shots of the messages I get, etc. I have tried to share files and folders, but it does not allow me to select Share this folder as some security thing is not installed, And the time I am required to enter password to use comp[iter after being idle a few minutes, seems to be tied to my folder, which is JOHN. I may have to think about removing Ubuntu from this drive, add a SATA drive and use two, one for Windows and one for Ubuntu.
equivalent of "force_user" when sharing with nautilus-share? To put this question into context, I have shared out a folder with "Allow others to create ..." and "Guest Access ..." turned on via the GUI (I believe nautilus-share is applicaition behind the GUI). When Guest accounts create files or folders, I want the owner of the files or folders to be a specific user, rather then "nobody". In a Samba Server, I know you can use the parameter "force_user" in the smb.conf (under an individual sharename) which will specify the owner of the files and subfolders created through the share.
I have tried to add this parameter to the files created in /var/lib/samba/usershares but the owner of the files and folders are still "nobody" (NOTE: I rebooted the PC after making the change to the file) I have just done a fresh installation of Ubuntu 10.10 Desktop with nothing else installed (except the current Updates and the necessary components needed when sharing folders) As a follow on question, I also want to set the permissions for files and folders. To replicate what the "create_mask", "force_create_mode", "directory_mask" and "force_directory_mode" parameters do within a Samba Server.
this gets mounted correctly and i can read/write the shared folder at home i have a win7 box that i create a share on and use the exact same code in fstab, but it wont mount the share. i get something like permission denied or access denied is there a difference in how winxp and win7 share folders? my usernames on the linux boxes match those of my windows boxes at each location. i have given my win accounts full access and control over the win shares.
I am running Ubuntu 10.04 with current updates. I installed MS Office 2007 suite using WINE - the other users are not comfortable with OpenOffice. There are no issues with the installation, but it is in my user home path so it doesn't appear in the WINE config when I log in as another user. Should I start over with a generic user account and re-install Office/ WINE under that user?
I can create folders in partition but i cant share them or change their ownership And here my fstab and fdisk list.About my hdds, on first hdd i have win installation as 3 partition and on second hdd, my lovely ubuntu and ntfs partition to use as shared in my LAN
harun@ubuntu03:/$ cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid -o value -s UUID' to print the universally unique identifier
I've installed Ubuntu Server 7.10 Gutsy and Webmin 1.500 on it. The thing that I want to do is: I want to share a folder an sub folders for windows users ( guest user) I should modify those folders from my ubuntu desktop 9.10 karmic they are all same folders. Is it possible? if yes how can i make it. you can tell from webmin or samba configuration file.
I am new to Linux. I have a new ntfs usb external drive. I have attached to the Linux server but can't locate it. I would like to 1. mount it. 2. format to Linux file system 3. and then create share folders with passwords using samba.
I am not able to configure nfs mounted disk for shareing samba. i have a server X. which configure samba for windows XP client this is done. now i have export X server samba share disk to mount Y server using nfs. this is mount and ok. but i don't share this disk using Y server samba configure.
I want to share certain files/folders with other computers in the network. Now I know how to do this in two ways: using the GUI and modifying the smb.conf file, but the GUI may not be available (e.g. connecting to the server using SSH) and the smb.conf file takes a little bit of time to modify (and from what I have noticed by using the GUI, the smf.conf file does not get modified). Is there a way to share files/folders using only the CLI and without the need of modifying files?
We have a storage server here running Windows. I have full permission to my share, blah blah, whole 9 yards. When I'm on Ubuntu and connect to it, I cannot create a folder or paste any items in "my" folder unless I put it in a sub folder.\storagejason = cannot create folders.\storagejasonstuff = can create folders.So, I come here asking the obvious question: dubya tee eff??
Does anyone here knows how to share files/folder with two different GNU/Linux OSes?
I have a notebook and desktop computer here. The Operating System of my notebook is Easypeasy and my desktop computer is Linux Mint. I already install the Samba on both computers. I could open the folders that I shared under my Documents. But when I tried to open the shared folder under the NTFS drives or even the drives itself (of my notebook or desktop computer) it will prompt an error.
This is the error: "Unable to mount location. Failed to mount Windows share."
I'm trying to setup a Samba share for our work. I have it almost complete, however I can't successfully share editable files between users. The issue I'm having is that say User1 create a file test.txt, because of the 755 permissions, then User2, who has "writable" rights as per the smb.conf file, cannot edit that test.txt file.
Whevener I create a file with a user, its locked by that user. Is there a way I can set it that every folder/file a user creates is 777 ? I firgured that there's still security because of the "Valid users = " field in the smb.conf file.
I am running Mint on my lappy, and my desktop is Win7 Ult. What is the best way to share/access/steam files? Say If i have movie/show on my Win7 and I want to watch it on my lappy in the library/coffee shop etc?
Every time I try to empty the waste bin I get dolphin error - 'The file or folder /.local/share/Trash/files/IMGP1676.DNG does not exist'I tried to recreate the file 'IMGP1676.DNG' , deleted it i.e. sent i to the waste bin and then tried the empty waste bin again, although this time it was there and deleted it still reported the same error.du -h .local/share/Trash/files/ 12K .local/share/Trash/files
I have created a share on a Windows XP VM and a share on Ubuntu, both access each other fine without a hitch. On my Windows 7 net book I can access shared files on Ubuntu, but cannot access a share on Windows 7 via Ubuntu. So I figure the cause of the problem is a certain configuration in Windows 7.
Also another question. On my net book I have IIS setup for hosting media files onto my local network so that I can use my PS3 browser to view them on my television. What software can I use in Linux to achieve this?
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.
My Ubuntu Desktop (9.10, 64-bit) VM can't connect to my Windows 7 (64-bit, Ultimate) File Share using Nautilus. I enter "smb://<comuterName>" in the address bar and then it comes up with a password dialog (see screenshot) and then after entering the correct login info, the dialog disappears for a second or two but then reappears again. The dialog always comes back up and the share is never mounted. Connecting from an XP box on the network to the windows 7 share works just fine. Connecting from the Ubuntu machine to the windows 7 share using the appropriate 'smbmount' command works just fine. Connecting from the Ubuntu machine (using the nautilus GUI) to the XP box (password protected) works just fine. Then I turned off password protection in Win7, rebooted the win7 machine, and still all of the above tests turned out the same. And the Ubuntu machine still doesn't connect to the windows share using the nautilus GUI, and still displays the password dialog even though no password is required anymore. I tried using smbclient to view the shares, here is the output (not sure if I should be trying something else using the smbclient program):eddie@eddie-ubuntu:~$ smbclient -L eddie-win7 Enter eddie's password: session setup failed: SUCCESS - 0
I'd like to know how to connect Ubuntu to the windows 7 share using the nautilus GUI. If it's a bug, I'd like to file it (I think it is). But first I would like some direction trouble-shooting to make sure it is in fact a bug. (I think I read elsewhere on this forum that someone connected Karmic to win7 share, so maybe it's not a reproducible bug. But then again, maybe they weren't using 64-bit Karmic...)
I have a share on my home server with all my music in. When I go to a windows PC (Windows 7) and go to network I can see the share, but when I try to connect in ubuntu by going to places>network>windows network. I get the error: "Unable to connect. Failed to retrieve share list from server". However when I try the connect to server option and specify the IP address its fine. I have tried this with the firewall disabled with the same results. I am trying to get my family to use ubuntu and I don't want them to have tp specify an IP address.
I setup ubuntu 10.04.1 server on a computer I'm using as a server for my home. I can view the share folder on server from win7 I can read files but cannot right to the share. However from Xubuntu I was able to read and write no problem. So the question is... why can't windows 7 read and right like xubuntu? I have 2 win7 machines and both were denied writing to the share folder... I'm by no means an expert.. I setup the share using ubuntu server guide pdf... not sure if its done correctly maybe someone here knows off hand what kind of permissions would be causing this.
I am new to ubuntu, Installed it somefays before and getting used to it. I want to share the Internet from my ubuntu box with 2 Win7 boxes and a through a switch (have 2 network connections, eth0 - LAN and eth1 - Internet) . Searched a lot i google and got some Idea about the process.
I have samba and file sharing enabled. Everytime I search, I come up with 25 different solutions and none seem to work. I can't share drives between ubuntu computers or vista and ubuntu. I'm just this side of giving up, this seems as if it shouldn't be so difficult.