Ubuntu :: Unable Yo Delete The Files Having Permission?
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).
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).
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.
I am using Ubuntu 10.04. I have a small HDD and I noticed that the weight of the folder .Trash-0/lost+found on my computer was of 2.6 gb.
I tried to delete the files in this folder, but it seems impossible. Even with using sudo I can't delete them because I am not authorized to do so. The files in the folder are quite weird, there are folder and files named like this: #7614692, #7613635 etc. Their groups and their users are also quite weird: -1933023744, 1624453254... Even from a live cd it is not possible to delete them. Also the date of the files is ****ed up, example:
- last access: "mar. 13 juil. 1943 15:26:11 CEST" - last modification: "mer. 12 oct. 2022 15:59:51 CEST"
I recently upgraded this partition from ext3 to ext4, so I would guess that it comes from here. But I don't know if these files where there before or not.
I'm trying to delete files on a USB disk. If I try using terminal using rm, because files are write only. I can't change this, even as root using chmod or unmount mount. When I use fdisk I still can't reformat, either as superuser or root. I get the following :
Disk /dev/sdh: 16.1 GB, 16064184320 bytes 7 heads, 37 sectors/track, 121140 cylinders Units = cylinders of 259 * 512 = 132608 bytes
I used imagewriter to create an iso for an os. I now want to remove the files that where created from this process but they are locked. I have tried to reformat the drive using partitioner but 2 USB drives show in dolphin after this process and the files still remain.
I recently bought a cowon S9 mp3 player because of its capabilities of playing ogg music files. I decided I wanted to remove some music files to replace with others bur after supposedly deleting them I found that there was 10gb still in use. After opening the folder for the cowon s9 and viewing the hidden files I found a "Trash 500" folder with the songs I thought I had deleted. The problem now is I can't delete this folder, even if I open the folder as root, it doesn't allow me to delete the unwanted files.
I have a few ubuntu servers which have samba shares on the network and for the most part have had little trouble with them. Recently we purchased a few iMac's for one of our deptartments and, while we're able to access the shares, all the files on them are read-only and we are unable to delete/modify files using the iMacs. This is not an issue with any of our windows machines (W2K, WinXP, Vista).
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$
I just can't stand knowing that there's a slight problem with my PC.I have roughly 12.5 Gigs of files, mostly movies that are multiple clones of a particular movie (which was an entirely different problem altogether) and I CANNOT DELETE THESE THINGS! There has to be a simple way to do it from terminal, problem is, I can't seem to find the trash directory in terminal.
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.
the 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?
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 ..
I have a triple boot system with Ubuntu 11.04, Windows 7 and Windows-XP on it. My disc configuration is something like this... ('cause I think it would be required for you to understand my problem) I have a 250GB hard disk which was originally partitioned with Windows-XP in six partitions C,D,E,F,G and H (All NTFS type) with 'C' drive having Windows-XP on it and 'D' drive having Windows-7 on it.
I installed Ubuntu on the 'H' drive by partitioning it into two halves of approximately 20GB each. One partition is named 'New Volume' as per Windows naming scheme. On the other partition I installed my Ubuntu-11.04 OS. As per my plan I would be using this 'New Volume' for all my Ubuntu related data and software only. I want to install 'Ant' build tool for Java to be usable on my Ubuntu. For this, as described on the Apache Ant user manual I downloaded the 'apache-ant-1.8.2-bin.tar.gz' and extracted it. All this I did in the 'New Volume' drive.
Now as per the 'Ant' manual I needed to change a file's ('/media/New Volume/ubuntu files/software files/apache-ant-1.8.2/bin/ant') permission to executable, which is currently set to '-rw-------' and I want it to be '-rwx------'. I've tried various things such as 'chmod/sudo' and also tried changing the permission with the 'root' user, but so far I've not been able to change the permissions for this file. However, if I copy the 'apache-ant-1.8.2' folder to '/home' directory then I've been able to change the permission for the concerned file.
My problem is with a file that I can't delete, or move for that matter.
My dad was just randomly saving pictures and deiced he wanted to trash it. I don't know what he did, but in no longer has a file name, just the extension jpeg. Now I tried to right click it and move to the trash, but that option isn't highlighted, same for the rename. When I try to move it, it says the file does not exist. Here is what is says exactly:
Error stating file '/home/ashley/Desktop/Ed/dads files/TV Shows/isis (joanna cameron)/jpeg': No such file or directory
i need to get rid of Ubuntu from my laptop but will be putting it back on my main computer. I've followed guides and it showed that you go into computer management and right click on the Ubuntu partition and delete it, but i can't do this. This is what my screen looks like -
When i right click the first partition, all it comes up with is 'Help' and not delete.
from several problems with ubuntu/linux distros, just to have the compuer with main windows OS, Ubuntu as a second and backup and puppy too after a week of madness codes sudos gedits installing reinstalling 2 3 may be 7 times.the system is now quite stable (i had to erase the lucid lynx because nobody was able to help me with the problem of the missing panels. ill have to wait for a fix..
now i have a fresh install of 8.04 (i had to uninstall it because i move partitions ad grub wents down, i tried EVERYTHING and nothing but reinstalling it)i used puppy linux to extract my files (home folder) and save it int a new ext3 partition, then when this ubuntu8.04 was OK, i tried to move my files back. i tried to doit from ubuntu, and i saw a little padlock on the folder, i tryed to move it, and i cant, then i restart to tryit form puppy, i was able to doit from puppy, then i restart again back to ubuntu, now with the folder in ubuntu partition i now have to put each file/folder where it was supposed to be, but again i saw some older with the padlock icon and with the same problem, that i can't move it because i have no permission. i tryed to find some help before opening this thread but all i want was to open a gksudo nautilus on terminal, but that doesnt fix anything, because that open a wibdows and i only can move "locked" files withing that folder, and those are my files i need to move it all the time, i can't open a gksudo nautilus every time i want to move one of my files.
So my old computer died. I was Dual-Booting Jaunty and Windows XP. Now I'm trying to recover my files from the hard drive, but of course, you can't do it from Windows 7. I could recover everything from the Windows Partition, but Windows doesn't even see the Ubuntu Partition.
So I popped in a Lucid Lynx live CD to recover my files, only to find out that several seemingly random folders within the Documents folder have a cross on them. When trying to access them I get a message saying I "Do not have the permissions necessary to view the contents."
What should I do now? I really need to recover those files!
I'd like to view the log files, but when I try to view a log (such as daemon.log), I receive a message that says "You don't have permission to read the file." What do I need to do to have permission? (This is my computer. I've been an Ubuntu user for less than a year
I noticed in my system that my root partition is getting full. I found a lot of old compacted syslogfiles. Had a look at etc/sysconfig editor eg cron but could not find a setting which allows to delete files older than a month. Where and how could I influence this ? I deleted manually all syslog files older than a month. Approx 6GB