LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-21-2021, 10:33 AM   #1
gianluca.brizi
LQ Newbie
 
Registered: Mar 2021
Location: Tuscany, Italy
Distribution: LinuxMint
Posts: 8

Rep: Reputation: Disabled
Unhappy [SOLVED] sharing e connecting a USB hard disk


Connecting an USB drive in a NTFS file system is not well described. In Linuxmint there is the sharing utility well and beautifully installed. If I share a system disk folder I can reach it in my house lan. If I share a NTFS usb drive the utility doesn't work. The error message is a permission message. You all know that chmode doesn't work too. How can share it? I have the writing permissions because with Nautilus I copy and cut what I want.

Last edited by gianluca.brizi; 07-05-2021 at 05:15 AM. Reason: got the solution
 
Old 06-21-2021, 02:05 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,369

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
IIRC, you can mount linux filesystems as a user, but not windoze ones. So what you say sounds right. Get rid of NTFS on the usb drive. If you're transferring from a windows box to another box, use your network.
 
Old 06-21-2021, 03:18 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,001

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
I assume you mean you share via some cifs/samba.

You generally share a resource full read/write in samba. You then configure file based permissions no matter the file system would be my take.

However, I am not sure I fully get your question.
 
Old 06-22-2021, 04:22 AM   #4
gianluca.brizi
LQ Newbie
 
Registered: Mar 2021
Location: Tuscany, Italy
Distribution: LinuxMint
Posts: 8

Original Poster
Rep: Reputation: Disabled
I have an house lan. Every room has a pc with linuxmint. I have a lot of external disks. I never had the need to share them before. Now I would like to use a linux network as wondows do, in other words I would like to have drives shared alike windows, on the network. At the moment I cannot do that. Every external, I repeat, external drives are not shared. Internal drives are well shared but I usually don't use 2T drives as internal one!! So I need to copy tons of Gigabytes between drives and I would like to use the Gigabit network. At the moment I have to go upstairs and downstairs with disks under the arms!!!! I have to connect them to computers and after the copy back again. Samba is correctly installed, the users are correctly in the groups and the sharing procedure is correct.
When I create a share, in Nautilus, there is a warning: "/media/my_user could not be reached by user due to the permissions", it says.
I used chmod to recoursively set the permissions in external drives. I correclty used the gparted to create every kind of partitions: ext4 and NTF and Fat32. Every external drive is not shareable! The Firewall is deactivate because it is a pure internal lan.
 
Old 06-22-2021, 07:41 AM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,368

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
Is at there an entry in your fstab to mount the usb drive or is it automounting?
 
Old 06-22-2021, 08:52 AM   #6
gianluca.brizi
LQ Newbie
 
Registered: Mar 2021
Location: Tuscany, Italy
Distribution: LinuxMint
Posts: 8

Original Poster
Rep: Reputation: Disabled
No. I did not add the line. I have both firewire a and b, and USB drives. In all computers the drivers are automounted. I have the power switch and I turn them on only when I need them.
 
Old 07-05-2021, 03:58 AM   #7
Jezekilj Monk
LQ Newbie
 
Registered: Dec 2019
Location: Kosovo - Serbia
Distribution: Linux Mint 20.3 Cinnamon, Ubuntu 20.04 LTS, Ubuntu-mate 20.04 LTS on RPi4, Win7, Win10 as VM
Posts: 15

Rep: Reputation: Disabled
Hello Gianluca,

When I first switched to Linux Mint from Windows 7, I also had a headache regarding sharing folders over Network with SAMBA/CUPS, and after some 15 months i tried to compile all sorts of things I learned to be related to Folder Sharing in Linux. It is sumerized this article (which of course does not cover it all but just what I learned and use now to share folders).

https://forums.linuxmint.com/viewtop...69386#p1969386

Each of the mentioned steps requires certain knowledge so please tell me up to which point you can follow it up and from where do you need assistance.

I assume you are stuck with properly mounting your USB hard drive so that it can be shared.
 
Old 07-05-2021, 05:14 AM   #8
gianluca.brizi
LQ Newbie
 
Registered: Mar 2021
Location: Tuscany, Italy
Distribution: LinuxMint
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hello, thanks for your reply. This guide is very interesting. I solved the automounting with "ls -s", and for the samba config with the forcing the user. I share over my net all disks. Unfortunately I worked with Bill products too mutch and now I want to forghet windows, so with Samba everywhere I solved all things. Thanks.
 
  


Reply

Tags
connect, network, share, usb drive



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to enable a Hard Disk to read/write to a USB device but disable the USB device to read/write to the hard disk without user permission? ce309 Linux - General 33 05-22-2019 04:30 PM
Copy of IBM Server hard disk data to Another USB External Hard disk mazharcdn Linux - Server 2 09-02-2009 12:41 AM
Connecting USB 2.0 Hard disk that goes to STANDBY mmreddy54 Linux - Hardware 2 08-14-2009 09:56 AM
Now I have a scsi hard disk, two IDE hard disk, i want install linux on scsi hard dis tecpenguin Linux - Server 4 11-10-2007 06:44 AM
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 10:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration