impossible situation. root is Permission denied to run a script with 777 permissions
how in the world is this possible?
Code:
-rwxrwxrwx. 1 ray ray 464 Dec 31 15:45 nospace.sh* Code:
[root@centos Dr_Who]# cat nospace.sh Code:
[ray@centos Dr_Who]$ d edit to add** yet i can cp/mv/rm/ any directory/file i desire in same directory(ies) |
Apparently you have SEL or are using ACLs in that directory.
Code:
-rwxrwxrwx. 1 ray ray 464 Dec 31 15:45 nospace.sh* |
not that im aware of. this is one of my NFS shares for my media server to the house.
Code:
[ray@centos Dr_Who]$ cat /etc/exports Code:
[ray@centos Dr_Who]$ df -Th |
found something, but not sure how to resolve the issue:
Code:
[ray@centos Dr_Who]$ mount | column -t |
Quote:
Code:
-rwxrwxrwx. 1 ray ray 464 Dec 31 15:45 nospace.sh* |
thanks, it at least gives me a direction in addition to what i found with the mount command above.
|
Quote:
Quote:
It should be easy to edit your fstab and remove the noexec flag. Not sure off the top of my pointy head whether it might be necessary to also change the NFS exports setup, so that migt be worth checking. |
Change in fstab from 'rw,user' to 'rw,user,exec'
|
Quote:
ray as user name is fine BUT ray as the group ???? -- odd it should be user = ray group = users the user "ray" should be in the "users" group and that group should be the one that the folder is set to ( the same as your HOME folder ) |
Nothing wrong in creating a group with the same name as your user and make that your main group. Some distros does it as default.
|
Quote:
it is uid, gid, and group all = 501 named ray. |
An individual group per user has been the recommendation for quite a few years now. Giving each user a unique primary group ID makes it possible to form groups that share directories without requiring people to be constantly changing their umask. When working in the group-shared directory, you need to have a umask that permits group access, but if everyone's primary group is "users", you need to turn off group permissions when working elsewhere or else every user on the system would have access to your files. With a per-user primary group, a umask that does not block group access, and a set-GID permission bit on the shared directories, it all works pretty seamlessly.
|
All times are GMT -5. The time now is 04:33 AM. |