LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-12-2013, 01:07 PM   #1
Cultist
Member
 
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.1
Posts: 777

Rep: Reputation: 101Reputation: 101
trouble accessing a directory


I have an NTFS-formatted external harddrive that I'm going to reformat to ext3. Before reformatting, I rsynced all the contents to a different drive (ext4 on this one). Now I'm unable to access any of the rsynced files from the new drive, even as root. from the cli, doing a cd into the directory just shows 'permission denied' when doing an ls, and attempting to mount the directory from dolphin gives the same error. This happens when trying to access it as the user and as root. Googling around showed a similar problem being solved with chattr, but I couldn't figure out how to use it in my case.

output of ls -l in directory containing the rsynced directory: (chmod on this directory also gives permission denied)
Code:
drwx------   11 matthew matthew 0 Apr 11 18:31 media-backup/
The ntfs drive was properly accessible before I moved things around. The rsync was done with the options -aviP.

I'm not really sure how to proceed from here. Thanks for any help!
 
Old 04-12-2013, 02:01 PM   #2
rg3
Member
 
Registered: Jul 2007
Distribution: Slackware Linux
Posts: 507

Rep: Reputation: Disabled
Can you post the output of "lsattr -d media-backup"?
 
Old 04-12-2013, 02:05 PM   #3
Cultist
Member
 
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.1
Posts: 777

Original Poster
Rep: Reputation: 101Reputation: 101
Quote:
Originally Posted by rg3 View Post
Can you post the output of "lsattr -d media-backup"?
Code:
lsattr: Inappropriate ioctl for device While reading flags on media-backup
 
Old 04-12-2013, 02:08 PM   #4
rg3
Member
 
Registered: Jul 2007
Distribution: Slackware Linux
Posts: 507

Rep: Reputation: Disabled
Whoa... maybe I got something wrong. Aren't the contents of media-backup stored as ext4?
 
Old 04-12-2013, 02:11 PM   #5
Cultist
Member
 
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.1
Posts: 777

Original Poster
Rep: Reputation: 101Reputation: 101
Quote:
Originally Posted by rg3 View Post
Whoa... maybe I got something wrong. Aren't the contents of media-backup stored as ext4?
I was running it from the wrong terminal (it's mounted as a samba share, ran it from the client machine rather than the server). Correct output is
Code:
-------------e-- media-backup/
Also something I forgot to mention before, I can go into the directory from the server machine, it's the client machine that the share is mounted on that I can't access the directory in (even though the rest of the share can be accessed like it should be).

Last edited by Cultist; 04-12-2013 at 02:14 PM.
 
Old 04-12-2013, 02:31 PM   #6
rg3
Member
 
Registered: Jul 2007
Distribution: Slackware Linux
Posts: 507

Rep: Reputation: Disabled
That's a pretty important point, indeed. If the files are fine while accessing them locally, everything points to a problem in the way the directory is shared. Unfortunately, I don't use samba and can't help you, but somebody else may chime in.
 
Old 04-12-2013, 05:49 PM   #7
Cultist
Member
 
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.1
Posts: 777

Original Poster
Rep: Reputation: 101Reputation: 101
Not sure what's changed but it's working now. Marking as solved.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
I'm having trouble accessing ntfs files... trist007 Linux - Newbie 7 03-12-2009 03:29 AM
trouble accessing internet arnuld Arch 10 12-08-2006 12:32 AM
Trouble Accessing man pages John Parsons Linux - Newbie 10 02-04-2005 04:16 PM
Trouble accessing Windows network linuxvirgin Linux - Networking 0 05-20-2004 07:31 AM
Anyone else having trouble accessing LQ.O lately? ranger_nemo LQ Suggestions & Feedback 1 06-16-2003 10:32 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration