1
vote
0answers
27 views

Why MTP mounted files belong to root?

Xubuntu Saucy and an Android device running Kitkat. I connect it to my computer and it is mounted as MTP but the files on it belong to root so I can't modify them. Why is this and how can I change it? ...
1
vote
2answers
141 views

Linux dropfolder where users can't delete files

I am working on a file server project for school and I am using samba to share the folders. I have been playing around with the folder permissions but I can't seem to figure out how to make a drop ...
0
votes
0answers
124 views

Setting default UMASK to “027” and USERGROUPS_ENAB to “yes” in /etc/login.defs

I don't understand the following from: /etc/login.defs # If USERGROUPS_ENAB is set to "yes", that will modify this UMASK default value # for private user groups, i. e. the uid is the same as gid, and ...
1
vote
1answer
106 views

How to extract archive or change permissions when there are “read-only file system” errors?

I am using Ubuntu 14.04 and having a problem changing the file permission of a .zip file. I can neither extract it nor change file permissions. When I extract it by command unzip ...
0
votes
0answers
37 views

Do write permissions for my running daemons change if I log out?

I have the following issue. I'm running a daemon (darkcoind) which writes everything it needs to a directory under my $HOME path in ~/.darkcoin. As long as I'm logged in, everything works fine and I ...
1
vote
1answer
145 views

Delete files on HDD while using LiveCD

I've got a little problem. After installing the latest upadates Ubuntu 13.10 (IIRC) and rebooting, I can access the GUI log-in interface, but after entering my password the monitor remains black with ...
1
vote
1answer
133 views

File Permission In www/html Directory For Security

How can I give permission to directories and files in www/html for security. This files have an .js , .php , .sh extensions.They execute in www/html by apache's user(mine is www-data). When I give ...
0
votes
0answers
25 views

Recovering encrypfs Encrypted Home from LiveCD [duplicate]

Background: I have this laptop that I installed ubuntu on a while ago, I think it was lucid lynx? I am currently more updated and on 12.04. Anyway at that point I didn't know the first thing about ...
3
votes
1answer
129 views

How to edit a protected file if I have no direct access to the filesystem?

I changed the brightness of my machine by editing the /etc/rc.local file and adding this line echo 10 > /sys/class/backlight/nv_backlight/brightness before exit 0. After reboot I can see that it ...
1
vote
2answers
186 views

Read only filesystem problem

I created a folder and I did: chmod 777 anotherFolder/ I ran: sudo mount -o loop folder/isoImage.iso anotherFolder/ The permissions of anotherFolder/ changed to "Read Only" and I can not chmod ...
2
votes
1answer
642 views

couldn't open output file: Read-only file system

I just installed Ubuntu. My problem is I am attempting to write a log file to home. I am using logcat from a python module called adb. When I attempt the terminal command adb logcat -f <path> I ...
5
votes
1answer
95 views

What is the significance of permission of `/etc`?

Trying to replicate the problem described in "/etc/profile permission denied!" where OP of the post in her comments mentions the permission string for her /etc directory being drw-r--r--. I issued ...
0
votes
1answer
567 views

How to access the root account home folder? [closed]

I want to access the root account home folder to delete some files because when I logging to Ubuntu 12.04 it says that no enough memory to write after typing the password. But i can log into guest ...
0
votes
1answer
349 views

Some image files won't be displayed by Apache, returns 500 error (file ownership/permissions)

I just copied all my files from one Ubuntu server to another, and everything works fine, except that Apache returns a "ERROR 500 - Internal Server Error!" on image files that on the old server was ...
0
votes
1answer
34 views

Creating folders on an ext2 unjournaled drive

I'm currently trying to create a writeable folder on a ext2 drive. I took a usb drive and formatted it to ext3 using gparted. Then I went into terminal and wrote in sudo mkfs.ext2 -j -I 128 ...
0
votes
3answers
2k views

Get the access to the folder file system/root

I am using a live version of Xubuntu on USB for a extraordinary maintenance of my PC. I have to copy a single file inside the folder file system/root. Currently I can browse the complete folder file ...
0
votes
1answer
58 views

