You are not logged in.
i have a networked drive mounted for backups on my computer at /media/iomega-01b44c
whenever i copy files onto it, I receive an error saying;
Could not change permissions for
/media/iomega-01b44c/path/to/copied/file
Whenever using backup software such as luckybackup and synkron, all the selected directories are copied over, but none of the files contained within them. Luckybackup does not produce any errors during the backup, but synkron does. these problems persist even when these applications are run as root, and with cmd-line apps such as rsync and rdiff-backup.
the drive is mounted in my fstab as follows:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0/dev/cdrom /media/cdrom auto ro,user,noauto,unhide 0 0
UUID=025f8545-3296-45d7-886d-d512ea041f4f swap swap defaults 0 0
UUID=5e8a5e68-2031-46be-9f6d-5a311b96df67 / ext2 defaults 0 1
UUID=e91ed434-6955-4e1e-b995-50f9515667ee /boot ext2 defaults 0 1
UUID=edf662d8-a882-48da-a579-e7bfab59abae /home ext2 defaults 0 1
//10.0.0.9/public /media/iomega-01b44c cifs credentials=/home/benji/.smbcredentials 0 0
however, it refuses to mount on boot, returning errors about the network being unreachable, despite "netfs" coming after "samba" and "networkmanager" in rc.conf (it's the last one before "kdm")
the file permissions of the directory I am attempting to save my backups within are:
drwxrwxrwx 4 254 254 0 2009-02-02 21:59
and within that directory, the permissions of the "flyback2" folder are:
drwxr-xr-x 6 254 254 0 2008-12-30 15:14
I cannot delete this folder, even when using rm -r as root.
so. lots of problems! i appreciate that i'm asking for a lot here, so I appreciate any help that you can give me !
thanks in advance!
Offline
bump... i'm working on an HD that's making odd clicking noises - worried it might fail and it'd be great to have my data / pics / documents easily backed up
so far i've tried adding the rw and noperm options to my fstab entry - still no change...
Offline
NetworkManager doesnt bring up Interfaces fast enough thats why the network is unreachable when you try to mount it i think.
I solved this by simply adding a mount /media/whatever in some gdm init script.
As for the permissions try adding "rw,dir_mode=0777,file_mode=0777" to your options in fstab.
Offline
thanks so much for your help, but adding dir mode and file mode to it doesn't appear to have changed anything - i'm still getting the same problems.
if it's not to difficult, could you explain to me how to do this gdm init script (i'm on kde, so i use kdm...)
thanks again!
Offline
hmmm, I'm worried about your clicking harddrive.... deffo make backups asap!!
I don't know anything about cifs, unfortunately. Are you sure your SMB credentials allow you to write files to that remote drive??
Offline
hmmm, I'm worried about your clicking harddrive.... deffo make backups asap!!
I don't know anything about cifs, unfortunately. Are you sure your SMB credentials allow you to write files to that remote drive??
positive
i'll do a backup to a USB or something...
Offline
oddly, i can manage backups to a seperate folder on the iomega when using grsync. i'm now positive that there's some strange permssion problems, but i can't detect them...
i'm unable to edit the files that i've backed up (not too big a problem...) but i can delete them no problem. the files that i backup have the following permissions:
-rwxrw-rw- 1 benji 1000
which all looks fine and good, but when looking at their permissions in dolphin, all the sections are greyed out (owner, group and others) and it claims that
This file uses advanced permissions
veery odd...
thanks for all your help so far, all help is appreciated, thanks!
Offline