LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Folder Sharing Error from Fedora 20 to Windows (https://www.linuxquestions.org/questions/linux-newbie-8/folder-sharing-error-from-fedora-20-to-windows-4175512104/)

Pengasus 07-24-2014 01:31 AM

Folder Sharing Error from Fedora 20 to Windows
 
Hi,

I've produced a backup Linux Server on a Windows environment system. I was able to add the machine to the Active Domain and Directory of Windows. All I want is to Create a folder from the Linux Server that has Fedora 20 OS and can be accessible to the members of the domain.

On the Linux machine, I have two hard drives, 500GB for the OS and 1TB for the mounted media. The mounted media is located at /run/media/Perseus/backup_data.

I've followed these procedures for creating the folder inside backup_data
https://ask.fedoraproject.org/en/que...ory-fedora-20/

Upon browsing on windows explorer, I can see the folder I created inside the Linux Server, however, Windows prompts me that I do not have access to the folder. I've already added rights to the backup_data folder with drwxrwxrwx rights. Still I cannot browse it. Is there any settings that I should do?

dijetlo 07-26-2014 06:27 AM

You can try, from the terminal:

#getfacl -Ra /Path/to/share

and see if your user or the group granting your users authorization to access the share is derived from appears in the acl. If they do, make sure that when you're prompted with a request for credentials from windows explorer, you inputing the correct name and password.

lleb 07-26-2014 11:31 AM

few things of note.

#1. do not use Fedora as a server. its lifecycle is roughly 18mo so you will be forced to update in no less then 18 mo. this also means reconfiguring EVERYTHING including shares, gaining access to the MS domain, etc... bad bad bad BAD idea. drop it as a server. If you want free RedHat Linux for server use then go with CentOS.

#2. http://www.howtoforge.com/samba-serv...on-on-centos-7 there is a simple link on how to properly setup Samba sharing from CentOS v7 (the most current and will be officially supported for 5 years no less)

#3. post your smb.conf

#4. have you created the smb user on the Fedora workstation that matches the user/pw from the MS computer that is trying to connect?

Pengasus 07-29-2014 09:27 PM

Hi Sir lleb,

I have added these to directories to my /etc/samba/smb.conf

; [backup]
; path = /run/media/Perseus/backup_data/backup
; read only = no
; browseable = yes
; guest ok = yes

; [shared]
; path = /home/Perseus/shared
; read only = no
; browseable = yes
; guest ok = yes

I've also created a user for the samba.

and for the getfacl -Ra Sir dijetlo
# file: run/media/Perseus/backup_data/backup
# owner: Perseus
# group: Perseus
user::rwx
group::rwx
other::rwx


All times are GMT -5. The time now is 11:52 PM.