regarding file copying in ubuntu 12.04

i have to replace my hard disk drive (not a usb type HDD, 500gb) so i have backed up content to some other hardisk (not a usb HDD, 80gb). Then i brought a new HDD also installed ubuntu 12.04 & ...
0
votes
1answer
115 views

new file default execution permission? [duplicate]

I can't figure out why I don't have execution permissions on files I create by default. I don't think I messed with any Ubuntu permissions, it's pretty default stuff. When doing some research I found ...
0
votes
1answer
3k views

How to let MySQL (mysqld) to create and write to “/var/run/mysqld” directory?

I really don't understand how all those privileges work in Linuxes. To start MySQL server mysqld program has to write its .pid files to /var/run/mysqld/ directory. But we know from FHS (Filesystem ...
3
votes
2answers
3k views

chown -R user:user .* changes permissions backwards: is this the correct behaviour?

I got into a lot of trouble when changing the permission of a folder myfolder residing in /. I issued the command sudo chown -R luca:luca /myfolder/.* My intention was to change ownership of all ...
0
votes
2answers
738 views

How to prevent standard users from accessing other file directory in ubuntu -12-04 desktop? [duplicate]

I need to prevent/restrict standard users from accessing directory like bin,boot,dev,etc,lib,media?
1
vote
1answer
2k views

Access USB Flash drive from Wine

Im trying to use recuva (a file recovery program) on WINE because some files on a corrupt USB Flash drive just did not get restored using PhotoRec for linux. The problem is, I can't select the USB ...
0
votes
1answer
101 views

“Ownerless” (no permission) SSD-friendly filesystem

A bit of context and needs: Most time I'm using Ubuntu machines. I have a laptop which I do not carry around a lot, so I'm in usermode (no admin permissions) lots of time. I have a large and fast ...
2
votes
1answer
9k views

How to restore the default chown permissions on a directory / file? [duplicate]

I am using Ubuntu 13.04 x86_64. I wanted to own whole stuff in my home directory. So I executed these two commands. sudo chown -RcH rootkea ~ sudo chown -RcL rootkea ~ Now due to those symbolic ...
0
votes
1answer
565 views

Unable to transfer files from laptop to USB due to permission error

I am unable to transfer file from my system with Ubuntu 11.10 OS to a USB drivee (Hp 16GB). When I copy files from system and try to paste in USB the paste option gets disable. But the reverse is ...
0
votes
1answer
464 views

NTFS-3G permissions and inherit fstab flag

I'm trying to user a NTFS filesystem with full ACS's set just like windows. Everything is working fine except the permissions set to created files. Here is my environment: fstab: ...
0
votes
1answer
414 views

MyISAM problem after moving datadir of a MySQL database

I recently moved my MySQL database data directory from the default location /var/lib/mysql onto a new harddrive located in /media/..UID../mysql, following the steps you can find in several posts. ...
12
votes
4answers
1k views
1
vote
3answers
4k views

How do I access the file system as a root or owner?

I need to add online store configuration files in file system var/www. but I can't access the file system, because it says that only owner can access it, the owner is root. So, how can I access those ...
-1
votes
1answer
67 views

Why can't I use a partition?

I converted one of my NTFS partitions to ext4 format with the GParted tool. Now, I can not copy, or create, any files on that partition.
1
vote
1answer
12k views

Mount USB drive with write permissions for everyone or specific user

I know there are similar questions but I get some specific problem I can't overcome. I have: HDD split into two partitions. /dev/sdb1 and /dev/sdb2. sdb1 is NTFS and I don't need it. I need sdb2 ...
2
votes
0answers
105 views

Does enabling ACLs have an effect on performance?

I'm looking at a web application that needs ACLs enabled. Are there any benchmarks or other documents to show what potential impact ACL does{n't} have when the file system is under heavy load? Also, ...
0
votes
1answer
730 views

java exception: No such file or directory

I am trying to run a GATE application via jetty web application server in Ubuntu. I am getting java.io.IOException: error=2, No such file or directory because of a particular GATE plugin ...
1
vote
1answer
523 views

