Debian :: Full Permissions For All Files
Feb 24, 2016How do I do this?... I'm sick of running into this... permission denied :
I'm sudo and admin.
How do I do this?... I'm sick of running into this... permission denied :
I'm sudo and admin.
I have tried to configure an Enemy Territory Server in an way that a common user could run it just executing a command line. The first thing I did was writing a script like that
/usr/local/games/enemy-territory/etded +set dedicated 1 +set net_port 27960 +set fs_game etpub +set fs_homepath /usr/local/games/enemy-territory/27960 +set sv_punkbuster 1 +set +exec server.cfg +set +exec punkbuster.cfg +set +exec bots.cfg
and then putting it in the /usr/local/bin directory. Ok, the things seem to be fine, but then I realized that the program tries to write some config and log files. I noticed that because some warnings appear in the command line, like that Couldn't write etconfig.cfg always that I run the command as a normal user. On the other hand, if I give writing permission to these files, all the warnings disapear.
But I don't think it is a good way, because someone could change these files by hand, what would not be good.
My last try was to set the suid of the script up, with the command chmod u+s /usr/local/bin/etded-server
But as I already knew that suid does not work well with shell script I wrote a C source like that:
[Code]...
I got Whonix set up, and everything in place to be running correctly and I was on cloud nine. The only problem I'm having is that whenever I try to go in and change my index.html files in /var/www/, or really do anything (add new file/folder, save or delete a file) I get the message that I don't have the right permission to do anything other than open and close the folders and files.
View 10 Replies View RelatedI'm new to Debian. I've read the documentation on this but it is too heavy for a new user to understand. I would like to change the default permissions for newly created files/directories.
I want all newly created files by 'user1' to have the default permissions of:
1. "owner can read and write"
2. "group can read and write"
3. "other can read only"
Permission 1 and 3 are already default. But I would like number 2 to be default as well. (the current default for group is read only).
I am currently running Ubuntu Studio (a variant of Ubuntu 10.10), dual-booted with Windows 7. For convenience's sake, I have three partitions - one for 7, one for Ubuntu, and a third shared partition, for all of my non-OS-specific media, documents and programs. I am using RhythmBox Media Player, and have it pointed at a folder on the shared partition as a music library.
However, every time I boot, I have to re-mount the shared partition, which requires re-entering my login password. In a similar vein, when I'm installing programs in terminal (doing 'sudo apt-get install [x]'), I have to re-enter my password each time I do a sudo command. Is there any way to keep super-user permissions until I choose to drop them myself? Better yet, can I make it so that logging in as the admin account automatically instates super-user privileges?
Being new to Linux, i've just about got used to the Debian setup procedure now, but had a quick question on the default ownership of files and folders. On my default Debian installation, almost all the folders and files are owned by root:root. Is this the correct advised configuration or should the folders and files be owned by a user without root permissions - eg user:user?
View 12 Replies View RelatedHow can check that I have full permissions on anything should I set my self as root? There are a lot of files it said your not the owner so you can't change but if I'm not the owner then who is?
View 9 Replies View Relatedhow do i give full permissions to my account? At the moment i'm logged onto root so i can create files / folders in my LAMP folder (/opt/lampp/htdocs) i've right click on the folder and gone to the permissions tab and give the ownership to my account (Kevin) but it still doesnt let me create files or folders? i just want to give my account full permissions to every folder!
View 4 Replies View RelatedThe issue I am having is that Virtual Box does not recognize my USB drives. I understand that it is related to the fact that Ubuntu cannot recognize the permissions on the USB NTFS drive. So how do I mount the ntfs drive and gain full permissions?
One post suggested that I have to join my user to the 'vbuser' group in users and groups to fix this in 9.04, but I do not have a "vbuser" group in my list of groups. I am running 10.04.
I have a Ubuntu 10.10 server and I would like to have full access to / from my Windows 7 box so I can modify config files and such.
I have already installed Samba and created a local user on the server for myself.
I am at the point where I need to create the share to / and give my user read/write to it.
Additionally if possible I would like for it to be a hidden share for additional security.
I have one drive for Kubuntu and 4 other NTFS drives. When I'm using Ubuntu Desktop Environment (GNOME), I seem to be able to delete files, create new folders, files etc, in all the NTFS drives. That is, I have full permissions to make changes in the NTFS drives. But when I switch to KDE, this isn't possible. Options like rename, delete, cut, etc, aren't working, they aren't highlighted.Is there any way I can have full permissions to modify NTFS drives in KDE?
View 2 Replies View RelatedHow can I format a USB hard drive to ext3/ext4 or whatever file format and have full permission to read, write and execute all files afterwards? When using the command line (as ROOT of course) mkfs.ext3 /dev/sdb? Restricts the rights to ROOT as does the procedure gParted. The man mkfs did not help much. Configuring the fstab- file is a bit of a hassle, so it would be nice, if there was an option to set the permissions "correctly" right from the beginning. Setting Ubuntu (I'm using Ubuntu 9.10) up, so that it mounts USB devices not as ROOT as default but giving all users all permissions seems to be really complicated, as a guy from my local LUG told me.
View 10 Replies View RelatedAs the title says, I've just given ubuntu full filesystem permissions. I used the following command thinking it would change the permissions of the folder I was in.
sudo chmod -R 0777 Is there anyway of reverting the permissions without doing a full reinstall?
However saying that, i'm doing a full reinstall just incase.
I have 4 machines; all multiboot. I want each machine to have full rw access to file shares on each other machine, AND, full rw access to the other partitions on the same machine home folder for UNbooted OS's. I imagine Samba will NOT handle all these configurations? What else do I have to do, so that, for example, if I have 2 machines on, and I boot up a third machine in another room, it will auto mount the other 2 machines' shares, and it export it's own shares to the other 2 machines? I want also each machine to have full rw access to shares on the UNbooted partitions of each machine.
View 1 Replies View RelatedI'm a new user for oracle,tried to install oracle 10g on redhat linux 5 but gettinh the same error message. response/ runInstaller [oracle2@localhost database_10201]$ sh runInstaller_runInstaller: line 54: /tmp/database_10201/install/.oui: Permission denied_
how to give full set of permisions to an user in linux to access a folder?
I have a Kingston 8gb Datatraveler that has been giving me troubles lately. For some reason after I delete files from it it still shows up as full and the files are shown in the hidden trash files. How do I get rid of these files? I can't delete them as they just show back up. Also, I tried to format the drive with gparted and it won't unmount. When I right click and select information, at the bottom it says: Unable to find mount point. Unable to read the contents of the file system. Because of this, some operations may be unavailable.
View 1 Replies View RelatedHow do I change folder permissions without changing the permissions of the files within the folder?
View 6 Replies View Relatedthe permissions for my home directory were accidentally changed from 'access files' to 'create and delete files', and I changed them back, but ever since then I am not able to change any preferences/settings at all. power management, themes, panels, emerald, anything. my user account is supposed to be the administrator, and all the user privliges are checked. how to get control of my computer back?
View 9 Replies View RelatedNow I have set up a terminal server at work, with Ubuntu 10.04LTS and Free NX terminal server. All works great, over all expectations. But I have some file permission problems. In the home folder I have mad a folder where files that all users should have full access to is put. The problem is that when a user puts a file there, only that user have full access to that file, other users only have read rights. How can I make it so that all files put in this folder have full rights for members in the group "staff"?
View 3 Replies View RelatedI am having trouble with my HDD.
Here is how Disk Usage Analyzer looks like:
But I can not find any files there to delete.
Trash is also clean.
Code:
server:/home/mal # cd /backup/
server:/backup # du -hc *
17G export
4.0K lost+found
20M rman
8.0K sqlnet.log
4.0K test.sh
[Code]...
I want get the information from a directory full of files.
What I have so far is this:
Code:
find <path> -exec head {} ; | tail -2
My question is, how do I get that certain section from each file, since tail will only affect the last file. I've tried piping head and tail to sh but that's not available due to permissions.
When installing ubuntu on a dual boot system, I noticed that it had the import option for basically the documents and settings folder from windows, which is brilliant I think, but my question is, if during the installation of ubuntu, I tell it to use the whole drive, will that option still be available? It's basically asking if I can do that before formatting the box.
View 6 Replies View RelatedI just installed Ubuntu in full installation. But then my Windows 7 file went bye-bye. I tried to see if everything were really erased from my drive. But then it showed that I'm still using 40G out of 250G of my disk. Why is it like that? Can those file still be recovered? My Windows 7 loader was actually erased. Can I still install Windows 7 even if Ubuntu already used the whole drive? And also, how can I delete partitions to make my HDD turn into a whole and single Drive before I install Windows 7?
View 1 Replies View RelatedMy main storage partition got full, so I'm deleting files to make room. However, df -k keeps reporting no space available on that partition (/disk). Here's the output of the command several minutes apart while another process is deleting a 30G of space:What can I do to make the space available immediately?
View 4 Replies View RelatedI am basically Linux/Ubuntu illiterate.(just in case the question itself did not make that clear)
View 14 Replies View RelatedI have limited experience in terminal, but let me first explain what I am trying to do to see if there is some easier way to do it. Basically I want to change the skin in aMSN. I downloaded the new skin but am unable to unzip or move it without /root permissions. I don't know how to acquire this without being in terminal. So I figured there had to be some way to go into the terminal and use it to move the unzipped folder from the desktop to the aMSN skins folder.
View 3 Replies View RelatedI was happily running F10 and against my better judgement when it offered to upgrade me to F11 I decided to give it a try. The F11 install hung at 893 of 1626 packages installed. Some SE Linux package was in process of install. On the next boot the installer fails to upgrade for a corrupted root. It says I can backtrack and do a full install, but crashes with a bug when I choose backtrack.
So here is my question - Can i edit the command line and tell the installer to full install rather than upgrade? Or am I stuck with downloading a DVD ISO and doing a full install that way. I've done F8, F9 and F10 so full install from DVD doesn't bother me.
I am using OpenSuse 11.2 (64 bits) with KDE 4.3.1. My hard disk partition contains 3 areas : / + /home + swap. Frequently the / area is filling with, I suppose, temporary files until it is full (15 Go) and that in a very short time, typically about 5 mn. Then, these files are cleaned by the system, when disk space is needed I suppose. The point is that during this time, the system goes slower and slower until the "cleaning". That seems to occur only when Firefox (3.5.6) is running so I suppose that these files are temporary internet files.
View 9 Replies View Relatedi built a rpm package, which i figured out later that i wont be needing, so i deleted the rpm file and also the build package put together they were abt 5.8 GB... but my system monitor shows that only 700MB of space is available the 5.8 GB is not visible but its gone
View 9 Replies View Related