Jump to content

Long story short: I have a hard drive that I used with some NAS software, and I can not access the folder on the drive that I need to. I get an error message that says "Failed to open directory "ad1_shared". Permission denied."

 

ad1_shared is the folder I need to access... OS is Xubuntu 12.04LTS.

Main rig on profile

VAULT - File Server

Spoiler

Intel Core i5 11400 w/ Shadow Rock LP, 2x16GB SP GAMING 3200MHz CL16, ASUS PRIME Z590-A, 2x LSI 9211-8i, Fractal Define 7, 256GB Team MP33, 3x 6TB WD Red Pro (general storage), 5x 8TB WD White Label/Red (Plex) (both arrays in their respective Windows Parity storage spaces), 1TB Teamgroup MP33 (dumping ground) Corsair RM750x, TrueNAS Scale

Sleeper HP Pavilion A6137C

Spoiler

Intel Core i7 6700K @ 4.4GHz, 4x8GB G.SKILL Ares 1800MHz CL10, ASUS Z170M-E D3, 128GB Team MP33, 1TB Seagate Barracuda, MSI GTX 970 100ME, EVGA 650G1, Windows 11 Pro

OptiPlex 7040M

Spoiler

Intel Core i7 6700, 2x16GB Mushkin Redline (stuck at 2133MHz CL13), 240GB Corsair MP510, 2TB Seagate Barracuda 2.5", 130w Dell power brick, Windows 11 Pro

Mac Mini (Late 2020)

Spoiler

Apple M1, 8GB RAM, 256GB, macOS Sonoma

Consoles: Steam Deck LCD (512GB), Softmodded 1.4 Xbox w/ 500GB HDD, Xbox 360 Elite 120GB Falcon, XB1X w/2TB MX500, Xbox Series X, PS1 1001, PS2 Slim 70000 w/ FreeMcBoot, PS4 Pro 7015B 1TB, PS5 Digital, Nintendo Switch OLED, Nintendo Wii RVL-001 (black)

Link to comment
https://linustechtips.com/topic/341772-cant-access-drive-crap/
Share on other sites

Link to post
Share on other sites

do "sudo nautilus" in a terminal.

 

it will then ask for a password. type it in, and press enter, it will open a file browser windows, and try opening the folder from that window.

 

Edit: 900th POST!!!!

Recovering Apple addict

 

ASUS Zephyrus G14 2022

Spoiler

CPU: AMD Ryzen 9 6900HS GPU: AMD r680M / RX 6700S RAM: 16GB DDR5 

 

Link to comment
https://linustechtips.com/topic/341772-cant-access-drive-crap/#findComment-4656462
Share on other sites

Link to post
Share on other sites

do "sudo nautilus" in a terminal.

 

it will then ask for a password. type it in, and press enter, it will open a file browser windows, and try opening the folder from that window.

 

