Debian :: Don’t Have Write Permissions To Edit Files
Apr 13, 2016
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
ADVERTISEMENT
May 6, 2010
I have apache2 running on my computer. I want to change the permissions for /var/www/ so that I can edit the files without a problem. Right now I can use the gksudo command, but I'd like to be able to have all the files available when using an IDE like eclipse.
I've read in several places that
Code:
chmod 755 /var/www
will do, but if I'm not mistaken that would give read/write access to anyone. I'm not in a production environment, so I'm not too worried about security, but I'd like to give anyone else as less permissions as possible. Would this be possible?
View 2 Replies
View Related
Jun 29, 2010
I am trying to write a script to edit text files formatted like this:
Code:
(MCAL@Contig766:0.30207,CGIG@CVIR_Contig1014:0.13977,(HASI@HDIS_Contig573:0.16828,(CAPI@LCIN_5594371:0.36581,CFOR@FQH745302RIQ7Y:1.91244)0.160:0.00019)0.939:0.15648);
There are never line breaks or spaces in the actual files.
I want to delete all instances of the character "@" and everything between it and the next "," (including that comma) or the next ")" (including that close parentheses) whichever comes first. My desired output file would be like this:
Code:
(MCAL,CGIG,(HASI,(CAPI,CFOR)0.160:0.00019)0.939:0.15648);
I figured out how to do this using sed for either "," or ")" but both looking for whichever comes first.
View 6 Replies
View Related
Jun 23, 2010
I've been trying to get the -perm option of find to give me all PHP files that are group writable. Should this work?
find -name "*.php" -perm g-w
View 1 Replies
View Related
Jan 28, 2011
I have a file server running 10.04. I have a user that belongs to 2 groups (users is the primary and IT is the secondary). I have permissions set up so that this user and other users that belong to the IT groups can read/write files and others have no permissions whatsoever. I have also set the umask to 0007 so that any files created have the effective permissions. My concern is this: since my primary group is users, is it possible for me to create files with the owner group IT for only this specific folder?
View 2 Replies
View Related
Apr 4, 2011
Write a short script that tells you whether the permissions for two files, whose names are given as arguments to the script, are identical. If the permissions for the two files are identical, output the common permission field. Otherwise, output each filename followed by its permission field
View 5 Replies
View Related
Dec 10, 2010
I'm new to debian ,I was trying to mount my NTFS partition but I did that only with read permissions I couldn't install ntfs-config(allthough I have ntfs-3g installed).So I want to figure out how to mount my partitions with read/write permissions automatically as the systeme starts ?
View 2 Replies
View Related
Feb 24, 2016
How do I do this?... I'm sick of running into this... permission denied :
I'm sudo and admin.
View 14 Replies
View Related
Feb 12, 2011
Trying 6.0 xfce on an old computer and need to know how to login as root to edit files?
View 2 Replies
View Related
Apr 27, 2010
I have one partition with XFS, after load the X I went to nautilus and I tried to copy any file into that partition, but I only can read not write or execute. my questions are:1. what parameters should change in fstab to change this? the current parameters are "defaults 0 0"
View 2 Replies
View Related
May 2, 2011
I need to add a user to the sudoers in my vps host and edit a couple of files and I just cannot make sense of visudo, vi or nano. The tutorials I find on the net just take too long to study and they are never complete, can someone explain what I need to do? I am running Debian 506.
View 8 Replies
View Related
Feb 22, 2010
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]...
View 4 Replies
View Related
Jan 19, 2011
I'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).
View 9 Replies
View Related
Mar 22, 2010
I tried using Nautilus - nada (under root no less). Tried using file browser (nada again) Tried going to "places" and the directory I wanted - right click, permissions won't let me change squat. The folders I want to change are shared folders on my network at home and sometimes I transfer files between computers to different places. Can't do it tho, cuz of the permissions. Is CHMOD the answer? If so, how do I do it? For instance, In terminal, I issued the command (as root) chmod 777 movies I thought this would allow any device in the house to write to this directory, but the permissions didn't change at all. So what do I have to do?
On my Ubuntu machine I simply run Nautilus as root and it allows me to do this.
So what's different in Fedora?
View 3 Replies
View Related
May 3, 2010
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 Related
Jun 6, 2010
How to copy and overwrite original bookmarks.adr file to /usr/share/opera/default folder. I can't change permission. Or if is a way to copy it as root ...
View 3 Replies
View Related
Feb 12, 2011
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 Related
Nov 11, 2010
Im trying to change a group to have read write and execute permissions on everything in the system through command prompt, some people told me to edit the /etc/group file but i don't have a file that exists there under that name, but the group does already exist, i just don't know where its located. Anyone have a clue where i can check or what to do ?
View 2 Replies
View Related
Mar 23, 2011
is there a way to give an application (controlaula) write access to a folder /var/lib/monitorprofe and files on that folder.
View 3 Replies
View Related
Feb 17, 2010
I want to write a shell script which will simultaneously collect OS user information and write in an individual text files.Can anyone tell me the syntax of the script.N.B. The user name will be mentioned in an array within the shell script.
View 8 Replies
View Related
Aug 3, 2010
I had some trouble with the netinst CD and I had to install lenny with the 6DVDs instead. My internet connection only works after I edit the interfaces and resolv.conf files manually. So my question is: can I do that from the netinst CD before it actually needs the connection to install everything? (otherwise I'll just need to use the DVDs.
View 4 Replies
View Related
Sep 29, 2010
Is there a way to write muzical notes and edit partitures in linux ?
View 3 Replies
View Related
May 7, 2011
I edit /etc/environment file and write there my variable by it's not effected, what i need to restart daemon that it's show on echo $VARIABLE.
View 1 Replies
View Related
Jun 18, 2010
i have sevrel hard drives among 3 pcs all (root of the drive)re shared (except os drive)one pc i use for captureing tv this drive has no write permission from my local pc but all other hard drives have read/write permissions
View 9 Replies
View Related
May 31, 2011
There are lots of tutorials and opinions on file permissions and web hosting.
So lets say I wanted to allow write permissions to the /var/www folder.
which would be best practice?
Chown -R user... allow a specific user to have write capabailities.
use gksudo nautilus (unsure what this does)
or open the folder to all parties.
If anyone has any opinions on file permissions in general or web hosting security then feel free to throw them at me.
View 4 Replies
View Related
Dec 29, 2010
I am digging the forum through and cannot find the answer. My problem is, the usb hard drive when plugged in get automatically mounted what is great. Unfortunately I get only read permissions, while need write too.There are no any entries in fstab, so I do not know what does handle automounting and how to edit options to force mounting with write permission to user (root obviously can write). Are they hald options or any other app does this? Where to edit them? The drive is not permanently ON, just switch it when need, so it has to work every time I put it on.
View 8 Replies
View Related
Nov 25, 2010
Is there also an chmod GUI for read and write permissions?
View 5 Replies
View Related
Nov 12, 2010
I am trying to change the write permissions on a file and On the screenshot you will see where i have underlined, its states i dont have owner rights to modify this file, how do I get owner Permissions when this is my installation..
View 9 Replies
View Related
Mar 29, 2010
Under debian i did this:
casey@t400:~/programs$ ls -l
-rw-rw-r-- 1 root root 2071 2010-03-28 05:15 urlgetter.cpp
Then
casey@t400:~/programs$ gedit urlgetter.cpp
and upon attempting to save the file, I get the error
"Could not save[...] You do not have the permissions necessary to save the file."
but I am a member of the group root:
casey@t400:~/programs$ cat /etc/group | grep root
root:x:0:casey
View 2 Replies
View Related
Nov 22, 2010
we have a data transfer network drive, shared via nfs and samba.But now I got the special demand to make any of the files read and wirteable, regardsless of the permissions they had before.With acl I get the right permissions (via default values) but the standard unix permissions overwrite this. e.g. when I have 644, it does not care that the group has write permissions)Does someone have an idea (except chmod via cronjob )
View 1 Replies
View Related