Why can't I delete a file even though I have write permissions?

The shell session should say everything: I can't delete a file (movie.avi) although I have write permissions. I don't get what the problem is. Have I missed something? confus@homeserver:/home/narur$ ...
3
votes
2answers
161 views

Best way to put sensitive files on web server and keep them fro being accessible?

I need to put a private key on my web server for use with a php script, so I need the web server to be able to access the file in php script, but not allow users from the outside to be able to access ...
7
votes
5answers
12k views

What kind of FileSystem do you recommend for USB Flash Drive?

This is a problem I'm having when using Ubuntu: I have two computers that have Ubuntu installed on them (comp1 and comp2). I create a document with Ubuntu on comp1 and then copy the file onto a FAT ...
4
votes
1answer
2k views

USB devices and Flash disks mount as root instead of the user

After reinstalling Ubuntu 12.04 I am facing a strange problem. Anytime I plug in a flash key, Kindle etc., I can see it, but can't write. Owner of the device on say /media/usb0 is root. When I try to ...
1
vote
2answers
5k views

Cannot change permission for /var/www/ [duplicate]

Possible Duplicate: problems with sudo permissions - /var/lib/sudo owned by uid I recently installed Ubuntu Server and put the GUI on so I can get the hang of Linux. However, I can't seem ...
0
votes
3answers
702 views

Cannot create files except in home partition

On my system I have made 3 partitions except home partition but Ubuntu doesn't let me create or delete any files on those partitions. Even copy and paste options are not available. Using my poor ...
3
votes
2answers
245 views

How can I edit the config files of BlueJ without root permissions?

In school I use ubuntu in my programmers class and we use BlueJ. This IDE is set to german language but I want to have an english IDE because I´m also programming in english. But to achieve this I ...
2
votes
0answers
303 views

Why don't I have permission to read files on the CD I bought?

I recently bought this book, which came with an accompanying CD. When I try to view the contents of the CD in Ubuntu, I don't have read permission for any of the files. ls -al in the root of the CD ...
3
votes
1answer
174 views

Is file permission secured when it transferred from Ubuntu to Windows?

I am having 9GB text file which is encrypted . This file contains some confidential data . Which is on my system(Ubuntu) and my external HDD (ntfs) . This file get daily updated and then encrypted . ...
0
votes
1answer
526 views

How can I disable access to the File system for a specific user or group?

It is very important for what I am doing now.
0
votes
1answer
167 views

Enforce file permissions

I have a directory where many users have write access and often the permissions on the directory changes. Is there a tool that lets me monitor the files for changes and enforce a specific file ...
2
votes
3answers
1k views

How to transfer file permissions from one folder to another?

I did cp -r on a folder (copy), then removed the original. I have a backup with most of the files. How do I restore the permissions of the files & folders on the copy using the backup? It ...
4
votes
1answer
6k views

What is the default permission for /var/www?

After upgrading to 12.04, I had to reinstall the LAMP stack. Then I brought all my www project folders from a pen drive to the /var/www folder (using sudo nautilus, and dragging the files in there). ...
7
votes
2answers
16k views

I cannot save php.ini in ubuntu 12.04

I want to change the upload_max_filesize = 2M to 50M, then I started edit on php.ini, but when try to save it, it displays error message below Could not create a backup file while saving ...
10
votes
8answers
1k views

How can I make a write-only view of a folder?

I want to have a place on the filesystem that presents a write-only "view" of another folder that I have read-write access to. I'm picturing something that's similar in behavior to an FTP drop box, ...
2
votes
1answer
3k views

Changing file permission for NTFS format [duplicate]

Possible Duplicate: How to 'chmod' on an NTFS ( or FAT32 ) partition? I am trying to change the file/directory permission. But it is not changing either through using command line ...
2
votes
1answer
1k views

Un-removable /etc/resolv.conf

During an upgrade to 12.04 today I've got an error when running post-install hook for resolvconf package: Setting up resolvconf (1.63ubuntu11) ... resolvconf.postinst: Error: Cannot replace the ...