Ubuntu :: Change Permissions To Open /proc/1 Thru All/fd At Once?
Jan 11, 2011How do I change permissions to open /proc/1 thru all/fd at once? In my case, that would be 1 thru 3357
View 5 RepliesHow do I change permissions to open /proc/1 thru all/fd at once? In my case, that would be 1 thru 3357
View 5 RepliesTrying to change permissions on a file in /proc/sys/fs/inotify. The command syntax are:
Code:
sudo chmod u+w max_user_watches
and the result is:
Code:
chmod: changing permissions of `max_user_watches': Operation not permitted Also tried to change it when logged in as root, same results. Parent directory permissions are dr-xr-xr-x, and are the same up the chain. Tried to change the directory permissions to u+w, that didn't work either. FWIW, /proc is part of the / partition, and it has ~600MB free space.
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 Relatedi want to change permissions for /proc/sys/net/ipv4/ip_forward and permission denied.when i want to delete it , operation not permitted.i know it is dynamically created file . but i want to chenge its permittion to read-only or delete it
View 2 Replies View RelatedI have a while(1) loop, and the error is: glibtop: open (/proc/stat): Too many open files This error occurs after about a half hour to an hour of running. I've tried running this multiple times, both with using glib_close() at the end of the loop, using glib_init() and glib_close() at beginning/end, and just using glib_init(). The strange thing is these have no effect on the actual glib_get functions.
View 5 Replies View RelatedOn my dual-boot system, 11.4 and win7, Iped out the Doc and DL folders in my home directory and replaced 'em with links to the ones on the windows side. It works great except for one thing: When I open Dolphin in superuser mode and change the permissions to make myself the owner of those folders, the change doesn't take. Is there a special trick to it?GEFPS: I plan to use openSUSE as my main OS, but it's easier to keep my data on the NTFS partition, because Linux speaksindows better than than Windows speaks Linux. Besides, that's where my data already lives
View 9 Replies View Relatedi had some issue with the machine rebooting multiple times, What happens is that the machine boots up and suddenly crashes and then boots up cleanly. I was going through the log files during when this occurs. I came across /var/log/syslog which i guess logs messages before shutdown. It has following messages which i think are causing problem.
Could not open /proc/26694/stat: No such file or directory
Could not read the file /proc/26694/stat
Could not open /proc/31128/stat: No such file or directory
Could not read the file /proc/31128/stat
Does any one know what these messages are?
Just installed a new CentOS with the control panel Interworx. Everything fine, BUT. I can't add new ipadresses cause there is no network device.When i do 'ifconfig' i get the following:
[root@cobra ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1C:C0:A7:25:9F
inet addr: Bcast: Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
[code]....
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 RelatedI have a script that needs to extract certain information form the /proc/net/ip_conntrack file once in a while. I do not wish to run this script as the root user.
Default permissions for the file is:
I can change it with:
But that does not stick after a reboot. Is there some configuration file for file-permissions in the /proc directory in Ubuntu Server 9.10? Or do I just have to stick a chmod line in some startup script?
I've got the F13 LiveCD that I was able to boot and use using the "nomodeset" boot option. From the desktop I'm trying to perform an Install to Hard Drive. I've read the Install from LiveCD post regarding the creation of a /boot partition and a / root partition. I've tried creating them without the LVM group and with. But every time I appempt to install I get...
An error occurred mounting device proc as /proc: mount failed: (9, None). This is a fatal error and the install cannot continue.
Hardware is a Sager 8887 (P4, 3.06HT, 60GB HDD, Radeon 9000 graphics adapter)
I'm new to Ubuntu Linux but have many years on windows platform. Please can someone help me with how to change the following items.
No.1 I would like to change the HORRIBLE!! YAK!! brown background color behind the word Ubuntu in the start up screen when the machine loads up (before the login). I have located the image file for this which I have found to be: /usr/share/images/xsplash/bg_2560x1600. jpg but the OS says that root is the owner and that I don't have permission to change this. So how can I change this for a color I do like.
No.2 I would also like to change the login dialogue screen style. I know this is possible but again I'm fumbling to see how I can do this. I have tried with the start up manager but every attempt fails, the settings don't take. Once again I suspect permissions are at the bottom of the problem?
No.3 Would like to have a colorful splash screen image on boot up, I've managed to remove the old one (small white 3 ring ubuntu logo on black background) but havent been able to install or replace with a new one. Its been incredibly frustrating, I'm feel sure I'm missing something simple here. Wondering if its permissions yet again?
Anyone who can offer help on any of the above, guidance or advise me would be much appreciated. Please bear in mind that I'm still very much feeling my way with Linux so keep it simple.
If this information excists here so sorry I was not able to find it. How to change permissions in Unbuntu for those people who are trying to change persmissions in a subdirectory.
Open the terminal and then type: Quote: sudo chmod yourpermission number /thenameofyourdirectory
Example:
Quote: sudo chmod 755 /directory
I have some errors when run the mount -all command: mount: wrong fs type, bad option, bad superblock on /dev/sdc5, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so Failed to open /proc/filesystems: No such file or directory
[Code]..
How do I change folder permissions without changing the permissions of the files within the folder?
View 6 Replies View Related I installed a new media drive that I will be using to share with a windows 7 laptop using samba. After days of frustration, I figured out that the sharing is not working because I have to set the permissions for the NTFS drive when it is mounted. Once it is mounted, using chmod, chown or right-clicking in nautilus does not work. As a result, when I try to access the files from my windows laptop, it keeps saying that it can't find the share (due to the permission issue). How do I change the fstab to automatically mount the ntfs drive, and have completely open permissions (read/write/execute by everyone)?
Code:
UUID=28ASDFGF4AABFA4 /media/media ntfs-3g defaults,blksize=4096,umask=0000
I'm trying to change the autoplay value in an .inf file that is embedded in my western digital MyBook; but I can't get past the read only property no matter what I try.
View 2 Replies View RelatedI have an external hard drive which has the mac os filesystem (hfs+) and it is read-only. I was trying things like 'sudo chmod 777 /path/to/my/drive' or 'sudo chmod -R u+w /path' but it wasn't working.
I just want to be able to have write permissions, anyone know how?
for some reason i am not allowed to change the permissions on my hhd i have a 3G partitioned off of it but i cant acess the other 290G what i can do to get permission
View 2 Replies View Relatedmy HD is partitioned in 3 volumes. The one witch is Ubuntu installed, I can change the permissions normally. The other ones I try to change the permissions on the properties and on terminal using chmod, but none of those work. They work only in the Ubuntu partition.
View 1 Replies View RelatedI have Ubuntu 10.10 and mythtv. I am trying to get recordings to appear in "watch recordings". I went to var-lib-mythtv-recordings to watch a recording. It wont play so I checked the properties and permissions. It says "You are not the owner, So you cannot change these permissions" I'm logged in as adminastrator and I'm the only one with access to this computer. I cant find a way to change the permissions.
View 2 Replies View RelatedRecently I installed ubuntu 10 on my machine. Installed using windows installer and it is installed in one of the windows drive. It didnt asked me for root password, so i used sudo -i to become a root user.
now when i was trying to execute a file named all.bash [URL].. using ./all.bash but it says permission denied error. I saw that the file have only read and write permission. I tried to change the permission by using chmod u+rx all.bash but it does nothing. Is there any way to change the permissions.
how to use permissions. I ran into a weird problem in which I am unable to change permissions as root. I have a file I've been testing commands on, and somewhere along the line I think I gave it zero permissions. Now I'd like to restore some permissions, but can't. Here's what I'm looking at:
Code:
jeremy@jeremy-laptop:~/test$ ls -l
total 16
-rw-r--r-- 1 jeremy jeremy 235 2011-05-17 13:15 onelink
-rwxr-xr-x 1 jeremy jeremy 27 2011-08-02 18:05 threecopy
-rwxr-xr-x 1 jeremy jeremy 27 2011-05-09 17:10 three.txt
[Code]....
I am trying to figure out how to change the permissions on Wine, so that the only thing the users on this computer can do is access the programs on Wine that are already installed. Here's what I did already:
- Accessed Home Folder
- Accessed 'Hidden' folder called '.wine'
- Right Clicked on 'dosdevices' and changed permissions to 'Access Only'
- Right Clicked on 'drive_c' and changed permissions to 'Access Only'
Now I need to know how to set these permissions in order to lock them permanently. Keep in mind that I am a newbie and may not understand in depth lingo regarding the terminal.
Im new to these forums heres my story:Windows 7 on my acer extensa 5230e became corrupted so i installed linux Ubuntu 10.04 on a 320 gb external hdd. I have installed Mixxx and am trying to create my own skins for it. But whenever i try and paste the folder into the /usr/share/mixxx/skins folder it says that I dont have permission toam an administrator... or at least thats what it says i have trie chmod a+w it but it says operation denied: Code: chmod: changing permissions of `/usr/share/mixxx/skins'
View 3 Replies View RelatedI've already formatted it 3 times, it works for 1 try then it turns read Only again. I'm looking for a fix that doesn't make me delete everything before I want to use it, because this is getting ridiculous.
Going into further detail:
Randomly when sticking the USB into the PSP the console/computer chooses that it's READ ONLY and you can't change anything in permissions.
i'm having issues with a folder which I cannot write to or seem to do anything else with? i figured i'd delete it and start again but i can't even do that!!
Code:
server@server:~$ sudo chown server /media/server/swap/downloads/incomplete/
chown: changing ownership of `/media/server/swap/downloads/incomplete/': Operation not permitted
[Code]....
Generally, I LOVE Ubuntu 10.04...best Ubuntu yet, IMO. But there's this one thing about it that really bugs me, and that is that all executable files on CD/DVD are set with very restricted permissions, including the 'Allow executing file as program' checkbox being left blank. Since CD/DVD's are read-only, I can't change these permissions the normal way or even just execute the files as root!
So far I've been able to get by with just copying the disk's contents to the hard drive and then running the program with altered permissions from there, but right now I want to install Unreal Tournament 2004 (the DVD version, if that makes any difference) and its Linux installer will not function properly from a local directory, so I'm stuck on this one.
Surely there's some way to alter the permissions for a read-only filesystem! Can't I just set system-wide permissions that would even apply to CD's and DVD's?
I just installed a usb card reader for my digi camera...how can I change the permissions from "root" to "user" so I can write to this flash drive?
It reads my pix just fine, but it won't let me write....
it is installed at /media/usb0
im trying to execute a file. When I try i get the message:
The file ...Installer.exe is not marked as executable. If this was downloaded or copied from an untrusted source, it may be dangerous to run...
So when I right click on the file and select properties>permissions and check the 'allow executing file as program' it instantly unchecks the box. I can't check the box.