Re: Access denied to share

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

 



On Fri, 2008-11-14 at 15:55 -0700, Craig White wrote:
> 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
> 
That's it!  Thanks Craig, problem solved, but shouldn't root be able to
descend into a 700 directory?  What about root on another machine (given
appropriate restrictions in iptables to network)?  Maybe I've
misunderstood what root can do.

-- 
Hooroo,
Simon
Registered Linux User #463789. Be counted at: http://counter.li.org/


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux