Ubuntu Networking :: Change Samba Shared Folder's User?
Jan 27, 2011I installed samba just as described in [URL]
Now I want the shared folders (and the files created in them) to be owned by a user named efil. How do I do this?
I installed samba just as described in [URL]
Now I want the shared folders (and the files created in them) to be owned by a user named efil. How do I do this?
I'm setting up a network between 2 pc's where the one should act like "file server" and a normal pc to surf on internet.called ORLA-DESKTOP and the other pc is called OLGA-DESKTOP a pc connecting to the server and automounting the shared folder to the desktop Both pc's run ubuntu 10.04 Lucid Lynx The shared folder is located on the server in /home/orla/svenson
ORLA-DESKTOP have 2 users "olga" and "orla" in a group called "svenson"
OLGA-DESKTOP have 1 registered user "olga" also in group called "svenson"
users on ORLA-DESKTOP can read/write/append and so on and fully manage everything in the shared folder.But on OLGA-DESKTOP the user can make a file on the pc and then drag'n'drop the file the the shared folder, and can also delete files in the shared folder. but cannot create a file directly into the folder like on ORLA-DESKTOP I have 3 configuration files made. 2 for automounting, Located on OLGA-DESKTOP 1 for samba server configurations located on the server ORLA-DESKTOP
The first one is /etc/fstab
Code:
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
[code]....
To sum it all up the real problem is that OLGA-DESKTOP can't append to files in the shared folder. but users on the server have no troubles doing it..
I have created a shared folder via nautilus. I can not access it, because it asks me for user name and password again and again. I'm sure both username and password are exactly right. But I can not access the folder. Only when I check "Allow guest user access" it will allow me to access my data, Which is not secure enough for me.
View 6 Replies View RelatedI have a Linux Box running Fedora 13, it has Samba installed, and I have configured it, I also have a Windoze 7 PC, I want to be able to access the Windoze PC's files from my Linux Box, and vice versa, but when I try to open the Windoze PC in the network on my Linux Box, it asks for my Username and Password, I enter them, the box goes away then pops back up asking for them again... and on the Windoze PC, I find my Linux on the network, open it, it asks for my username and password, I enter them, and it lets me in, but then when I try opening my shared folder, it gives me: "You do not have permission to access \LINUX Shared Folder. Contact your network administrator to request access".
View 1 Replies View RelatedI successfully installed Samba, but have problem with access to any shared folder on my secondary drive. If I try access secondary drive with admin user, everything is fine. If with another account try to access via samba to shared folder on partition with Ubuntu, everything is fine again. Every folder has set privileges to read&write to everyone, so shouldn't be problem here.
View 8 Replies View RelatedI have been having off and on issues with my samba file shares. I am sharing a NTFS formated hard drive where the mount point is in my home directory, as well as a printer connected via USB. I am to the point where printing works (using it as an ipp print share, samba is configured for it, but I don't know if it works or not), and I can access the shared folder from Windows, but I can't access the shared folder from any Ubuntu machine. I get the error:
[Code]....
I installed samba and set one of the folders on my desktop to share with my win7pc. However, I'm having some difficulty getting it to work. If anyone can provide some insight, I would be very grateful.
Both my ubuntu-pc and my win7-pc belong to the same workgroup. Each pc can ping the other. The ubuntu-pc can "see" that the win7 pc is part of the network; but it cannot communicate with the win7 pc. The Win7-pc does not show that the ubuntu-pc is part of the network.
I have a Samba installed and configured on a Ubuntu Server 10.04 box, as a file server, not as an PDC. And I have several Windows 7 machines accessing the Ubuntu Server to store files.
I would like to let users to change their passwords from windows.
I got a ftp server (proftpd on debian) on machine "A" and I got a Samba Server (debian also) on machine "B" with a shared folder called "public". how do I access the shared folder via FTP?
I already tried the following command:
mount -t smbfs //machine B/public /media/public
And the following message appears:
mount: special device //machine B/public does not exist
But the folder public is already shared cUz I can access it using Windows XP.
The problem I am facing is, with the Samba server configuration.I have configured Samba server with a folder shared between server and client machines. I have tried downloading data from the shared folder on the server to the client machine which is successfully downloaded, however I am not able to upload any data to the shared folder in the samba server.
View 4 Replies View RelatedWe want to fix our data folders structre in Samba, for example our folders would be like as Data/Group A/2010 /A.We want all our users can work only in folder A and no one can create any files in data, GroupA, 2010 folders. Similarly no one can delete these basic folders. However users can create further folders in A as required.
View 1 Replies View RelatedI would like to configure an access to folder
/fileserver
for two services : Samba and VSFTPD
How to do it ? How to create folder rights that samba and ftp user will have an access (read/write/delete) to all directories in /fileserver.
My system is CentOS. I`m starting samba and vsftpd like a root (/etc/init.d/vsftpd start etc.)
I have everything networked properly, as far as I can tell, both computers see each other... I can use putty to port in and use my Linux machine (Debian 4). When I go to map network drive on my XP machine, I can see the computer, but not the shared folder. After some googling I found that i have to create my Windows user name ont he Linux machine as a user as well. Unforunately, that user is 'Administrator'. So I told Linux to force user, and it created it, and did smbpasswd command and added the user to the samba list. Still nothing.
View 14 Replies View Relatedi have created an folder inside my redhat server. and i shared it via samba and mapped that shared folders inside 5 windows machine. now the problem i am facing is, if any one create a file in that mapped drive the other user cant edit that same file. but he can read it. only for files not folders.
i gave full permission to that folders and subfolders and in smb file i gave readable writable browsable permissions. and i disabled se linux and firewall
I spent all day learning some concepts of Samba which I left while preparing for RHCE.One of them is how to permanently mount (fstab entry) windows shared folder.Manually mount command is running fine for me.
View 6 Replies View RelatedI'm in an organization where each user has a Windows network username, and a central windows server with a folder for each user. I can access the folder using SAMBA and my (windows) network user name. I want to change the permissions (sharing settings) for my folder on this windows server - using only Ubuntu.
Had i been using windows I would simply right-click on the folder, go to permissions settings and add/modify users in the list.First of all, is it even possible to do this using Ubuntu?
I mounted a shared windows folder from my LAN, and I changed the mount point's ownership on Linux using command line `chown me:me windir`. but when I enter the mount point, and to create files, it mentioned me 'Permission denied', but the file is actually created on the windows' folder, and its ownership is root:root.
this problem puzzled my programs going to run on it. cause them will detect a system returned error, and terminate in a abnormal way.
Is possible to make a folder permission like below?
-User can create files/folders in the shared folder.
-But the files/folders they created, cannot be delete/change by em.
(only can be delete by root users)
-Each new files/folders created will auto owner to root only.
I'm having some trouble with the user's home folders in Samba, ubuntu clients.I have a Samba server (Ubuntu Server 9.10)nd a bunch of windows clients and ubuntu clients too.On windows clients, each usercan see his home folder without problems, and the other shared folders too of course.The problem appears in ubuntu (i'm using gnome desktop with nautilus and the plugin for I enter Places->Network->Windowsetwork->DOMAIN->SERVER I only see the public shared folders, but no the samba user's home folder.I tryied connecting to samba through Places->Connect to Server and entering the username (for previous auth just in case) but nothing happens...
If, in nautilus I write smb://server/username, once it asked me for my user and password (but I told the popup to keep the password forever so now it doesnt ask me anymore :S), but it keeps not showing the folder under SERVER, the only way to access it is through smb://server/username directly. Even username@server does not work.Mi auth type in the Samba server is "user", and the auth config at my ubuntu client is also userJust in case.. when I type smbclient -L //SERVER -U username, it shows me the home folder ok.
i have the one help. i will creata one samba server.access this samba file windows system. also domain user access this samba folder. but problem is how can set permissions AD User( Windows 2008 Server).
View 2 Replies View RelatedI am used to Ubuntus simple sharing with samba. Just install it, reboot and then share the files.Then do I klick on network folder and see all the shared files on the computers in the network.
How do I install it so I only need to go into network folder and see the other computers shared files.Then, how do I share files?
I hope it's not so difficult and that I have to change i config-files.
I am new to Fedora.
I would like to know how to share a folder in samba with no need of password for individual user without using guest
View 5 Replies View RelatedI would like to know how can I share a folder in samba with no need of user and password with write permission, with no need of using guest user.
View 3 Replies View RelatedI have a MacBook Pro.I just got it to "mount" the recording/video folders using NFS to connect to my mythbox.Here is my /etc/exports file:
Code:
/var/lib/mythtv 192.168.0.0/255.255.255.0(rw,async,insecure,all_squash,anonuid=1000,anongid=1000)
Here is my hosts.allow file:[code]....
I also made sure that under Settings -> Shared Folders, the "Read-only" box was unchecked.I did all this and I still cannot get the MacBook to write to the mounted folders.
I am trying to access a shared printer from one Ubuntu PC to another.
On the Server PC, I have the printer working, I have set it to shared, and I have set the server setting to Publish shared printers. I can see and use the printer fine from a windows PC.
On my Ubuntu Client PC, I have samba installed, including smbclient, and all other samba components I can think of. I can see other computers on my home workgroup (Windows and Ubuntu fine). I can also add a printer connected to my windows PC. However I cannot find the printer connected to the other ubuntu PC.
I see the instruction in the Samba guide saying
"Now enter your Ubuntu Samba Print Server (set up as above) IP address in the box on the left titled "smb://"."
However I do not have fixed ip addresses, so what am I supposed to enter in the box. If I enter nothing I can browse the network and can see the host computer, but the printer is not displayed. I can also see the printer connected to the windows PC. How do I 'see' the Ubuntu printer?
Just did a new netbook install of Lucid. Went through the setup, putting in my usual username etc. But I thought as it's a portable, I'd better select the encrypted home folder option. All went OK.
I have a home network with a NAS and I needed to change the UID to 1004 to match the rest of the network.
That's when it all when wrong. If I do that, I end up with no permissions on the user folder. A bit of a paradox, you can't change UID if logged in, but unless you're logged in, can't access the files.
My attempts to get around it by changing UID's back chowning, changing back etc. have screwed things up completely.
I have managed to open the encrypted folder and chown, but after a reboot it's all back to the original UIDs, but now I can't get in at all.
Every time I share a folder (using Ubuntu 9.10 Desktop), the share is gone after I reboot. How can I make it a permanent share that persists?
Note: I used the gui to create the share (if that matters). Once I get the share permanent, the next thing I'll want to do is automatically mount it from another Ubuntu Desktop computer on the network.
Note: this will be a "peer to peer" network. I don't have Ubuntu Server and don't intend to get it. Just have two Ubuntu Desktop computers.
I installed ubuntu in a desktop pc and without configuring anything i had my network working: 1 windows 7 pc which is sharing a folder with other 3 windows pc and with my ubuntu pc. Yesterday as every day before i entered into win7 shared folder from ubuntu but it asked me for a password which was not set up in win7 pc.
View 5 Replies View RelatedBeen using Ubuntu now almost 1 year and love it but I'm still mostly lost so I need someone to explain in great detail how to be able to access the My Documents folder on my LAN XP machine. I've been up and working fine for 6 or 8 months but all of the sudden (maybe it was an update package?) I get the following error message, after a long delay, when trying to access the shared folder:
Could not open location 'smb://office/my%20documents/'Failed to mount Windows share.I have set an icon on the top panel mapped to the XP machine and launched by launcher.
I've set up a laptop with Ubuntu 10.04 32bit and shared specific folders on my Win7 PC. Everything should work okay as they both can see each other, but when I try on Ubuntu to access the Win7 shared folder it asks me for username and password. In Win7 I'm always logged in as Administrator with no password set and Ubuntu won't let me connect to it leaving the password blank. It just keeps asking for my username/password over and over again without any kind of error message. It doesn't come up with 'access denied' or anything, it just keeps refreshing the username/password login/connect gui so I can't say which side of the fence the problem is occurring on though I suspect it's on the Ubuntu side.
View 1 Replies View Related