General :: Change Permissions Of Rc.sysinit In Run Level 1?
Apr 6, 2010
While playing with my Linux box, I edited rc.sysinit in /etc/rc.d/ folder. But now when I boot into run level 3 or 5, I get complain that system cannot run /etc/rc.d/rc.sysinit. I boot into run level 1, and checked its permissions, which is rw-r--r-- . It should be rwxr-xr-x. I tried to use chmod to change its permissions, but it responded that "Read Only file system" Now how can I change its persmissions when in run level 1. In run level 3 and 5, machine does not boot. My box has Fedora Core 2 with kernel 2.6.20.
View 3 Replies
ADVERTISEMENT
Aug 5, 2009
What config file do you change to change default run level???
View 3 Replies
View Related
Feb 25, 2011
my rc.sysinit script has:
if [ "$FACTORY_RESET" = "1" ]; then
echo 'Reseting to factory config'
mount -o sync,remount,rw /boot
[ -r /boot/default.cf.2 ] && mv /boot/default.cf.2 /boot/default.cf.3
[ -r /boot/default.cf.1 ] && mv /boot/default.cf.1 /boot/default.cf.2
[ -r /boot/default.cf.0 ] && mv /boot/default.cf.0 /boot/default.cf.1
[ -r /boot/default.cf ] && mv /boot/default.cf /boot/default.cf.0
mount -o sync,remount,ro /boot fi
And I need to change last one to rw or comment it out until I write some other part of the installation, otherwise the whole system is ro and I can't alter or install anything. I guess that when my system boots put everything into rw, create the system and then move everythiong into ro, so I am locked out. If I remove the SD card and put into another system, how can I access the script and change it?
View 3 Replies
View Related
Aug 19, 2010
I want to edit the file /etc/rc.sysinit.But this file is used in redhat systems. Iam using opensuse 11.1, to find the corresponding file for the same in opensuse.
View 1 Replies
View Related
Aug 11, 2010
How do I change folder permissions without changing the permissions of the files within the folder?
View 6 Replies
View Related
Oct 13, 2010
I'm trying to set up my samba server so that all the shares are visible to everybody but that some shares can only be accessed by certain users. I have a folder Video that everybody can access without a username or password. I now want to create a share that only I can access called webserver.
This is my samba.conf
Code:
[global]
dns proxy = No
netbios name = DATABOX
guest account = nobody
restrict anonymous = no
browseable = yes
server string = server
workgroup = WORKGROUP
public = yes
security = share
[Video]
Writeable = yes
Path = /media/data/Video
Public = yes
[webserver]
Writeable = yes
Public = no
User = malteser
Path = /media/data/Webserver
Windows does not let me enter a username or password. I'm pretty sure this used to work.
View 1 Replies
View Related
Oct 16, 2010
Finally I managed to install my printer/scanner drivers.The last thing I need to do is to add the following two lines to 40-libsane.rules (which is a read only file):# Brother scanners ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes".How can I change permissions for this file or add these lines without changing permissions?
View 2 Replies
View Related
Jan 15, 2011
hello everyone, im having a problem when my computer enters in the run level 4 as the default when i start slackware. The strange thing is that it not seems that is a X window problem, it looks like more like a configuration problem in some part of the kde script to initialize the log in, because if i manually start the X service it works fine, i dont know what is the source. Thank you in advance for the help.
View 3 Replies
View Related
Nov 2, 2010
How do I set all *.java files in the current directory and all its sub directories to have read permission to all users?
I also want to set all files of at least 1 kilobyte in size in the current directory and all sub directories to have a group of admin.
View 4 Replies
View Related
Jan 6, 2011
I am having a USB disk.I want to change the permissions of folder on it from 700 to 755 (and all subdirectories in it)ls -l showstotal 26Quote:
drwxrwxrwx 2 tkmsr tkmsr 2048 2010-02-12 04:12 HPLAUNCHER
drwx------ 7 tkmsr tkmsr 4096 1970-01-01 05:30 vol1
drwx------ 1 tkmsr tkmsr 20480 2011-01-03 17:43 vol2
[code]...
View 7 Replies
View Related
Feb 4, 2010
If I try to copy a file onto a NTFS partition in Linux, I get a warning message Could not change permissions for <file-name>. Is there any way to suppress this message ? I can live with this message while I copy the files in terminal, but when transferring from Dolphin a modal dialog box is shown and it gets pretty irritating. I'm using openSUSE 11.2, on KDE 4.4 RC.
View 4 Replies
View Related
Nov 5, 2010
i have an ntfs mount that i wish to change permissions of individual directories.i have mounted many ntfs volumes successfully, mounting is not the issue. the issue is that when mounting, i need to specify 'blanket' permissions, owner, group etc. i have no idea how to change permissions for individual folders.
View 2 Replies
View Related
Mar 27, 2011
I'm trying to change the permissions of my external USB drive that i've plugged into my machine. It still reads user root and group root. I've tried chown -R kuier /home/kuiper/file Then chgrp -R users /home/kuiper/file But it still doesn't change permissions. I've also tried editing /etc/group and adding my name to plugdev group. nothing seems to be working?
View 1 Replies
View Related
Mar 23, 2011
I was unable to change the permissions for root node and for other users also. WE have tried all the possibilities like chmod and chmod -R 777 filenem. But we are unable to change that.
View 4 Replies
View Related
Apr 10, 2011
any way to change file permissions of NTFS drives? All my C programming files resides in a NTFS drive and I need to set execute permision on them in order to run. I tired chmod -Rv 777 /media/Programming. and also tired chmod 775 *.* after entering the folder in which all my files resides. but both these commands doesn't seem to have any effect on the files. I know NTFS doesn't use Unix file system and chmod command goes in vain.
View 5 Replies
View Related
Apr 19, 2011
I finally replaced my Windows with Linux.. However, I need to run applications and modify files that are on NTFS mounts. I am unable to change ownership, permissions, and groups on these files so I may modify them without having to copy. I have several times attempted to chmod, chgrp, chown, etc.. while logged-in as root user; however it is to no avail. The owner and permissions are still geared towards root. can I change ownership and permissions on NTFS files so I can modify them without having to convert/copy them over to ext4 or different file system?- Matbtw: I am using OpenSuse 11.4 and running Windows apps with VirtualBox (with Vista installation image). I still have Win7 on my computer (non-emulated) and I would like to keep some files on those NTFS partitions so when I occasionally need to boot into Win7 I can modify those files because Windows blows and doesn't support Linux.
View 5 Replies
View Related
Jun 16, 2010
I've checked out a subversion project with source c++ files in netbeans 6.8 on Red Hat 5.5. My machine has a dual boot with windows xp and RHEL 5.5 so I checked out the project on a folder called winshare which is a shared drive/partition (E: under xp) allowing both operating systems to access the contents. I've Fedora as virtual machine on xp and wanted to be able to work on the source seamlessly whether using fedora or RHEL.
Problem is that Netbeans is able to build the source just fine but I can't seem to run the generated executable. It has -rw-rw---- permission and the owner is the same user logged in (let's say user1) but no matter what I do, whether I change permissions as user1 or root issuing command chmod 777 -R /dir/where/file/is does not have any effect whatsoever on the executable as well as any .cpp or .h files (nothing that I need exectue permissions on .cpp but just to make a point).
View 2 Replies
View Related
Aug 9, 2009
My system (CentOs5.3) became erratic after i tried to change wholesale the ownership of the /FS. is it possible to change ownership or rwx permissions of files in linux? what is the safeguard available to preserve the consistency of the program files in linux against such an attempt by su?
View 2 Replies
View Related
Jun 29, 2010
I'm using Thunderbird 3.x on Ubuntu (Linux). When I save an attachment to my computer, the file gets saved with only the owner (me) having read/write permissions. In other words, the file gets saved as -rw
Frequently, I want my group to have permission, or to give read permission to everyone. Is there a way to do change Thunderbird's default file permissions so I don't have to do this manually every time?
View 1 Replies
View Related
Jul 16, 2011
I have a NTFS drive mounted at /media/bigbrother as my user. I have no trouble reading or writing to files here. I just created a link to /var/www using: ln -s /var/www /media/bigbrother/
The link is there however, I can't even open the folder. How should I go about getting access. So that I'm able to copy files from other systems on the network.
View 1 Replies
View Related
May 15, 2011
I have a Qnap 219p NAS to which I have connected a USB external harddrive. I can access the external harddrive from my windows box using the network share, but at first i couldn't access the folders. The permissions set in the NAS GUI for the external drive is correct and are identical to the permissions set to the 2 internal drives.
I ssh'ed to the nas and used 'chmod -R 770 /share/external/sds1' - this granted me access to the folders, and some files. I can open all files in the root, but if I go just 2 folders 'deeper', i can't open the files in this folder, and in the folders after that.
In ssh, if i navigate to the folder wher I cannot open the files and use 'ls -l', i can see that the permissions (770) hasn't been applied to these files. How can I get chmod to apply the 770 permission to all files, folders, subfolders and files in subfolders etc., without having to chmod every folder one by one?
View 8 Replies
View Related
Apr 18, 2011
I work with this travel company that host sites for different agents. They have ALL the sites in one directory and each site has its own search.php file. How can I locate, and change all the search.php files permissions to 644 in one shot? Is this possible maybe with the find command? I read the man page for this but I am not sure how to write out the command.
View 3 Replies
View Related
Dec 8, 2010
Im trying hard to get familiar with Linux Ubuntu and Im a bit comfused on one thing. Why can I run an Open Office doc just by clicking and in terminal a have to change the permissions to run it even as a root?I thought that in graphic mode Im the actual root no? And so when I run the terminal I should be still the root no?
View 4 Replies
View Related
Mar 2, 2011
Here is my fstab's content:
/dev/sda7/media/entfsdefaults00
/dev/sda8/media/fntfs-3g silent,umask=00000
[root@localhost code]# ll 2
-rwxrwxrwx. 1 root root 0 Mar 2 20:19 2
[code]....
View 3 Replies
View Related
Jul 9, 2010
My mac osx hard drive does not boot anymore and I would like to get my important files off before I reformat the hard drive. I have run into a bit of an obstacle -- there seems to be some permissions setting that are barring me from accessing the files I need to. I can see the Machintosh HD and can access some files. How do I change permissions for the entire drive and all it's directories?
View 13 Replies
View Related
Aug 19, 2010
I own an Acer Aspire One which has Linpus Lite installed. Last night I attempted to delete a couple of files only to find they are read only and that I cannot change the permissions by right clicking and changing the drop down menu from read only.
These aren't protected files or anything, they are files I've downloaded or created myself (one using the onboard web cam to test it).
I attempted to play with Terminal for a bit but as a newbie I got easily lost, not like I can fall back on command prompt knowledge from Windows!
I think it's somehow connected with the user which accesses these docs or tries to change the permissions. I also tried with an su- which meant I was using Terminal as root, however, I wasn't sure how I could then set the permissions for a particular file/folder within the file system.
View 14 Replies
View Related
Aug 13, 2011
i am trying to write a script that does the following..1. checks if a directory exists2. changes permisssions of the directoryi have written a script but it returns a message to say that the specified directory does not exist (but it does).my question is how to i search the entire file system as directory could potenially be anywhere. would cd or su be of any use here.
View 4 Replies
View Related
May 27, 2010
I have a directory that has a another directory inside it. The top directory is rather redundant since it only contains the one other one. Is there a way to delete the top level directory and have the contents simply "move up a level"?
View 6 Replies
View Related
Aug 3, 2009
Hi,
I am working on RHEL 5.3
I want to display a message to user whenever he/she moves from run level 2 to 3.
Sometimes, the last process that is coming up when i go to run level 2 is irqbalance and sometime it is anacron.
Is there anyway to find out which will be the last process that is coming during the run level changes?
Thanks in advance!
Regards,
Lakshmi
View 10 Replies
View Related
Jun 27, 2010
I posted earlier regarding an issue with my netbook not having the <>| keys while on Scandinavian layout (Acer Aspire One 532H). I never use the "Fn" key on any laptop I have and it's especially disposable on this Netbook. While digging around in /usr/share/kbd/keymaps/i386/qwerty I've got the fi.map.gz open but unsure as to which is the fn key. How would I find out which maps to the fn key?
View 6 Replies
View Related