LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 08-27-2005, 04:03 AM   #1
naesyllek
Member
 
Registered: Feb 2003
Location: England
Distribution: RedHat 9.0, Slackware-Live, LFS
Posts: 31

Rep: Reputation: 15
URGENT: File Permission Quandry


Hi

I'm currently at a clients place of work trying to restore their server. Before I restore the server I've created a backup of critical work data onto a usb external harddrive by running Knoppix live cd.

Unfortunately not all files are been copied due to filenames having special characters in their name, and these are spread throught the directory. The files I've managed to copy over have had their permissions totally changed.

As root I've chmod'ed a couple of test files to return the permissions however, despite no error reported the permissions are not altering!

In addition, the files that I've copied are now been read by a Mac as UNIX executable's!

Please does anyone have any ideas? The client has been without any workable server for a week and I'm the third person they've drafted in to resolve the situation.

Sean
 
Old 08-27-2005, 04:31 AM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
What filesystem is on the USB hard drive? Some filesystems, such as FAT, don't support users and permissions, so all files on there are all given some default permissions when you look at it from Linux or something.

Alternatively, you can tar the files into a tarball; that should preserve the Unix filesystem attributes.
 
Old 08-27-2005, 05:07 AM   #3
naesyllek
Member
 
Registered: Feb 2003
Location: England
Distribution: RedHat 9.0, Slackware-Live, LFS
Posts: 31

Original Poster
Rep: Reputation: 15
The usb external harddrive was orginally VFAT which I reformatted as Ext3.
Even as Ext3 format the permissions are been altered.

I'm in process of using the excellent System Rescue Linux CD www.sysresccd.org in order to take a ghost image of the data, which I'm sure will matain file permissions and the company's filenaming. Fingers crossed.

I've advised them they seriously need to consider a defined naming standard without using special characters in filenames to be adopted throught their offices and some form of redundancy backup system.

Cheers for the reply
 
  


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
Rescue file from disk - urgent yallu Linux - Software 3 04-18-2005 06:11 AM
IPtables Quandry caps_phisto Linux - Security 1 04-18-2005 01:19 AM
Dual Boot Modem Quandry james91911 Linspire/Freespire 0 12-27-2004 05:48 PM
Urgent help required for set UID/GID Permission Linux_interest Linux - Newbie 2 09-15-2004 08:27 AM
file premission problem. (URGENT) cyberia_2ooo Slackware 5 04-17-2003 09:46 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 06:43 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