Should I Use chown or chmod for My External HDD?

0
0
Asked By TechWhiz42 On

I recently formatted my external hard drive to ext4, but now I'm having trouble copying files to it. I've come across suggestions online for running `sudo chmod 777`, but I've also seen recommendations for various `chown` commands. My concern is that many of these tips seem to apply mainly to internal drives or USB sticks. Since this external HDD will be used across multiple computers, I'm wondering if changing its ownership to just one laptop is a smart move. I also don't want to treat it like just another USB drive. Any advice?

1 Answer

Answered By DiskGuru99 On

First off, how did you mount your external hard drive? I usually use my desktop environment or a tool like udisks to mount it, which works like a charm. For mounting via the command line, you can use `udisksctl -mount -b /dev/sdX#`—just make sure you do it without `sudo`, as that can cause permission issues. Replace X and # with the correct identifiers for your drive. This should help you bypass the permission problems you're facing!

FileFanatic21 -

I’ve had similar issues before! I typically just let my desktop environment handle the mounting with no additional commands. It’s usually much smoother that way.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.