Debian :: Cp: Cannot Create Regular File `/mnt/SwSetup/ComboFix.exe': Permission Denied
Aug 27, 2010
I'm using my AntiX M8 Live CD to repair a hosed Windows installation, I downloaded ComboFix to ~/home/Desktop and now I'm trying to copy (cp) the file to /mnt/ where I have already mounted the NTFS Windows partition. NTFS3G is integrated into AntiX, right? So why am I having permissions errors?
Code:
mepis1:/home/demo# cp -v Desktop/ComboFix.exe /mnt/SwSetup/
`Desktop/ComboFix.exe' -> `/mnt/SwSetup/ComboFix.exe'
cp: cannot create regular file `/mnt/SwSetup/ComboFix.exe': Permission denied
mepis1:/home/demo# So far, I can read it without any errors in Terminal and navigate through the whole filesystem in ROX-Filer, Do I need to edit /etc/fstab to be able to write to an ntfs drive?
View 6 Replies
ADVERTISEMENT
Dec 16, 2010
i installed Slackware 13.1 64 bits in a asus laptop and until now everything is running ok. But when i tried to mount a usb pendrive, i just can mount it as root;well, i thought there would be no problem, i will change permissions with chmod and everyone could access, read and write on it the command :
mount -t ntfs /dev/sdb1 /mnt/kingston
and making ls -l the result is :
drwx------ 1 root root 12288 Dec 8 17:20 kingston
so next i wrote (as root):
chmod 777 -R kingston
and the message was "Operation not supported" i tried also changing the ownership permission :
chown molei:users /kingston
drwxrwxrwx 1 molei users 12288 Dec 8 17:20 kingston
so, apparently i would have total access to the kingston directory; the problem is when i try to copy something to the kingston dir, an error msg. appears :
cp: cannot create regular file `/mnt/kingston/linux_guide.pdf': Permission denied
View 2 Replies
View Related
Apr 22, 2011
I am in the www-data group...
Code:
mike@webserver:/var/www$ groups mike
mike : www-data adm dialout cdrom plugdev lpadmin sambashare admin
when I run ls...
Code:
mike@webserver:/var/www$ ls -la
total 8
drwxrwxr-x 2 www-data www-data 4096 2011-04-22 09:30 .
drwxr-xr-x 14 root root 4096 2011-04-20 18:22 ..
-rw-r--r-- 1 root root 0 2011-04-22 09:24 index.html
I assumed that means that the users in the www-data group can read, write and execute within this folder?
But when I try to create a new file/dir I get permission denied message.
I'm having fun messing around with my new LAMP server, but this problem is annoying me now .
(Oh and the index.html file was created by root, it's a blank file and can be deleted)
View 1 Replies
View Related
Apr 9, 2010
I ftp into the server and see the files, but when i try to make a directory or upload a file it returns an error saying that permission is denied.I am wanting the users to be able to log on with their user account and then be able to have full control over their directories. What can i do to fix this problem?I have enabled port forwarding for ftp. What else is there i can do? If you need any extra information, let me know! I would like to get this fixed asap!Here is my vsftpd.conf file.
# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
[code]....
View 4 Replies
View Related
Jan 18, 2010
I set security context for a folder as 702 to enable other users to create and delete folder contents.But whenever other users try to create a folder,its says "Permission denied".
View 11 Replies
View Related
Oct 25, 2010
I am working on SUSE 9 Server in which I am trying to make folder transferdata under /opt folder but it is throwing an error mkdir: cannot create directory `transferdata': Permission denied
View 2 Replies
View Related
Jan 4, 2010
i can't get cyrus mailbox created. what i get is only error:
cm user.test.test
createmailbox: Permission denied
if i try user without "lastname":
cm user.test
createmailbox: System I/O error
here's maillog message:
Jan 4 13:08:09 pigeon imap[21695]: login: host.domain.com [127.0.0.1] cyrus plaintext User logged in
Jan 4 13:09:12 pigeon imap[21695]: IOERROR: creating directory /mail/imap: Permission denied
[code].....
View 2 Replies
View Related
Jan 7, 2011
An uncaught exception was raised: [Errno 13] Permission denied: '/media/e6f6ac46-4bfc-487b-9c81-aab706ead9e3/boot'
The above is the error message I get when I try to create an usb-flash boot drive. I downloaded the iso for Mint10 and use the "create startup disk" program to create the boot drive. I can see both the iso and the flash drive within the program, but when I click on "create disk" I get the above error message?
View 7 Replies
View Related
Sep 1, 2011
I have a droid phone, and I have ubuntu 9 running on it. This is done by chrooting since the phone runs a linux kernel. And it works... I have a question though. tightvncserver does work, and its able to listen on 127.0.0.1.. Its how you view your X session. So you chroot to Ubuntu, then start vncserver. Then switch back to android and login to ubuntu via vnc client. but apache, mysql, and postgresql do not work. Well. They dont seem too.. except for mysql. Mysql will start but only if you tell it not to use networking by saying skip-networking in my.cnf
Mysql says: mysqld cant create ip socket permission denied Apache2 says it can find 127.0.0.1 but doesnt actually run same with postgresql... All seem to be compiled with arm architecture. So why does tightvncwork? Why is it so special? How can it listen on the loop back (127.0.0.1) when nothing else can...
I have /proc and /dev bind to the chroot side. I can run ifconfig okay, and I can run /etc/init.d/networking start okay.. But apache2, mysql, etc have problems binding. I have removed apparmor even though technically its not running, but I removed it and its configuration files, just because I thought perhaps mysql looks at apparmor, but I doubted it.
View 1 Replies
View Related
Jan 7, 2010
I have proftpd @ Ubuntu 9.04 server. It authenticates users via Auth file, e.g. those are "FTP only" users, not real linux users. Each of them has assigned home dir in the same auth file. They also get Chrooted into it, e.g. default dir is ~ in proftpd.conf They can connect and download files successfully, however, they cannot upload anything or create directory: 550 permission denied error.
When I login via ssh and change user to proftpd user, I can create directories in that particular place, so I guess it's not Linux permissions problem? Or is it? /var/log/daemon.log is the place where proftpd stores its logs, but I cannot find anything relevant there
View 5 Replies
View Related
May 21, 2009
I have a cgi script that tries to get the IP address of a domain. the Domain is defined in Bind, yet it can not resolve it. I put the domain in the host file and it then gives a Error: unable to create socket - Permission denied
I figure I have to do some code changes to the script but here I would like an explaination as to the error I am getting.
View 1 Replies
View Related
Apr 5, 2011
Code: # traceroute -I 69.12.32.2 Note: the -i and -I options were exchangedfor compability with LBL traceroute Use -I for ICMP, and -i <ifname> to specify the interface name unable to create ICMP send socket: Permission denied Note that the command was done as root. This worked in 11.3.
And yes, it works without the "-I". But it should work with the "-I". One shouldn't have to boot into Windows, just to run "tracert" there.
View 9 Replies
View Related
Jun 16, 2009
All my torrents go to my home/username/Download/ folder, I could read/write yesterday but now I cant even copy the files to a flash drive.The error i get is "Cannot create regular file '/home/username/Download/file' : Read only file system.
View 14 Replies
View Related
Feb 8, 2011
Sudo echo fuse >> /etc/modules
Any idea why that'd yield a "bash: /etc/modules: Permission denied" error? Here's what "stat /etc/modules" says code...
View 1 Replies
View Related
Oct 13, 2009
using a terminal
logged into userMan remotely
[code]
scp /file.txt xxx.xxx.xx:/home/userMan/
[code]
Is the syntax above correct?
I'm trying to copy /file.txt from local machine, to server with userMan
error: /file.txt doesn't exist
View 8 Replies
View Related
Jan 6, 2011
I am trying to put a file from one linux machine to my other linux machine. There is absolutely no problem in downloading the file i.e. performing the "get" operation but when I try to upload or "put file" from my host1 to host2 it throws error "Error 0 Permission denied". I am able to put files from host2 to host1 without any problem but not from host1 to host. Infact if I try to tftp even localhost on host2 it throws the same error. Here is my
/etc/xinetd.d/tftp file for host2
service tftp {
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -c -s /tftpboot
#disable = yes
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
And permissions on /tftpboot are 777
[root@LinuxServer /]# ls -ld /tftpboot/
drwxrwxrwx 2 root root 4096 Jan 6 05:21 /tftpboot/
[root@LinuxServer /]# ls -l /tftpboot/
total 16
-rwxrwxrwx 1 root root 11 Jan 6 06:16 new_test
-rwxrwxrwx 1 root root 12 Jan 5 06:02 test2
And the command which I am using is :
[root@LinuxServer /]# tftp localhost -c put new_test
Error code 0: Permission denied
And ya here is /etc/sysconfig/selinux file is as under :
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=permissive
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
View 3 Replies
View Related
Dec 4, 2010
Im trying to move some files from my desktop to /usr/share/ProjectM Project M is a visualization program, and Im trying to move some presets I downloaded there. The error I get is
Code:
There was an error moving the file into /usr/share/projectM/presets.
Error moving file: Permission denied
I am logged in as administrator, why can't I move these files?
View 7 Replies
View Related
Jun 3, 2011
I tried to run this: ls * -lag > test1.txt
And it gives me a 'Permission denied' for text1.txt (a new file to be created.)
Now I have admin privileges (in fact I'm the only one set up on it) and I can't figure out why I'm getting this 'Permission denied'. Do I have to create the file first and chmod so I can read/write/delete the file?
View 4 Replies
View Related
Jan 2, 2011
I am attempting to make a backup copy of a file, but every time I try to copy the file, I get a "permission denied error -- even when running as root. The file is on a volume mounted as /media/Data . No problems reading/writing other files on the volume.
Here is the info on the file:
-rw-------. 1 root MailServer.img
I've tried chown but get the permission denied as well. This is a virtual machine image that runs fine, but even with the VM completely shut down, I get the same error.
View 10 Replies
View Related
Jul 17, 2010
If I try the sudo mv command on the file listed below I get the error listed. I am confused. It is my file & I have permissions. Somehow a slew of files on my system are now showing this way. This seems to correspond when I ran rsync from my netbook to sync it up with my desktop where I am having a problem.
Potential Source ->
sudo rsync -av --delete --rsh=ssh joe@192.168.1.4:/media/Abyss/Memories/ /home/joe/Pictures/
Type of issue ->
mv: cannot remove `100_2259.jpg': Permission denied
joe@Tux-Box:/media/Abyss/Memories/2009/3-09$ stat 100_2259.jpg
File: `100_2259.jpg'
Size: 243012 Blocks: 480 IO Block: 4096 regular file
Device: 811h/2065dInode: 1312030 Links: 1
Access: (0777/-rwxrwxrwx) Uid: (1000/joe) Gid: (1000/joe)
Access: 2010-07-17 11:41:26.708020712 -0400
Modify: 2009-12-13 21:49:59.501938000 -0500
Change: 2009-12-24 05:54:02.854309200 -0500
View 7 Replies
View Related
Mar 9, 2011
I've just recently started learning shell scripting and I've been working on a basic csh script, but I've been having a few problems. Here's the script
Code:
#!/bin/csh
echo Enter a file name
$< = FILE ##Name of file
echo enter a size (in kilobytes) to monitor
SIZETOMON = $< ##Size value that's input by user
du -k $FILE = $SIZE ##Size of the file that the user wishes to monitor
while (1)
if $SIZE > $SIZETOMON then
echo ALERT: File size is greater than $SIZETOMON
end
And here's the output
Code:
/home/lucer/foo.txt: Permission denied.
Badly placed ()'s.
I'm not really sure what the issue is with the "badly placed ()'s" or why it won't let me access files that I can access with the same shell when it's not in a script.
View 14 Replies
View Related
Mar 2, 2011
I am in the process of setting up a new server (Debian - Lenny - now updated to Squeeze) and every things were going fine. But unfortunately from today , whenever a user login to ftp, it says
550 permission denied and not able upload / edit or remove any files ( i am able to see all files and folders)
Yesterday it was working fine..
I tried using bot Pure Ftp and Proftp and the issue is common
What I am trying to do is
add a unix user exalmple through adduser command with default directory for the user as /var/www/example.com (shell enabled)
owner of example.com is example
and using the above user name and password to ftp files to the folder
View 1 Replies
View Related
Dec 11, 2015
I have setup my debian 8 web server.
For some reason I am having some issues with permissions of some images. They don't render because they are not set to 644. Now for some reason when I uploaded these files onto my shared hosting with cPanel the files work fine and permissions are fine. I can see there is a permission issue for the files locally on my Mac (OS X - El Capitan).
When I changes these locally on Mac the permissions go all weird and are prefixed with Custom, rather than mac-user-name: Read & Write, staff: Read, everyone: no access. then changes to custom: read & write etc. So then i tried changing permissions on web server see below and I get permission denied and after all the files are gone, i can't delete the images folder through SFTP or SSH. I changed back the image to 755 and tried deleting and still nothing. Not sure what the problem is. Before I chmod I checked that the images are set to the correct user and group as per the rest of the site.
So I try:
Code: Select alluser_name@debian:/var/www/html/_files$ chmod -R 644 images
and I get this return:
Code: Select allchmod: cannot access ‘images/box-icon.svg’: Permission denied
chmod: cannot access ‘images/ie-icon.svg’: Permission denied
chmod: cannot access ‘images/google-plus-icon.svg’: Permission denied
chmod: cannot access ‘images/mobile-ready-icon.svg’: Permission denied
chmod: cannot access ‘images/404.jpg’: Permission denied
[Code] ....
View 3 Replies
View Related
Feb 19, 2010
I made a new channels.conf file, but when I try to move it to /usr/local/etc it says permission denied, I need the config to watch digi-tv on ubuntu movie player.
View 3 Replies
View Related
Mar 21, 2011
I am attempting to setup an Ubuntu server as a secondary DNS server. It seems whenever it tries to dump the master file the system log shows Permission denied.let me know if more information is needed.NOTE: where it says example.com I have simply removed my actual Domain name.
Mar 21 21:49:24 ulinux named[14418]: zone example.com/IN: Transfer started.
Mar 21 21:49:24 ulinux named[14418]: transfer of 'example.com/IN' from 192.168.0.15#53: connecte$
[code]....
View 1 Replies
View Related
Jun 1, 2011
I have got centos 5.3 running on my system. I have installed vsftpd and created a separate folder to upload files (upload folder created in/var/ftp/pub). From my client end I can download ftp files but when I try to upload files from my client I get a error message 550: permission denied. The upload folder has full permission ie 777. Checked the ftp config file everything looks ok.
ftp config file
12 anonymous_enable=YES
15 local_enable=YES
27 anon_upload_enable=YES
View 3 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 21, 2010
I am wondering why running this file:
Code:
-rwxrwxrwx 1 root root 1247 2010-04-21 18:25 autorun.sh
by issueing this command:
Code:
./autorun.sh
results in this message:
Code:
-bash: ./autorun.sh: Permission denied
I'm logged in as root and prior to the above I did a chown root:root on the file.
View 3 Replies
View Related
Jul 11, 2011
I am trying to create:
/etc/X11/Xsession.d/95xinput document
where
/etc/X11/Xsession.d is a folder.
So I enter the above commands:
cd /etc/X11/Xsession.d
nano 95xinput
I type my text and when I try to save it it says that permission is denied.
View 7 Replies
View Related
Oct 21, 2010
Trying to use tcpdump -r TEST, and get permission denied, even though I am logged in as root or super user. Tried using the "chmod a+rw TEST" (any other file for that matters, yes it came from another source) and get permission denied.
View 4 Replies
View Related