[Gllug] rsync problems

sharon kimble boudiccas at talktalk.net
Mon Dec 19 15:56:02 UTC 2011


On Monday 19 December 2011 14:23:26 Dimitrios Siganos wrote:
> Hi Sharon,
> 
> What do the following commands return?
> 
> * mount

/dev/sdb1 on /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459 type ext3 
(rw,nosuid,nodev,uhelper=udisks)


> * ls -l /media

drwxr-xr-x 179 root root 12288 Dec 18 04:30 8eef3b99-c17b-4913-ae61-
d34c7fd5d459
> 
> I imagine the problems you are facing have to do with the way the USB
> stick is mounted. You need to setup a deterministic way of mounting the
> USB disk. The automatic mounting that comes with Gnome will probably not
> work for this task.

The usb drive mounts automatically after i plug it in after a reboot, which 
i'm quite happy to do, unless some script can mount it without human 
intervention?

Thanks
Sharon.
> 
> Dimitris
> 
> On 19/12/11 14:06, sharon kimble wrote:
> > On Monday 19 December 2011 13:03:18 Keith Edmunds wrote:
> >> Hi sharon
> >> 
> >>> The script creates the backup folder when first run at midnight, so it
> >>> doesn’t exist until then.
> >>> 
> >>>> What username are you running the scrip as?
> >>> 
> >>> boztu
> >> 
> >> OK, so does user boztu have permissions to create the directory?
> > 
> > I think so, but the next command shows that i haven't. So, how do I get
> > permission please?
> > 
> >> What happens if you do this:
> >> 
> >> $ mkdir /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459/test
> >> 
> >> If that fails, that is your problem.
> > 
> > mkdir /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459/test
> > mkdir: cannot create directory `/media/8eef3b99-c17b-4913-ae61-
> > d34c7fd5d459/test': Permission denied
> > 
> > Sharon.
> 
> --
> Gllug mailing list  -  Gllug at gllug.org.uk
> http://lists.gllug.org.uk/mailman/listinfo/gllug

-- 
A taste of linux = http://www.sharons.org.uk/taste/index.html
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian 6,0.3, Gnome 1:2.30+7, LibreOffice 3.4.4
Registered Linux user 334501 
--
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list