Ubuntu :: Permission - Ability To Delete Stuff
Mar 16, 2011
I logged in via ssh to a computer and I can delete stuff that I should not be able to delete. I figured if the owner is different and the group is not mine and iit is 744 I should not be able to delete it...so I tested with "file1"..and I dont see my mistake:
users are "itv-storage" and "admin" on pc.
HTML Code:
itv-storage@pc:/RAID5/storage/test$ ls -la
total 12
drwxrwxrwx 3 admin admin 4096 2011-03-16 19:28 .
drwxrwxrwx 9 admin admin 4096 2011-03-16 18:37 ..
-rwxr--r-- 1 admin admin 0 2011-03-16 19:28 file1
drwxrwxrwx 3 itv-storage itv-storage 4096 2011-03-16 18:46 folder1
itv-storage@pc:/RAID5/storage/test$ rm file1
rm: remove write-protected regular empty file `file1'? y
itv-storage@pc:/RAID5/storage/test$ ls -la
total 12
drwxrwxrwx 3 admin admin 4096 2011-03-16 19:32 .
drwxrwxrwx 9 admin admin 4096 2011-03-16 18:37 ..
drwxrwxrwx 3 itv-storage itv-storage 4096 2011-03-16 18:46 folder1
itv-storage@pc:/RAID5/storage/test$
View 5 Replies
ADVERTISEMENT
May 3, 2010
I decided to install a game under Wine. It didn't work so I uninstalled it. The game still shows up under the Wine section. I tried going to the uninstall in the game folder and it said "Failed to change to directory '/home/user/.wine/dosdevices/c:/Program Files/Ubisoft/Gearbox Software/BrothersInArmsEiB/System' (No such file or directory)". When I go to Wine -> Uninstall Wine Software it doesn't show up, but the folder is still under wine -> Programs.
I brought up the directory and the folder doesn't exist. How can I remove it from the programs list under wine?
View 6 Replies
View Related
Dec 23, 2010
Slackware-specific i suppose as I sometimes run out of root space and want to delete stuff in /tmp.
Code:
#!/bin/bash
# ~/bin/cleantmp
# Script to delete contents of /tmp folder, giving the option to delete
[Code]....
View 14 Replies
View Related
Dec 21, 2010
I want to delete a folder with stuff in it through command line. I tired rm and rmdir but it doesn't seem to be working.
View 3 Replies
View Related
Apr 27, 2010
i tried to install the kiba-dock. i wasnt successfully in any of my attempts. i would get through about half way then have to find somewhere else that had different commands and advice. how do i delete the stuff that did save as to not fill my computer with crap im not using?
View 2 Replies
View Related
Mar 31, 2011
I got this part from my script working that it will delete a folder is from 8 days agoEightDaysAgo=`(date --date="8 days ago" +%d-%m-%Y)`rm -rf $EightDaysAgoTarHowever I need to remove files that are older than 8days for example if the script is'nt run for a day it will remove both the 9th and 8th day one not just the 8th day one. If I'm making any sense lol
View 3 Replies
View Related
Jun 1, 2011
Is there no good way to assign permissions so that users can create files, modify files but cannot delete them? I know there's the sticky bit, but all that does is say that only the owner (who is a single user) is able to delete them. Ideally, what I want is to be able to use the sticky bit, but apply it to the file's group, rather than the file's owner.
Here's the example: I have a folder that is shared publicly. I want people not belonging to the folder's group to be able to create files, modify files, but not delete them. I want the folder's group to have full control. This would be possible if the sticky could apply to the folder's group, instead of the owner. I've looked into ACLs, but from what I gather, it's still just assigning permissions "none" "read" and "write," none of which would stop someone deleting a file, while still letting them create or modify (unless they were the owner, which is not helpful).
View 7 Replies
View Related
Jul 20, 2010
I can't perform any of those.Except from the Terminal.I didn't edit any permission... nor installed anything.Don't know what to do.Also, "Move to Trash" appears grayed out, in the right-click menu (for all the files/folders).
View 8 Replies
View Related
Apr 23, 2009
I have a system in which I do not have root access to. On that system, I have my own directory which I share with other users. I am trying to clean it up when I noticed that there was a subdirectory created by another users in my group that I cannot delete. It has all the permissions set besides global write. How can I delete this folder without root permission? I can't even chmod or chown it.
View 3 Replies
View Related
Dec 16, 2010
I installed proftpd on my Ubuntu 10.10 install. I also run multiple websites that I want to allow ftp access to for 2 different users. The websites are located in /home/www/. This is where the guide I was following told me to put them. I also don't have a user named www.How can I give write permission to upload, delete, and edit all the files in /home/www/ for multiple users? They can connect to the ftp server and see the file, just not change them.
View 1 Replies
View Related
Jul 11, 2010
Code:
[serv@local subsys]$ rm -rf nagios
rm: cannot remove `nagios': Permission denied
[code]....
View 2 Replies
View Related
Apr 5, 2010
I have a near 200 GB partition. Fat 32.I was copying some files into that and suddenly my computer shut down due to overheating .. am having this problem for some days ..Anyway .. After I restarted it I found I am not being able to any thing except copying for the drive .. Otherwise I dont have permission.I cannot even change the permission into 'Create and Delete' while its saying "Read only filesystem" ..When I restart the comp, everything seems okay .. but after a few seconds the problem arise .. it become inaccessible .. I simply cannot even creat a folder ..
View 3 Replies
View Related
Apr 18, 2010
Instead of moving to trash, how can i make the delete button delete? Delete is already enabled on the right click menu.
View 7 Replies
View Related
May 9, 2010
SO after using Testdisk to recover some images, the folders recup_dir.1 & 2 have saved in my FIle System area, when ever I try to press delete noting happens. I have also tried rm -f -rrm -f -fIt still dont delete, I have also deleted my user account and made a new one, but the files are still there.
View 4 Replies
View Related
Sep 25, 2010
I am trying to use an old box as backup server. I have tried a couple of possibilities along the lines of:
Quote:
rsync -a --delete --progress --log-file=/home/$USER/info.txt -e ssh /home /etc root@192.168.0.106:/mnt/back
The problem is it does not delete files that has been removed from my local system?
I run the command as root on the local system.
(I realize I should properly not ssh into the server as the server's root but I'm having trouble with the permissions and I want to make sure everything else works before messing around with it)
View 2 Replies
View Related
Aug 20, 2010
Since using Ubuntu, I have always been amazed that I can plug a drive formatted on a Mac or PC, into a Ubuntu machine and it will see the files on the drive. Why is it that Ubuntu can do this and Windows can't unless you install special software so that you can read Mac or Ubuntu formatted drives on a PC. I really like this ability of Ubuntu a lot!!
View 1 Replies
View Related
Sep 6, 2010
I've been running Jaunty on my drive D: with XP Professional on a separate partition. Today I formatted a different drive, C:, which had previously shown up in GRUB as XP Home Edition, and placed a new XP Professional on it.
Now when both HDs are connected, C: boots without GRUB starting, and when I disconnect C:, the GRUB on D: starts, but cannot find the XP Professional NTDLR. I don't want to take up too much of anyone's time here with this; I'm mostly just curious as to what may have happened?
View 9 Replies
View Related
Oct 14, 2010
My needs require the ability to scan multiple documents each day. Ever since 10.04 my HP J4580 All-in-One scanner operation has progressively become worse. With 10.10 it completely quit working. As is so often the case, the HP J4580 All-in-One works flawlessly in Windows so I know it is strictly a Ubuntu related problem. Do a search of my threads and you will see that I have receive very little help with this issue. that is another problem I have been having.I have reverted back to 9.10 and all my scanning issues are resolved. I have followed several threads offering solutions with no success. I know the issue is with the removal of xsane from Ubuntu. Versions after xsane 0.996 is when the problem surfaced.On my system (desktop) I have been greatly disappointed with the last 2 releases. Firefox has even started having random crashes in 10.10. I tire of spending so much time trying to correct these issues.I will not quit using Ubuntu but I will not be using the latest two releases for a while. 9.10 worked great and I will keep it until support ends. You get what you pay for so I will not blast Canonical or the software developers. I would hope that prior working hardware would not lose functionality with the release of a new OS version.
View 4 Replies
View Related
Nov 4, 2010
When I type into a box that auto-completes, the window stops letting me type as soon as a suggestion comes up. I have to tab out of the window and come back to it.
This is mildly annoying for browsing on the internet and almost debilitating trying to use programs like Eclipse.
This occurred for me on 10.04, so I upgraded yesterday to 10.10 and the problem still occurs (and more problems!).
View 3 Replies
View Related
Mar 15, 2011
I just installed Boxee on my freshly built Mythbuntu machine. Being my first experience with an HTPC media center, I am impressed.
That being said, I began to link Netflix, MLB, and other accounts. I was looking for the ability to add a Netflix app, but have yet to find it. I attempted to use the Boxee browser to navigate to Netflix, which I did, but the mouse cursor would not select anything.
View 2 Replies
View Related
Apr 17, 2011
I've been using 10.10 for almost a year with no problems. Then last week I plugged in my MP3 player (ONDA vx777le) and it did not automount as it usually does. I have since found that any USB stick will not mount any more either. They show up in lsusb
Code:
ken@ken-desktop:~$ lsusb
Bus 005 Device 002: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub .....
I also see this in messages when I plug it in:
Code:
Apr 17 01:40:21 ken-desktop kernel: [24379.152035] usb 1-4: new high speed USB device using ehci_hcd and address 14
I'm assuming This happened with some update but I don't know what one.
View 1 Replies
View Related
Feb 18, 2010
Why is there no Delete when I right click like there is with Windows in ubuntu? Pretty much everything else is there like new folder and so on Is there some way to add it? Also why when i delete something does it not ask me if I am sure that i want to delete that file?
View 6 Replies
View Related
Jan 15, 2010
Upgrading from 9.04 -> 9.10 broke my ability to scan using iscan.
Scanner:Epson NX100 (all in one connected via usb)
Arch:386
iscan:2.23.0-3.ltdl7 (latest .deb from avasys)
xsane:0.996-2ubuntu1.1
xsane-common:0.996-2ubuntu1.1
sane:1.0.14-7
libsane:1.0.20-4ubuntu3
[Code]...
If I attempt to run as with escalated privileges, I don't get the error pop up window, but the window goes dark as if it stops responding and then it just closes with no stdout except ,"WARNING: Unhandled message: interface=org.freedesktop.DBus.Introspectable, path=/, member=Introspect"
View 4 Replies
View Related
Jan 21, 2010
I wanted to update to the latest ubuntu but was short a couple of gigs in my linux partition. So i created a Gparted Live bootdisk and repartitioned my hard drive: i took 5 gigs from my mac os partition and moved it to the linux partition...
After that i could no longer see any boot option aside from Mac OS when starting the computer with the option key held down. So i thought maybe rEFIt might be the solution (i have no idea what i'm doing really) and installed refit. I'm not sure what that achieved - i can still only see one boot option (mac os - although it's now named 'refit'...)
View 1 Replies
View Related
Feb 2, 2010
I am semi new to linux and i was getting the hang of it until just recently. I'm trying to do some web design using php and mysql. In my reference material (the all in one desktop reference {for dummies}). At some point I needed to do something in /var/www but I ran into a permissions problem so I typed:
Code:
chgrp -v -r guy0203 /var/www
405 chgrp -v -R guy0203 /var/www
406 chown -v -R guy0203 /var/www
Afterwards in some subsequent step it suggested putting the files in /usr/src/mysql. Since I didn't have that folder I used mkdir and created it. Then I tried adding the files I needed to that folder and got denied on the grounds of not having permissions once again. So tried something like this:
Code:
451 chmod 777 /usr/
452 sudochmod 777 /usr/
453 sudo chmod 777 /usr/
It was a 755 originally but I couldn't copy those commands. It turns out as that I had two terminals open in different desktops. one of them was a root terminal. It was at this point that realized that I was in that root terminal and decided I was done 'learning' for the day. I decided to listen to some music (which is located in my windows partion) and ran into a problem. The prompt that pops up to normally asks me for my admin PW to mount the drive. Now just vibrates like an incorrect entry was received, says authentication error and says I am not authorized to mount that drive then I went back to terminal to fix it, and when I tried to elevate myself to SU:
I got this:
Code:
guy0203@guy0203-laptop:~$ sudo su
sudo: must be setuid root
guy0203@guy0203-laptop:~$
I don't know what to do now but I think I totally killed this OS. If so is there anyway to save things if I have to reinstall?
View 9 Replies
View Related
Apr 17, 2010
I have created a boot floppy for an old machine. That machine has GRUB installed on its MBR and I would like to be able to chain load to that in the case where the floppy has been accidentally left in (in much the same way that the install CDs do for Ubuntu). If I use:
Code:
rootnoverify (hd0)
makactive
chainloader +1
GRUB tells me this is an illegal device name. If I provide a partition number (e.g. hd0,0) then it is happy, but attempts to find the loader in the partition, not the MBR. Since the descriptions of "root" and "rootnoverify" both specify a device, rather than a partition.
View 3 Replies
View Related
Aug 30, 2010
Well I use Shotwell Photo manager for all my photos and I love the app but I can't comment on the photo for a slideshow. So I want to put around 300 or so photos in a slideshow and put comments on them but I dont want to import each photo individualo to OO presenter.
View 1 Replies
View Related
Sep 23, 2010
Looks like 10.10 will have grub2 and so the ability to boot on efi system. I have a macbook pro 6.2.Will maverick install on this machine as normal dual boot with no need of refit support?
View 5 Replies
View Related
Dec 4, 2010
I use Xubunt 10.04, today when login, I found:
1)I lost ability to move application window. eg, The firefox window is stuck and anchored at the upper left corner. I can still resize by dragging the lower right corner. I notice the upper right corner resize tab disappears. If open another application, it is again anchored at upper left corner and cannot be moved.
2)under Settings>Xfce Setting Manager> Window Manager, all the icons are gone. Same inside Window ManagerTweaks. I used "xfce4-panel" in terminal, it doesn't help.
View 6 Replies
View Related
Jun 13, 2011
The problem is that KLauncher seems to periodically lose the ability to launch programs. Sometimes an error dialog pops up: "Error launching /usr/share/applications/kde4/ksysguard.desktop. Either KLauncher is not running anymore, or it failed to start the application." (I verified that KLauncher is in fact still running). Other times, the pointer icon bounces and the placeholder shows up in my task bar, but then it all goes away without any error.
There doesn't seem to be any pattern as to what's running when this happens, or how much memory is in use, or what I launch, or anything else. Sometimes, if I start closing apps that are already open, then the thing I tried to launch will start up. Other times, I have to actually log out and back in before I can get anything to start. Other than that, the desktop continues to behave normally. Nothing seems to be locked up or anything. It's very strange.
View 9 Replies
View Related