Admin issues (chmod) on a Rocky 9 Linux box... logged in as root.
Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Admin issues (chmod) on a Rocky 9 Linux box... logged in as root.
My first post.
I have check forums... Virtual & Cloud / Desktop & Server, no posts seemed to have my answer, so I am posting this in General. Please move this to the proper forum at your convnince. Thank You in advance.
I am not an newbie. My first Unix/*nix was Santa Cruz Operating Systems some #of years ago but I am still perplexed.
I am hard logged in as root (uid=0, gid=0) on a Rocky 9 Linux Box.
I am attempting to perform a simple chmod on a "the_file".bundle file. No success.
"the_file" is actually...
VWware-Workstation-Full-17.0.2-21581411.x86_64.bundle
It's just easier to type "the_file"
My command line actions so for are as thus
# mnt /dev/sda1 /mnt
# cd /mnt
# chmod 744 "the_file"
No error message thrown.
but the following #ls -l
shows
# -rw-r--r-- root root time/date stamp "the_file"
No execute bit set.
I have also copied "the_file" from the /mnt mount point to the actual hard drive. Same results so I don't belive it is an issue with the USB stick.
Perhaps, but I doubt it, could it be because it is a .bundle file or it Vmware??? file.
It should not. To the OS it's just another file. I an still perplexed.
Any Input, insight or advice would be Greatly welcomed.
Yes. When you say # mnt /dev/sda1 /mnt, you don't suggest what filesystem might "own" that particular device. If perhaps it is not a "native Linux" filesystem, or if there are particular options in fstab, this could be an explanation for what you are now seeing.
I downloaded a 2nd copy of "the_file".bundle. There WAS a difference in the Byte count.
I moved "the_file" to /public and executed it. It added WMware-Workstation-Full-17.0.2...... to Apps.
Launched Workstation app. It returned, requires GCC 11.3.1. Downloaded and installed the Compiler.
I even copied a text book add2nums.c to /public. Compiled the .c file & run the a.out file successfully.
At least printf() & scanf() work. So I re-launched the VMware-Workstation & it returned this time with...
unable to install all modules, see log /tmp/wmware-root/vmware-226609.log
cat'd the lof file, mostly rotine stuff, however a few lines caught my attenion.
line 12: appLoader VMDEVEL not set
13: Using configuration file: /etc/vmware/config
38: appLoader Setup LD_LIBRAY_PATH
.
.
.
I cat'd /etc/vmware/config. Again mostly routine stuff. But it did show
vmware.fullpath = /usr/bin/vmware.
Thought perhaps the apps got confused, so I ran /usr/bin/vmware mannually. Same Results.
Again, any more inpuut would be greatly welcomed.
Thank you
Moved: This thread is more suitable in <Linux - Virtualization and Cloud> and has been moved accordingly to help your thread/question get the exposure it deserves.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.