Fedora :: Can't Install .bin As Su And After Chmod?
Nov 4, 2009
I wan to install a .bin file after I logged in as a super user also changing mod of the file doesn't work as proved through file properties I tried also chown but in vain here is a picture of the terminal:Quote:
[aratux@localhost downloads]$ su
Password:
[root@localhost downloads]# AdobeAIRInstaller.bin
Does anyone know of a trick or tool that will show me ther directory?Example:neatcmd.bash /dir1/dir2/file1 /dir1/dir2/file1 permissions are 0640Or does anyone know of a tool or command what would convert, for example rwxr-x--- to 0750 suppose it could be scripted, but I was trying to make sure I did not have to re-invent the wheel if something was already out there.
I have stipped down the test to the basics and still can't get it to work.I have a file called test.php stored in /usr/share/data/audio (an aliased directory in apache). This file simply contains the code...
Code: <?php fopen('play.xml', 'w') or die("can't open file");;
I've got a simple set of c code that I use to talk to the parallel port.I use this to control some electronics. For some reason #chmod u+x /usr/bin/lptout does not work when I do an $lptout 17 (or any other value less than 256. I've run this code on other redora boxes but it does not work on a specific laptop we are testing.
Any ideas on what chmod is use to let a not su - user use./usr/bin/lptout ?
************************************** Here are the directions I use:
$gcc lptout.c -o lptout as su - #cp lptout /usr/bin/ #chmod u+x /usr/bin/lptout as normal user $lptout 0-255 code....
I have a separate data partition on my F12 box with one dir for my children and subdirs for each of them. because they had no rw- rights and because they sometimes use one of the other logins to work for school I changed the permissions for their dir so that anyone has access. I used
Code:
# chmod -R 666 [their directory]
after that Nautilus displayed an empty folder even with 'show hidden files' on.however, with
Code:
ls -lh
on the dir and subdirs all the files seem to be present (luckily).
I'm trying to make a particular file accessible on my computer ( /dev/uinput ) without having to use sudo or su - I've set up a wiimote to act as a remote for my media player, and it requires access to that file. When I use chmod, chgrp or chown to change the file's settings, it enables access to the file - however, when I reboot my PC, the settings get reset, and I have to change the access rights when I first use it again. I've tried using the following commands to make the changes (substituting my username/groupname as user and group below), as root:
we have a customer that ran a sudo chmod +x -R * command on his / filesystem by mistake and now the machine cannot be accessed on the network Has anyone any idea what chmod command to run to restore the system to its original state ?
I want to give a mounted folder /mnt/folder access so that 'root and the group test have read write access' and all other users have read access I understand most of the chmod command, the users groups world etc but where in the 'command' do you specify which 'group' or 'user' you are giving the read / write access to? in all the tutorials i've seen no where do you specify the actual group or user.
I accidentally chmodded my entire /etc/ folder to 755 privileges.
It's not completely critical because my system is a home server.
My biggest problem is that MySQL is pitching a start-up message saying that I have 'unprotected key file', clamav is stating that it won't start until it has owner permissions...
I did chmod 600 /etc/passwd just in case.
"How do I see all the start-up complaints in a text file?"
How to use CHMOD in linux? When I try to delete a file/folder, permission is denied. What exact params must I give for chmod here? This is what I need to do. Execute a command ./build.mips , but I get permission denied error.
Well I did something really stupid:sudo chmod 700 -R /Why? because it's late and I'm tired and somehow thought it was only on my current dir...Is this somehow fixable? I don't get my usual loginscreen so I guess through an tty?
When I try to issue "su -", I get "su: Authentication failure", and I'm 100% sure password I enter is ok.
I think it started to happen after I issued chmod +s /usr/bin/screen chmod 755 /usr/bin/screen which I believe is unrelated to this problem, and, chmod -s /bin/su (-s by mistake) chmod 755 /bin/su which most probably made the whole mess...
this is not the part of the problem I believe but here's some background why I did that... when trying to make possible for screen sessions to be started automatically on boot under non-root account, I entered something like "su - username -c "/usr/bin/screen -dmS screenname ./executable-file"" in bootmisc.sh, but I was getting "must run suid root for multiuser support", so I tried to fix it, and now I can't login to root account no way.
I've got a Centos server setup as a web server and have no problems doing anything from the command line. Some users need to connect via FTP, and need to be able to chmod files and directories as they please. I've been able to allow the users to connect to the web directory via FTP, but can't work out how to allow them the ability to chmod anything within the folder. The files were originally uploaded by root user, however I want any user connecting via FTP to be able to edit permissions as they please.
For some reason I am having some issues with permissions of some images. They don't render because they are not set to 644. Now for some reason when I uploaded these files onto my shared hosting with cPanel the files work fine and permissions are fine. I can see there is a permission issue for the files locally on my Mac (OS X - El Capitan).
When I changes these locally on Mac the permissions go all weird and are prefixed with Custom, rather than mac-user-name: Read & Write, staff: Read, everyone: no access. then changes to custom: read & write etc. So then i tried changing permissions on web server see below and I get permission denied and after all the files are gone, i can't delete the images folder through SFTP or SSH. I changed back the image to 755 and tried deleting and still nothing. Not sure what the problem is. Before I chmod I checked that the images are set to the correct user and group as per the rest of the site.
So I try: Code: Select alluser_name@debian:/var/www/html/_files$ chmod -R 644 images
and I get this return: Code: Select allchmod: cannot access ‘images/box-icon.svg’: Permission denied chmod: cannot access ‘images/ie-icon.svg’: Permission denied chmod: cannot access ‘images/google-plus-icon.svg’: Permission denied chmod: cannot access ‘images/mobile-ready-icon.svg’: Permission denied chmod: cannot access ‘images/404.jpg’: Permission denied
i wanna use chmod() in linux x86 [debian 3.7.2 x86] but i have some problem in function argv
look at this function: Code: Select all int chmod(const char *path, mode_t mode);
and mode_t modes: Code: Select all S_ISUID (04000) set-user-ID (set process effective user ID on execve(2))
S_ISGID (02000) set-group-ID (set process effective group ID on execve(2); mandatory locking, as described in fcntl(2); take a new file's group from parent direcق tory, as described in chown(2) and mkdir(2))
[code]...
i know there is some problem in ecx and mode_t value/
I just finished setting up my home ubuntu home server. Installed LAMP and it works beautifully. The problem is everytime I upload a file through FTP into the server, the file changes permission even though I did chmod -R 755 www. Si everytime I upload a file to my server i need to run the command chmod -R 755 /var/www
or at least, it doesn't seem to. for some reason, my .txt, .doc, .rtf, and other files that shouldn't have the execute bit set often seem to (i think i know why, but that's not important). it's my understanding that this command should, for example, remove the execute bit from all .rtf files recursively (that is, from .rtf files in subdirectories too):
Code: chmod -R 666 *.rtf i've read help and the man page for chmod, and it seems that -R switch should make chmod work recursively, but it only alters files in the present working directory. could someone point out what i'm doing wrong?
I have installed php, mysql, and apatche. And i need the /var/www/ folder to be able to be read witten, and acsessed by anything. I have tried chmodding 777. But it still doesnt work.
it seems to me I can't get chmod to function recursively. I have a folder with a couple subdirectories in it and a few in each of those etc. Now, I want to give everyone read-write on all .c files. So, I typed in terminal:
Code: chmod -R 666 *.c However, none of the .c files in any of the subdirectories were touched, i.e. I could have accomplished exactly the same thing by typing
Code: chmod 666 *.c I did RTFM, and it seems that what I did initially should have been the ticket. What am I doing wrong?
I have been working closely to the Katana boot kit here recently, and this is bugging me. I am trying to use a new program to Katana called Forge. I have it on my flash drive, and I open the properties to make it executable, and when I click something it automatically changes back. I have tried the basic stuff, sudo nautilus.
I have spent the last 2 hours trying to get this to work and it is driving me crazy, I have a 11.04 box and have setup some zfs filesystems for data storage, I have 2 users and have created a group called media and added both of the users to the group. I have changed the group of the directory to media and have set chmod g+s
root@saturn:/tank/data# ls -l total 8 drwxrws--- 2 root media 2 2011-06-18 13:59 Backups drwxrws--- 2 root media 2 2011-06-18 14:26 Music drwxrws--- 2 root media 2 2011-06-18 12:44 Pictures
I'm having problems with chmodding a NTFS directory. I'm having problems accessing the directory through samba because of some missing permissions, but when I try to set them, nothing happens.This is what I do:
Code: root@proliant:/media# ls -l total 32[code].....
I also tried to replace 'hdd.1' with '/media/hdd.1' and 'hdd.1/'