Re: "Permission denied" error for root user when perms are 0775?

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

 



From: Stuart Sears <stuart@xxxxxxxxxxx>
[ edited for relevance ]
> > Thanks to both of you. Good pointers.
> > The drive is a partition on the same spindle, mounted '-t ext3 /dev/sda5
> > /keep', BUT /etc/fstab has the partition as 'users,defaults'...so it IS
> > possible that 'defaults' = 'noexec'...easily tested: thank you.

nope, it's not 'defaults', it's 'users':
from the mount manpage:

users - Allow every user to mount and unmount the file system. This
option implies the options noexec, nosuid, and nodev (unless overridden
by subsequent options, as in the option line users,exec,dev,suid).

IIRC 'user' has the same problems.
Regards,
Stuart

****************
Thank you, that is the likely answer. 'Defaults' allows 'exec', but you have to read further down in the options to see that 'user' or 'users' implies 'noexec'.

Thank you, thank you. Easy to test/check and I now think that could be the actual problem.....And the fedora recovery environment uses a different set of defaults, which would explain why I could run the configure script at /mnt/sysimage/keep/mythtv, but NOT as root at /keep/mythtv.

What it does NOT explain, however, is why I could not run the script EVEN THOUGH I WAS ROOT!. It would explain the failure of my attempts as user mythtv. But it does *feel* like progress. (Since if this is correct, I should be able to run the script as a user, using sudo...)

Fingers crossed.

Geoff

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux