Ubuntu :: Localhost Folder - No Owner Permissions
Jul 27, 2010
I have installed apache2, mysql, php .. they work great! but I can move, change, paste or anything in the folder sites_available (the folder for localhost) I am really confused right now! because I have used this with xampp in XP and it worked perfectly but I cant make it work in ubuntu! I cant test my php sites!
I am really noob about configuring linux! I think I don't have permission to do anything in that folder because when I try to paste my site there it show a error saying that I am not the owner! When I installed ubuntu first I created a username: "SHPETIM" and this username is administrator and has root permissions but sometimes there are somethings that I cant do!
Sometimes even in Terminal when I type in my password (the only password that I created when I installed ubuntu) it says FAILURE! I dont know what other password it may have that I don't know! I think there is a user with username ROOT and it has another password but since I am noob I dont understand this and I dont know how it works!
View 6 Replies
ADVERTISEMENT
Aug 11, 2010
How do I change folder permissions without changing the permissions of the files within the folder?
View 6 Replies
View Related
Jul 25, 2011
I am just wondering why this is happening. I just tried to use a tutorial to customize my GUI and give myself a custom launcher for Libre Office, and when I tried to copy the edited .desktop file back into my "/adam/usr/shared/applications" folder, it told me I didn't have permission to do this. I tried to edit the folder permissions and it told me that I was not able to because I am not the owner. Is there any way to fix this or do I have to re-install Ubuntu?
View 9 Replies
View Related
Oct 8, 2010
I have a disk that I access from several locations. I require that all the files created always have the same owner, at least group wise. I have different users (that are in that group) that need to be able to read/write all these files. I have these users access the files over samba, and sometimes locally on the server. I know that you can do something with a thing called sticky group or whatever, that files created in a dir with that flag will get the same group, but it has not worked consistently so far. It must also work for directories created by these users.The permissions should be 770 (chmod).Is there a way to set this up, that all files created always have the same group? Right now I am running a cron job every hour or so, to chmod and chown all the files to the right group, but this is far from elegant of course
View 3 Replies
View Related
Oct 28, 2010
Did a fresh install of Maverick, all is well but if I insert a video DVD, it won't play. But if I open Movie Player, etc. as root, I can play the individual chapters - that is I need to manually choose which chapter to play, it won't start at the beginning and play to the end. Have installed libdvdcss3, restricted extras, etc. I am a member of the "video" group.Data & music CD's work fine in the drive; data DVD's are fine also. Just no DVD playing with me as the user; nor does the DVD appear in my Places menu, etc
View 2 Replies
View Related
Apr 9, 2010
A colleague of mine has a Linux box (running Debian I believe) with an SVN repository on it. The repository directory and files 'owner' is my colleauge. We are both members of a group called 'users'. He manages several projects both Linux and Windows apps, while I have one Windows app. For the Windows apps, we both use TortoiseSVN via an SSH link to commit/update. Performing the command 'ls -l' shows the repository files and folders on the Linux box to have the following permissions:
-rwxrwx--- john users
However, when my colleauge commits to the repository, the permissions change to:
-rwxrwx--- john john
This then means I get 'Permission denied' when trying to access the repository myself as it appears that the group permissions have been overwritten with only 'owner' permissions. To fix this, a 'chown -R' command is applied to the files/folders to set the permissions back to owner/group, but each time he writes to the repository, the issue repeats.
View 1 Replies
View Related
Jul 17, 2011
In my /var/www directory, I have everything set up with:
user: www-data
group: developers
directories: chmod 570
files: chmod 460
Everything seems fine. Users from the developers group can edit files and all, but now we began using the Git repository, and whenever a user edits a file (ie. Joe who is a developer,) file permissions get screwed again. Now they're:
user: Joe
group: Joe
directories: chmod 755
files: chmod 644
How can I fix this so permissions remain the same?
View 2 Replies
View Related
Feb 8, 2010
When I use ls -al to show files downloaded from internet,
-rw-rw-r-- 1 427 6011 7544 Jul 20 2006 INSTALL
-rw-rw-r-- 1 427 6011 4229 Dec 9 15:36 Makefile.am
-rw-rw-r-- 1 427 6011 27893 Dec 10 17:47 Makefile.in
I can see the owner and group ids are shown because there are no corresponding entries in /etc/passwd and /etc/group respectively. I don't know much about linux and dare not to edit these files, I wonder if somebody already knows whether linux would map the owner id of files coming from other computers to the account name in /etc/passwd and display them when necessary (for example, when using ls -al)?
View 1 Replies
View Related
Jul 24, 2011
On 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 Related
Jul 11, 2011
My DocumentRoot is set to /var/workspace/www
drwxrwx--- 110 radek www-data 4096 Jul 11 11:34 www
Firstly i had 777 permissions on that folder (and all files inside), but i don't like it, because everyone can see it and change it.
As Apache runs under user www-data:www-data, i tried to set the group and permissions:
sudo chgrp www-data www -R
sudo chmod 770 www -R
After i done that, http://localhost started to show 403 - Forbidden. It just looks like apache is taken as "other" (from owner, group, other) in words of permissions.
What should i change (permissions, owners, whatever) to keep all files visible and changable only for me (user radek) and executable by apache?
As i can see, there's one Apache process running under root and many others under www-data.
radek@me:/$ ps -Af | grep apache
root 13165 1 0 11:37 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 13173 13165 0 11:37 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 13174 13165 0 11:37 ? 00:00:00 /usr/sbin/apache2 -k start
[Code].....
View 1 Replies
View Related
Apr 21, 2009
How can I make a virtual host (right now I just use NameVirtualHost *:80) that will load the same page for every domain that matches imap.domain.com, smtp.domain.com, or pop3.domain.com?
View 4 Replies
View Related
Jan 20, 2010
so running latest ubuntu 9.10 karmic koala. I installed from the terminal PHP and can browse to the localhost and everything looks cool.
I try to use gedit or quanta to save a file to /var/www/
Which is where the test index.php is located but I don't have the correct permissions! I am logged in as the same user I installed ubunutu under which should give me all the rights I need.
I need to give myself permission to write into this folder?
View 6 Replies
View Related
Sep 24, 2010
I have a 500GB iomega portable HD. I used Gparted to split the drive into two partitions, a fat32 of roughly 400GB and an EXT4 partition of roughly 100GB.
On my EXT4 partition, there is a folder called lost+found. I can't delete it because I need to be root, yet my account has administrator priviliges (but I CAN rename the folder). I can't create other folders on this partition, nor can I copy-paste and files on there either.
Basically, that partition is unuseable. In the properties of the folder, it says that I am not the owner so I cannot change the permissions. (It is definitely MY hard drive)
All options are greyed out.
How do I give myself permission to use this EXT4 partition?
View 8 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
Feb 7, 2011
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 Related
Mar 22, 2010
i have an old desktop that i have decided to use as a central point for localhost/website files. I have 2 laptops, a ubuntu and vista, and i want them both to be able to see the public_html folder on my desktop, and be able to create/update folders and files.
I have set up the samba sharing and that's working fine, but when i create folders using my laptop, they are not writeable to the desktop or other laptop because my laptop is the creator. Is there a way that I can set it so that whenever folders/files are created from either laptop, they have full permissions?
View 2 Replies
View Related
Nov 23, 2010
I opened up my Gimp brushes folder so that I can put a brushes file into the folder. Would not let me do it. Said I am not the owner and do not have permission. I right clicked inside the folder, same thing permissions grayed out, not owner. No apparent option to log in or do anything to gain permission. What can I do?
View 1 Replies
View Related
Nov 26, 2010
I'm trying to (hopefully) fix my audio glitch.I'm trying to edit my /etc/pulse/default.pa.I tried:
Code:
sudo chmod 775 /etc/pulse
and
[code]...
View 5 Replies
View Related
Jan 6, 2010
In trying to install an update, I deleted all the programs from my Ubuntu 9.10. Now I can not get my pictures, documents and music from the computer. I tried booting from a Ubuntu Live CD but when I get to the folder of my documents it says "you do not have the permissions necessary to view the contents of "My_Folder"". I tired the nautilus command but that only lets me view the files and not copy them.
View 3 Replies
View Related
Feb 4, 2010
I am running ubuntu using VirtualBox on a Macbook Pro. I wanted to share my documents folder on the Mac in the virtual machine. I had no issues creating/mounting the share folder on ubuntu. However the file permissions for the shared folder are owned by root.
Code:
drwx------ 1 root root 1088 2010-02-04 10:18 Mac_Share/
I used the following command to mount the folder:
Code:
sudo mount -t vboxsf Share_Documents ~/Mac_Share/
I checked that the folder is mounted I can see what is there using
Code:
sudo ls Mac_Share/
How do I make the folder accessible to the user? Is there another -option needed to do this in the mount command?
View 9 Replies
View Related
Apr 17, 2010
I have two drives in my computer: a 160GB and an 80GB. The 80 holds Ubuntu, the home folder, etc. The 160 is for other files. I need to change the read-write permissions on the 160, but I can't. If I do it through the GUI (right-click>permissions) it just changes back instantly. If I do it through the command line (even with sudo), it has no effect.
View 5 Replies
View Related
May 24, 2010
I may not be a code worrior, yet I have been a Ubuntu convert from Apple for about 3yrs now. Since 1984-2006 now hackers or viruses. And Until now Ubuntu has been clean, well I have been good with repos, etc.
1. Recently I found "Odd" behavior with my Amarok 1.4 player, ffmpeg, winff.
2. During a Synaptic upgrade there were some "unauthorized changes". I have seen this before due to some of my software, so I ignored it. . .
To my bewilderment, "It" erased Amarok 1.4 player, ffmpeg, winff, all image kernels, claimed domain over my system permissions, and external HD. B4 I shutdown, downloaded LUCID 10.4. . . restarted, then copied over all info possible to minimize a complete delete of my system. Upon restart, indeed all kernel images were gone, Only live CD allowed me access to repartition my HD.
NOW. I have Lucid running, and have been denied access to my external HD and partitioned (internal HD). I used Nautilus to copy over files to my internal laptop HD, yet permissions continue to be an issue. The INFECTED FOLDERS are owned by "User 999-user#999. I must micro manage every folder and file to gain "partial permission". The dialog box stutters and never allows me to go down to "Root"
View 5 Replies
View Related
Jul 31, 2010
I've tried updating from 8 to 10 using updater and it failed. I'm currently running off a LIVE CD and want to back up my files to do a re-install. My problem is that some of my folders are showing as "unreadable", that I am "not the owner" and I cannot seem to change the permissions for them. I also cannot seem to copy them to back them up. Have I lost these folders? Is there any way to retrieve them?
View 5 Replies
View Related
Aug 12, 2010
This is my 2nd time using my Ubuntu, I am using 9.10 because my laptop doesnt support 10.04 (need more RAM). So anyway I need to know a way to change it so I can edit files in there, I checked the properties and root has read only permissions how can I change this?
View 3 Replies
View Related
Jan 11, 2011
I'm trying to create a folder using the archive manager to install Resin (web server) in the usr/local folder but I get the error message 'error creating directory: Permission denied.'
Is this the easiest way to install an app--by using the Archive Manager--and if so how do I establish the correct permissions.
View 1 Replies
View Related
Jan 31, 2011
I'm in an organization where each user has a Windows network username, and a central windows server with a folder for each user. I can access the folder using SAMBA and my (windows) network user name. I want to change the permissions (sharing settings) for my folder on this windows server - using only Ubuntu.
Had i been using windows I would simply right-click on the folder, go to permissions settings and add/modify users in the list.First of all, is it even possible to do this using Ubuntu?
View 2 Replies
View Related
Feb 9, 2011
So I'm trying to put together a birthday present for my girlfriend. Here's the background. She just got back from a semester abroad in Rome. She's having a hard time getting used to living in the states again, so I want to make her a photo album with all of her pictures from Italy and the rest of Europe. Its a surprise, so I can't just get them from her. I've got her Time Machine, which has all the photos on it (I'm 'debugging' it for her, she's not so tech savvy). I've found the pictures folder, but I don't have the permissions to access it.
So the question is, I have her username and password, what do I have to do in order to read the file with all the pictures in it? I'm not a crazy stalker, in case you were wondering, I just don't know how to change my username to one that have permissions for the folder.
View 1 Replies
View Related
Feb 22, 2011
Recently I've tried installing Calibre from the Software Centre, but it seemed to be glitching as when I press Update Source, the 'In Progress' icon shows up, but when it finishes nothing changes - the Update Source button is still Should I report this?Anyways, I've installed Calibre from their website to .calibre in Home Folder. However, the folder is 'locked' as it requires root priveleges and I can't drop files there without being the admin. I'd like to reduce 'open as root' files to minimum, so I was wondering if there is a way to change the permissions of all the content in one operation, preferably using GUI, and not the terminal?
In addition I've noticed that other folders in my Home Folder like Pictures/Wallpapers require root privileges. This is really annoying as when I 'experiment' with Ubuntu I use Live CD to make sure I don't screw up the main system. When I do I can't open some files from hard disk because of those root inconsistencies
View 5 Replies
View Related
Jul 11, 2011
When I insert a CD/DVD, it is auto-mounted in /media, but the folder beneath /media has permissions of 500. This is a pain when sharing the drive over the network using CIFS. Anyone know how to change the auto-mount permissions to 555?
This is in Ubuntu 10.10
View 8 Replies
View Related
Apr 19, 2015
I have a Debian Wheezy 7 installation. When I turn it on it boots to the log in screen normally. However when I type in my username/password and try to login the screen briefly turns off for about one second and returns to the log in screen. I cannot log in.
This started happening immediately after I changed the owner and permissions for the "/tmp" folder and all of its contained files/directories. This is the only change I made to the system before the problem began. Immediately after I made the change, I rebooted the system and that's when the problem began.
View 13 Replies
View Related