Ubuntu Servers :: How In World Can I Change Permissions Either On Drive Or Folder
Jul 10, 2011
I had an old windoz 2003 server running a few recreational web sites. I've grown tired of all the hacking attempts, FTP floods, etc. Ok.. I've grown tired of windoz period.When I set the server up, I had the operating system on one physical drive and stored all of the web files on a separate physical drive just in case I ever wanted to make some changes to the operating system.in my adventurous ways, I've dumped windoz and installed ubuntu 11, 32 bit server edition on this machine. It is running fine from what I see on the server side. The first problem I've noticed is when even attempting to navigate to localhost through the server's web browser, I get a permissions issue.
So... off to the drive where the httpd.conf file points to. This is the second physical drive. When checking permissions and attempting to change them to the correct ones for the folder, I can't change them. I've tried through the GUI and the terminal as root. Neither way will change the permissions.I've stepped back and checked the permissions on the physical drive the files are stored on. I am having the same issues with the drive itself. How in the world can I change the permissions either on the drive or the folder? Is there something I should do as far as the drive's mounting?
Every time I try to change file or folder permissions on a separate internal drive in ubuntu 10.10 desktop in sudo file manager, It sets it right back to the way it was before and doesn't save the permissions I want to change it to. The files aren't critical system files that are not even existent on this hard drive.
Its on a completely separate drive, Yet aren't I suppose to be in control of what gets changed to what? Instead of a Operating System doing something just for my safety? A simple AVI files permissions being changed shouldn't hurt anything. How to I stop ubuntu 10.10 from auto setting the permissions of my folders and files? Its really starting to me off right now. I've been looking around on google for Auto reset permissions for ubuntu, Haven't found one word about it. Yet I'm just going to assume someone might know how to resolve this? Or has dealed with this before.
I'm just trying to Forcefully set my folders on my separate drive all to 777 because they are all 775 and 755 and I can only access them with Write privileges if I run the SUDO file manager which I really hate having to do every so often I'm sure you can relate to how annoying it is to have to open up terminal and type something in to open a fully priviledged file manager.
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'
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.
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.
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?
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?
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?
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.
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
I just installed Karmic, but I can't copy an old user's home folder (/home/oldusername/) because everything is owned by root.I read but I'm concerned about messing up the system or the files in that old user's folder.So, how do I adjust the permissions of the files in /home/oldusername so that I can use openssh to copy them over my home network to my other computer? I have the ssh part figured out, but the files will not copy to the laptop due to permissions.
I've migrated to Suse from Mandriva. I installed all my backup folders/files to my "home" folder but they have come up locked. I remember in Mandriva to change the permissions I pressed Alt F2 and then entered a command. How do I do it in Suse?
I own an Acer Aspire One which has Linpus Lite installed. Last night I attempted to delete a couple of files only to find they are read only and that I cannot change the permissions by right clicking and changing the drop down menu from read only.
These aren't protected files or anything, they are files I've downloaded or created myself (one using the onboard web cam to test it).
I attempted to play with Terminal for a bit but as a newbie I got easily lost, not like I can fall back on command prompt knowledge from Windows!
I think it's somehow connected with the user which accesses these docs or tries to change the permissions. I also tried with an su- which meant I was using Terminal as root, however, I wasn't sure how I could then set the permissions for a particular file/folder within the file system.
I have a little problem: I have a share folder on Ubuntu server: - Dump That folder is share with SAMBA and everyone can put files on it My problem is the following: When someone create a folder, the folder permissions are automatically set with: (let's take my username: Yann)
Owner: Yann Group: Yann
Clearly that's wrong.. I want the Group to be auto set has "users" so everyone can access the folders on that share. Anyone know how to change this ? chmod and chown is getting a bit boring
I am having a few security issues with fedora15. they are like i cannot modify any folder in orher partitions of my HDD unless i am a root user. i have tried the GUI approach bt it doesnt help. there are more than a few hundred folders with thousands of files in total. tell me a way so that i can change permissions for one drive at once.
I'm trying to change the permissions of my external USB drive that i've plugged into my machine. It still reads user root and group root. I've tried chown -R kuier /home/kuiper/file Then chgrp -R users /home/kuiper/file But it still doesn't change permissions. I've also tried editing /etc/group and adding my name to plugdev group. nothing seems to be working?
I'm working on a remote Ubuntu 9.10 server, which is accessed via VPN. I installed Joomla, but had difficulty uploading new components, which I traced to a file permissions problem. I used FileZilla to FTP onto the site and tried to make the chmod changes I needed, but the commands kept failing. Eventually, I contacted the sys admin and told him I thought that there was an ownership problem with the directories. He checked and told me that I was logging in with exactly the same user name and password that he was using (it's not a live system currently) and that he could make chmod changes without any problems. Because all my attempts were still failing, he eventually did the following:
chown -R administrator:administrator /var/www
/var/www is where all the Joomla files are stored and Administrator is the user name.Now I find that when I run a chmod command in FileZilla, the server reports that it worked (see below):
However, if I go back and check the tmp folder permissions, I find that they are still set to 777.This still looks like an ownership problem to me, but I don't understand why the server seems to think that the chmod changes are working, when they aren't.
So i pulled some files off my buddy's computer via my wireless home network, i can access them but in the permission tab the owner is "nobody" so i can move the files. How can i change the permissions to enable me to move the files?
My mac osx hard drive does not boot anymore and I would like to get my important files off before I reformat the hard drive. I have run into a bit of an obstacle -- there seems to be some permissions setting that are barring me from accessing the files I need to. I can see the Machintosh HD and can access some files. How do I change permissions for the entire drive and all it's directories?
I am running Ubuntu Server 10.04 LTS with Kernel 2.6.32-22-generic-pae I was originally using usbmount to autmont the western digital external usb drive I had attached to the system and it was working great. However, while I was adding files to the drive i deleted all of the directories and files that came on the drive out of box such as 'autorun.inf' and an autorun directory containing an icon for the drive.. when I rebooted the drive was no longer mounted, I tried to un/reinstall usbmount a few times but it still didnt work, so I wound up adding the drive into my fstab, my fstab line reads like this
I'm still getting my head around setting things up on my web server, I've configured php to run off of Fast CGI, rather than mod_php, due to better memory consumption. I've managed to get my virtual hosts configured to work with fastcgi, ensuring the following options are set:
I tried adding those settings to /etc/phpmyadmin/apache.conf, but this doesn't seem to work. Whenever I go to www.mydomain.com/phpmyadmin , I just get a 403 Forbidden Error. This used to work no problems on mod_php.
[URL].. because the alias is set so that my virtual hosts can access it through /phpmyadmin. There is probably something basic I am missing here.
I would like to change the permissions for a directory and all files inside the directory how do I do this? The website is located only on my local network so I am not worried about security. Also what would be the optimal permissions for running wordpress.