Red Hat / Fedora :: Modifying Rights Of A Directory?
May 5, 2010i cant change rights of a folder although am connected as root, i typed : chmod 777 cdromand it said : read only acess
View 7 Repliesi cant change rights of a folder although am connected as root, i typed : chmod 777 cdromand it said : read only acess
View 7 RepliesI have a few FTP users on my linux server(running vsftpd). They all have their own directory and can upload and delete files in that folder.Now, I was wondering whether it would be possible to create special permissions/rights for users. For example, I would like to make it so that certain users could not upload .exe files, or I want a certain user to only be able to upload image files (gif, jpg).
View 2 Replies View RelatedI've installed Directory Server (LDAP). The setup has been done according to the tutorials online. Able to access the interface as well. So far so good. The issue I have is with permissions. I can assign file permissions to a user created in the Directory Server ( user not created on the local server). But the same can't be done for a group - alteast the way I currently see it. How could i assign file system rights to a group created in the directory server.
View 5 Replies View RelatedIs it possible to give user only FTP access / browsing rights for certain directory within /srv/www/htdocs and prevent same user to browse all other directories, even user's /home directory on that server?
View 8 Replies View RelatedHow can I become root outside of the terminal? I want to be able to manipulate the file system (i.e. move files, delete files, rename files) in the file viewer GUI (not sure what it's called; I'd say "Windows Explorer" if I were talking about Windows).
Also, how can I manipulate (move, delete, copy, rename) files inside the terminal?
I do understand how to move around (change the working directory) in the terminal, and how to become root in the terminal, and naturally I understand how to move, copy, blah blah blah. I know the basic basics (just letting you know, I'm not the type of person who knows less about computers than a rock does).
I updated the kernel to 2.6.35.10-74.fc14.x86_64 and had to reinstall and rebuild the kernel module for my ATi driver as usual, so I edited the kernel arguments at the grub splash screen so that I could boot into single user mode and install the driver (i.e appending the relevant line with '1'). The interesting thing is, the system booted directly into single user mode as root when the system started up. No password was required.
View 6 Replies View RelatedI cannot debug or resolve on a Fedora Core 8 machine. The problem exists in a Fedora 11 machine as well. I have a script that changes the default gw (I have 2 providers) if the link is down. The script runs very well when I call it from the terminal, however when I try to set a cron job to run it, it hangs in the middle of the script. I don't have any idea of what is happening, or how to debug but it seems to hang when running a command like: route add default gw [ip]
I can publish the script here, but it's fair an simple and the algorithm is:
- start
- Find out the current GW
- Find out the alternative GW
- Ping the current GW and capture the result
- if we have a fail then change the default gw to the alternative Gw and send an email, else do nothing
- end
The cron job is run as root, so I don't think this is a rights problem.
I have moved to a new place and they expect me to work without root access to my machine, but I need to compile and make some software. However I get the following error:
mkdir: cannot create directory '/usr/local/ope': Permission denied
chmod: cannot access '/usr/local/ope': No such file or directory
mkdir: cannot create directory '/usr/local/ope': No such file or directory
chmod: cannot access '/usr/local/ope/bin': No such file or directory
make[1]: *** [/usr/local/ope/bin] Error 1
make[1]: Target '_installall' not remade because of errors.
I have been allegedly been given admin rights - but do I need root to do this?
I am novice user of linux. I need to know how to configure firewall so my system cant be compromised...In windows my system was greatly compromised. keyloggers were installed without my approval and my desktop was taken on remote.What should I do so without my knowledge no software can be installed and i can close all ports and only open which ever port is required to open. What should i do so my desktop cant be taken on remote?How do I configure user rights? So only root and one admin can install softwares and no one else.
View 5 Replies View RelatedWhat is it? How do I remove a user's rights from accessing the interactive shell?
View 1 Replies View RelatedBasically I am trying to add a new driver[megasr] into the ISO image, hence performed the following :
1. Mounted the RHEl5.4 ISO image
2. Copied the initrd.img to a temporary directory, performed changes to add the new driver in the modules.cgs, updated the corresponding files and recreated the modules.cgz file module-info modules.alias modules.cgz modules.dep pci.ids
3. Copied back the newly created initrd.img file into the isolinux folder.
I tried to burn the ISO and install it, but it seems that the new driver does not get loaded. I am unaware of any other changes?
When I installed ubuntu on an HD with an existing OS it placed GRUB in the MBR without asking. Maybe there was an option that I missed? How do you I tell the installer to confine itself to the install partition and leave the MBR alone? (I'll use the system BIOS to select the boot partition).
View 9 Replies View RelatedI can use hexedit to manually edit one or two hex values in a binary file, but if I want to change many of the, this is impractical. Is there any tool that will take parameters like Code: someTool filename byteNumber replacementByte ?
View 3 Replies View RelatedI change the interfaces file to activate the DHCP service for my eth0.
How do I make the service active without booting the system. In other word, how do I run the modified interfaces file?
Hi All,
I am using legacy grub(0.9.7) as my boot loader. I want to add some code into GRUB stage1. But I am getting following error.
stage1.S: Assembler messages:
stage1.S:591: Error: attempt to move .org backwards
stage1.S:603: Error: attempt to move .org backwards
make[2]: *** [stage1.o] Error 1
It seems like Stage1 code is starting after BPB only. Is it possible to use BPB section for GRUB stage1 (GRUB is installed in HDD)??
If yes, how to change the code start to BPB section??
I have a server with Fedora 13 with which I would like to get NFS working. I have looked up multiple howto's and tutorials, but I'm having a problem not addressed by any of them.Official how-to, another how-to, and another how-to.I have verified that nfs-utils, nfs-utils-lib, portmap, and system-config-nfs are installed and running. I have verified that I have, in fact, shared the directory that I want to share, and that the proper permissions are set.
I had to go through some gyrations to get the Belkin wireless N router to allow my server to have a static IP. However, I can ping the server from the nfs client (a toshiba satellite running mint 8), and vice versa. I have (for now) disabled firewalls on both computers. I think I have disabled SELinux on Fedora 13 (for now).When I attempt to connect to the server from the client, the output looks like this:Quote:
aragorn ~ # mount -v 192.168.2.101:/test /home/kelev/test/
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Sat Dec 18 12:21:09 2010
[code]....
I use Debian Lenny and iceweasel as my browser on a gnome core desktop. I also use JFOREX (java application) for my trading platform. It works fine. The problem is when I click on portfolio statement in creates an error which states: "Error in launching web browser". I googled the error on the web and read some sites and it says that I should install gconf-editor and modify the URL handlers in order to point to iceweasel.
The problem is I am practically a noob when it comes to gnome and sadly I am not technical enough to understand the values that needs to be changed using gconf-editor.
I am using open suse 11.4 on my dual boot laptop, and am trying to access and modify files that I have on my windows 7 partition, not sure but think they are ntfs directories. I can access and view them but need to be able to modify them.
View 3 Replies View RelatedWhether we could hide the presence of a file by modifying the gid/uid?
View 1 Replies View RelatedDoes anyone know how to modify the Nautilus Navigation buttons :Is it related to the theme ? If so how can I modify them.
View 4 Replies View RelatedI recently started using remastersys to make distributable copies of my install, but I have a problem: since I chose not to include personal information, it doesn't include my current desktop theme or the AWN dock at the bottom in the finished live CD .iso. How can I change this behavior and keep the dock and my current icon theme, metacity theme, etc. and have it installed and turned on by default?
View 2 Replies View RelatedEvery time I do a fresh install, there are a number of manual config things to change. One of them is to modify /etc/hosts to add the local IP addresses to a computer name.Can this be done via the Ubuntu networking somehow ? It would be nice not to have to change some of these config files.
View 4 Replies View RelatedI'm having difficulty installing a MOD for Lpanzer because I can not modify any files in the file system because I'm not the owner. According to permissions Root is the owner. So how do I either tell Ubuntu I'm the owner? Or do I need a utility program to get things going?
View 3 Replies View RelatedDoes anyone know if it's possible to specify a screen location when opening a window in gnome? I have created a custom launcher on the top panel in gnome. It launches a bash script that I wrote, but the script requires input that can change. The launcher command is like this:
Code:
gnome-terminal -x bash -c "buildit"
The functionality of it works great. What I would like to do however, is control where the gnome-terminal window actually opens. It seems be random and based on other windows that are open. So sometimes it opens on the top-left of the screen, other times it's the bottom-left, etc.
I use Compiz as my window manager (e.g. under System > Preferences > Appearance > Visual Effects I have chosen the "Normal") with an Nvidia 8600GT (driver version is 260.19.06).
Is there some way I can control the screen location (maybe specify the x,y coordinate) of where I want this window to open? Ideally it would be great to force the window to open directly below the icon in my panel. Is this even possible?
Changed environmental variable PATH in Ubuntu after installing Android SDK. Now I am unable to login! Think I changed the wrong thing.
Can I undo my change?
I'm looking for a way to dynamically modify a fied in the SQL file.
Example,
INSERT INTO `TABLE` VALUES(1AADFDF,DFF33D,10023,SOMEDATA, SOMEDATA);
INSERT INTO `TABLE` VALUES(1AADFDF,DFF33D,10098,SOMEDATA, SOMEDATA);
[code]....
The third field in this SQL file is what needs to change to n+1
"10023" needs to change to "1"
"10098" needs to change to "2"
"10123" needs to change to "3"
"10983" needs to change to "4"
etc...
I tried with awk and sed, but since both require the usage of ' (single quote), my variable fails to get updated. I know i can use cut and recreate the sql statememnt, but i believe there should be easier way using sed or awk. Would anyone know of any creative way to get this to work in one-liner? This needs to be a part of the script preferable without making call to external file.
I am writing a program which modifies source IP address of packet before writing this packet to tap interface. I face only one problem with tcp checksum. I have current checksum, to get new checksum, I add new source IP address and add one complement of old source IP address. That is, I update checksum with difference of old and new source IP address. It sounds not bad but does not work.
View 1 Replies View RelatedThere is a file called elevator.c. It is written as a module (i.e it has specific init and exit functions). However we are not able to see it in lsmod listing. We are working on a project where we need to modify this file. Compiling every time we change something will be time consuming. Is it possible to compile just this file and insert it as a normal module?
View 6 Replies View RelatedI've implemented a python script in conky that shows my stock portfolio.But, in the output of last updated timestamp, I get a time several hours in the past. The url for fetching stock data is: [URL]This is a norwegian stock, and I also live in norway. So the timestamp is not translated to the stock market of where it came. I can't find any 'localizing' stuff in the url either.Now my question is this: The script puts the time into a variable, the varable now contains ex 11:23 Is there any way I can add 6 hours or so to this variable
View 3 Replies View RelatedAfter a recent hard drive replacement, I find that I can no longer boot my Ubuntu partition. It seems that Ubuntu set up GRUB to boot using the disk id, which is no longer valid. I've been using the old GRUB for a number of years, and have always used the LABEL= syntax to assure that the correct partition is booted. There is a dire warning in the /boot/grub/grub.cfg file NOT to edit it. With the old grub, it was just a simple matter to change the menu.lst file. What file DOES get edited to make the change for the new drive? Is there an easy way to get GRUB2 to use the LABEL= form that I know and love? Or is it easier just to reinstall Ubuntu when a drive gets changed?
View 4 Replies View Related