|
Page 1 of 1
|
[ 6 posts ] |
|
| Author |
Message |
|
joany
MEPIS Enthusiast
Joined: Mon Feb 12, 2007 1:45 pm Posts: 4871 Location: Penn's Woods Has thanked: 537 times Have thanks: 398 times
|
Post # 298176
 File Permissions Changed
When copying files to a backup directory on a partition that's formatted NTFS, executable files are rendered non-executable. (I found this out when I restored a shell script from the backup location. The script is set to autoexecute on startup, and I was getting errors. When I checked the file's permissions, it was set to non-executable.)
This isn't a major problem because file permissions can be restored manually; however, is there a way to copy files to an NTFS backup location and keep the permissions intact? BTW, I use the backup partition for Windows too, which is why it's formatted NTFS.
_________________ SimplyMEPIS is SimplyTHEBEST Mepis 8.5; 2.6.32-1-mepis-pae (Internal 2.6.32-12); 4GB RAM 2.4GHz AMD Athlon 4600+ NVidia GeForce 6150 LE; 304.51 Display Driver
|
| Tue Apr 03, 2012 9:15 am |
|
 |
|
Adrian
MEPIS Enthusiast
Joined: Wed Jul 12, 2006 1:42 am Posts: 3544 Has thanked: 181 times Have thanks: 297 times
|
Post # 298177
 Re: File Permissions Changed
This seems like an informative article about permissions under NTFS: http://b.andre.pagesperso-orange.fr/permissions.html
_________________ Nobody is born with knowledge, knowledge comes from manuals and Google (and our beloved Wiki)
|
| Tue Apr 03, 2012 9:31 am |
|
 |
|
fbt
MEPIS is cool!
Joined: Fri Jul 14, 2006 6:09 pm Posts: 723 Has thanked: 20 times Have thanks: 47 times
|
Post # 298188
 Re: File Permissions Changed
Might explain why my USB drives, one formatted NTFS the othe ext3 have different permissions.
|
| Tue Apr 03, 2012 2:02 pm |
|
 |
|
joany
MEPIS Enthusiast
Joined: Mon Feb 12, 2007 1:45 pm Posts: 4871 Location: Penn's Woods Has thanked: 537 times Have thanks: 398 times
|
Post # 298192
 Re: File Permissions Changed
So I guess there's no way to get around losing Linux file permissions, since they are not compatible with NTFS. I don't know if this is common knowledge, but it fooled me.
I noticed another thing: In LuckyBackup, if you check the box labeled "Destination is FAT/NTFS" under Advanced > Command Options, the options labeled "Preserve ownership, times" and "Preserve permissions" are grayed out. I guess this is the reason for that.
_________________ SimplyMEPIS is SimplyTHEBEST Mepis 8.5; 2.6.32-1-mepis-pae (Internal 2.6.32-12); 4GB RAM 2.4GHz AMD Athlon 4600+ NVidia GeForce 6150 LE; 304.51 Display Driver
|
| Tue Apr 03, 2012 2:26 pm |
|
 |
|
GoManutd
MEPIS Guide
Joined: Mon Jun 30, 2008 8:06 pm Posts: 2902 Has thanked: 48 times Have thanks: 364 times
|
Post # 298194
 Re: File Permissions Changed
hmm... joany, i wonder if using tar to backup your files to the ntfs partition might not take care of that?
tar has a preserve permissions option. in theory, it should be preserving the permissions of the original files. you could also use the owner and group options to set these to something else...
you might not have hot access to the files, but you wouldn't have to worry about the permissions issue...
|
| Tue Apr 03, 2012 3:28 pm |
|
 |
|
joany
MEPIS Enthusiast
Joined: Mon Feb 12, 2007 1:45 pm Posts: 4871 Location: Penn's Woods Has thanked: 537 times Have thanks: 398 times
|
Post # 298202
 Re: File Permissions Changed
Your suggestion is certainly worth looking into.
_________________ SimplyMEPIS is SimplyTHEBEST Mepis 8.5; 2.6.32-1-mepis-pae (Internal 2.6.32-12); 4GB RAM 2.4GHz AMD Athlon 4600+ NVidia GeForce 6150 LE; 304.51 Display Driver
|
| Tue Apr 03, 2012 6:21 pm |
|
|
|
Page 1 of 1
|
[ 6 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|