[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Access denied to share



On Sat, 2008-11-15 at 08:34 +1100, Simon Slater wrote:
> On Fri, 2008-11-14 at 14:04 +0000, g wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > Simon Slater wrote:
> > 
> > > I have a share (/home) on box A,  an external hard-drive attached to
> > > box B to which only root can write.  I can mount A:/home on B and browse
> > > and open the files, but when (as root on B) attempting to copy files
> > > from the mounted share to the external drive I get the error:
> > > cp: cannot access ' /mnt/ipex/home/simon':Permission denied.
> > 
> > read/write permission in 'fstab'.
> 
> Thanks g but this is a temporary setup so I'm mounting manually as
> needed and /etc/exports on A is set to rw,sync.
----
I think from the little information I see is that you aren't having an
issue with the 'share' but rather the directories.

If directories are perms rwx______ (700) then no one can descend into
the folders but if they were rwxr_xr_x (755), then users could descend
into the directories and read the files contained inside them.

Craig


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]