double post. stupid internet. :(

Recovering Apple addict

 

ASUS Zephyrus G14 2022

Spoiler

CPU: AMD Ryzen 9 6900HS GPU: AMD r680M / RX 6700S RAM: 16GB DDR5 

 

Link to comment
https://linustechtips.com/topic/341772-cant-access-drive-crap/#findComment-4656465
Share on other sites

Link to post
Share on other sites

do "sudo nautilus" in a terminal.

 

it will then ask for a password. type it in, and press enter, it will open a file browser windows, and try opening the folder from that window.

I use Thunar, so I hat to replace nautilus with thunar. :P

 

So, how do I copy things to my desktop and mount a network drive (done with an SMB share)?

Main rig on profile

VAULT - File Server

Spoiler

Intel Core i5 11400 w/ Shadow Rock LP, 2x16GB SP GAMING 3200MHz CL16, ASUS PRIME Z590-A, 2x LSI 9211-8i, Fractal Define 7, 256GB Team MP33, 3x 6TB WD Red Pro (general storage), 5x 8TB WD White Label/Red (Plex) (both arrays in their respective Windows Parity storage spaces), 1TB Teamgroup MP33 (dumping ground) Corsair RM750x, TrueNAS Scale

Sleeper HP Pavilion A6137C

Spoiler

Intel Core i7 6700K @ 4.4GHz, 4x8GB G.SKILL Ares 1800MHz CL10, ASUS Z170M-E D3, 128GB Team MP33, 1TB Seagate Barracuda, MSI GTX 970 100ME, EVGA 650G1, Windows 11 Pro

OptiPlex 7040M

Spoiler

Intel Core i7 6700, 2x16GB Mushkin Redline (stuck at 2133MHz CL13), 240GB Corsair MP510, 2TB Seagate Barracuda 2.5", 130w Dell power brick, Windows 11 Pro

Mac Mini (Late 2020)

Spoiler

Apple M1, 8GB RAM, 256GB, macOS Sonoma

Consoles: Steam Deck LCD (512GB), Softmodded 1.4 Xbox w/ 500GB HDD, Xbox 360 Elite 120GB Falcon, XB1X w/2TB MX500, Xbox Series X, PS1 1001, PS2 Slim 70000 w/ FreeMcBoot, PS4 Pro 7015B 1TB, PS5 Digital, Nintendo Switch OLED, Nintendo Wii RVL-001 (black)

Link to comment
https://linustechtips.com/topic/341772-cant-access-drive-crap/#findComment-4656483
Share on other sites

Link to post
Share on other sites

Check the owner of the folder, if it is not your user account use this command

 

sudo chown username filepath

Main PC: CPU: i7-4770k RAM: 16GB Kingston HyperX Blu SSD: Samsung 850 Pro 256GB HDD: 1TB WD Blue GPU: ASUS GeForce GTX 770 2GB PSU: Corsair CX600M Case: Bitfenix Shinobi OS: Windows 10 Pro 64-Bit

 

Laptop: ASUS N56VJ

Link to comment
https://linustechtips.com/topic/341772-cant-access-drive-crap/#findComment-4658214
Share on other sites

Link to post
Share on other sites

Check the owner of the folder, if it is not your user account use this command

 

sudo chown username filepath

So how would I do this and take control of all files (not just the folder)? Username is travis and the folder is ad1_shared on the drive ad1shared.

 

EDIT: Nevermind. I opened Thunar as root and I was finally able to change the permissions. :D

Main rig on profile

VAULT - File Server

Spoiler

Intel Core i5 11400 w/ Shadow Rock LP, 2x16GB SP GAMING 3200MHz CL16, ASUS PRIME Z590-A, 2x LSI 9211-8i, Fractal Define 7, 256GB Team MP33, 3x 6TB WD Red Pro (general storage), 5x 8TB WD White Label/Red (Plex) (both arrays in their respective Windows Parity storage spaces), 1TB Teamgroup MP33 (dumping ground) Corsair RM750x, TrueNAS Scale

Sleeper HP Pavilion A6137C

Spoiler

Intel Core i7 6700K @ 4.4GHz, 4x8GB G.SKILL Ares 1800MHz CL10, ASUS Z170M-E D3, 128GB Team MP33, 1TB Seagate Barracuda, MSI GTX 970 100ME, EVGA 650G1, Windows 11 Pro

OptiPlex 7040M

Spoiler

Intel Core i7 6700, 2x16GB Mushkin Redline (stuck at 2133MHz CL13), 240GB Corsair MP510, 2TB Seagate Barracuda 2.5", 130w Dell power brick, Windows 11 Pro

Mac Mini (Late 2020)

Spoiler

Apple M1, 8GB RAM, 256GB, macOS Sonoma

Consoles: Steam Deck LCD (512GB), Softmodded 1.4 Xbox w/ 500GB HDD, Xbox 360 Elite 120GB Falcon, XB1X w/2TB MX500, Xbox Series X, PS1 1001, PS2 Slim 70000 w/ FreeMcBoot, PS4 Pro 7015B 1TB, PS5 Digital, Nintendo Switch OLED, Nintendo Wii RVL-001 (black)

Link to comment
https://linustechtips.com/topic/341772-cant-access-drive-crap/#findComment-4658673
Share on other sites

Link to post
Share on other sites

So how would I do this and take control of all files (not just the folder)? Username is travis and the folder is ad1_shared on the drive ad1shared.

 

EDIT: Nevermind. I opened Thunar as root and I was finally able to change the permissions. :D

Great that you got the permissions fixed, to change the owner of the the drive itself you would have had to find the mount point of that drive and used "chown username mountpoint"

Main PC: CPU: i7-4770k RAM: 16GB Kingston HyperX Blu SSD: Samsung 850 Pro 256GB HDD: 1TB WD Blue GPU: ASUS GeForce GTX 770 2GB PSU: Corsair CX600M Case: Bitfenix Shinobi OS: Windows 10 Pro 64-Bit

 

Laptop: ASUS N56VJ

Link to comment
https://linustechtips.com/topic/341772-cant-access-drive-crap/#findComment-4658773
Share on other sites

Link to post
Share on other sites

Great that you got the permissions fixed, to change the owner of the the drive itself you would have had to find the mount point of that drive and used "chown username mountpoint"

Thankfully I just had to get access to that folder so I can transfer everything to my NAS. I was starting to freak since I thought I just lost a ton of data.

Main rig on profile

VAULT - File Server

Spoiler

Intel Core i5 11400 w/ Shadow Rock LP, 2x16GB SP GAMING 3200MHz CL16, ASUS PRIME Z590-A, 2x LSI 9211-8i, Fractal Define 7, 256GB Team MP33, 3x 6TB WD Red Pro (general storage), 5x 8TB WD White Label/Red (Plex) (both arrays in their respective Windows Parity storage spaces), 1TB Teamgroup MP33 (dumping ground) Corsair RM750x, TrueNAS Scale

Sleeper HP Pavilion A6137C

Spoiler

Intel Core i7 6700K @ 4.4GHz, 4x8GB G.SKILL Ares 1800MHz CL10, ASUS Z170M-E D3, 128GB Team MP33, 1TB Seagate Barracuda, MSI GTX 970 100ME, EVGA 650G1, Windows 11 Pro

OptiPlex 7040M

Spoiler

Intel Core i7 6700, 2x16GB Mushkin Redline (stuck at 2133MHz CL13), 240GB Corsair MP510, 2TB Seagate Barracuda 2.5", 130w Dell power brick, Windows 11 Pro

Mac Mini (Late 2020)

Spoiler

Apple M1, 8GB RAM, 256GB, macOS Sonoma

Consoles: Steam Deck LCD (512GB), Softmodded 1.4 Xbox w/ 500GB HDD, Xbox 360 Elite 120GB Falcon, XB1X w/2TB MX500, Xbox Series X, PS1 1001, PS2 Slim 70000 w/ FreeMcBoot, PS4 Pro 7015B 1TB, PS5 Digital, Nintendo Switch OLED, Nintendo Wii RVL-001 (black)

Link to comment
https://linustechtips.com/topic/341772-cant-access-drive-crap/#findComment-4658782
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×